Re: [9fans] acme/Mail sorted by replies(threaded)

2014-02-11 Thread Alexander Sychev
Hi,

Try to set an environment variable upasname before upas/smtp executing (I
set it before acme), but it should be m...@some.com, not  'alias' 
m...@some.com.
upas/marshal takes a user from upasname too.


On Tue, Feb 11, 2014 at 12:43 PM, uvelichi...@gmail.com wrote:

 Hi, I just now write that in acme [full text editor with undo
 etc.]. I setup stunnel using your recipe, thanks for publishing it. Maybe
 you also know where to point acme/Mail or upas/smtp to insert in 'From:'
 header funny 'nice uvel'm...@some.com instead of $u...@domain.dom? In
 which rc files it can be done or it need be hardcoded? As for threading, I
 localize my changes to acme/Mail in only two functions and try do things in
 the way natural for original code, so you can easy mk install and try to
 see how it looks, don't forget -t flag for threading.
 Best regards.
  Hello,
 
  I just want to say it makes me feel better to see someone is trying
  to improve Mail. I've been using Mail for some time in parallel with
  the gmail web interface. (Basically, I prefer to write an email within
  acme [full text editor with undo etc.], but searching for a conversation
  is just simpler in the web interface. Also, it happens to me from time
  to time, that email is not actually sent from within acme (due to some
  lost connection, stunnel, ...), so I nearly always check the situation
  with the web interface).
 
  I hope I will try your work at some point.
  Note also there was a message about 'amail' quite recently.
  Finally, as far as I can tell, writing a threaded view can be be tricky:
 
 
 http://mandrillapp.com/track/click.php?u=30146375id=35be47b5b7dd4d84a0b4eaa38a5b17b9url=http%3A%2F%2Fwww.jwz.org%2Fdoc%2Fthreading.htmlurl_id=d540878ee7743a86723ed03cbffa32dd6b47ed7b
 
  Thanks
  Ruda
 
  On 10 February 2014 21:33, Uvelichitel uvelichi...@gmail.com wrote:
  Hi. I know at least one implementation exist before
 
 http://mandrillapp.com/track/click.php?u=30146375id=35be47b5b7dd4d84a0b4eaa38a5b17b9url=https%3A%2F%2Fbitbucket.org%2Fmpl%2Facmemail-with-sort-by-threadurl_id=7983b0540dd0bc52b3c6cda1acff61b742eb32a9.
 It based on
  Subject header comparison. So I write another one based on MessageID
  and Inreplayto headers.
 
 http://mandrillapp.com/track/click.php?u=30146375id=35be47b5b7dd4d84a0b4eaa38a5b17b9url=https%3A%2F%2Fbitbucket.org%2Fuvelichitel%2Fmailurl_id=203c219a5344874c12e2fc4a73a2c8513a39edd4
  You can mk install. Flag -t added for threading. Tested on p9p.
  Fill free to try. Feedback appreciated.
  Best regards.
 




-- 
Best regards,
  santucco


[9fans] Help with networking on Virtual Box

2014-02-11 Thread Peter Hull
Dear All,
I am just trying to set up Plan 9 so I can have a play with it. I'm
running it in VirtualBox 4.3.6 and I'm running into the DNS problem
that has been reported earlier [1]

ip/ipconfig seems to run fine but it assigns an address of 127.0.0.1
and DNS doesn't work.

Unfortunately (as far as I can see) the previous reports didn't come
up with a solution or the reporter found a different way to run Plan
9.

 I used the -D option on ip/ipconfig and got this:
term% ip/ipconfig -D
ipconfig: parsebootp: new packet
ipconfig: parseoptions: type(53) len 1, bytes left 58
ipconfig: parseoptions: serverid(54) len 4, bytes left 55
ipconfig: parseoptions: lease(51) len 4, bytes left 49
ipconfig: parseoptions: ipmask(1) len 4, bytes left 43
ipconfig: parseoptions: ipgw(3) len 4, bytes left 37
ipconfig: parseoptions: dns(6) len 4, bytes left 31
ipconfig: got offer from 0.0.0.0
ipconfig: lease=86400
ipconfig: server=192.168.1.1 sname=
ipconfig: parsebootp: new packet
ipconfig: parseoptions: type(53) len 1, bytes left 58
ipconfig: parseoptions: serverid(54) len 4, bytes left 55
ipconfig: parseoptions: lease(51) len 4, bytes left 49
ipconfig: parseoptions: ipmask(1) len 4, bytes left 43
ipconfig: parseoptions: ipgw(3) len 4, bytes left 37
ipconfig: parseoptions: dns(6) len 4, bytes left 31
ipconfig: got ack from 0.0.0.0
ipconfig: lease=86400
ipconfig: ipaddr=192.168.1.25 ipmask=255.255.255.0
ipconfig: ipgw=192.168.1.1
ipconfig: dns=192.168.1.1
ipconfig: server=192.168.1.1 sname=
term% cat /net/ndb
ip=127.0.0.1 ipmask=/104 ipgw=::
sys=gnot
sys=gnot
dns=192.168.1.1

Does anyone know how I might go about solving the problem?

Thanks,
Peter

[1]: http://9fans.net/archive/2013/08/31



Re: [9fans] acme autocompletion

2014-02-11 Thread uvelichitel
Hi,
It's mostly proof of concept and for personal needs. To say, it do its 
work. As noticed any suggestion how to organize UI in more meaningful way very 
appreciated and can be implemented.
Best regards.

 I don't think anyone objects to it as an external command.
 
 2014-02-10 21:46 GMT+01:00, Uvelichitel uvelichi...@gmail.com:
  Hi. I know acme authors mean autocompletion destructive (excluding
 ctl-F for filepath). Anyway an attempt.
  
 http://mandrillapp.com/track/click.php?u=30146375id=637c617246ba4c3fb9eb418beabdb76furl=https%3A%2F%2Fbitbucket.org%2Fuvelichitel%2Fcomplurl_id=1c283bd86851c7a519a5f2b172f46b33bb44a65b
 It implemented as external command 'compl' executing in tag. It written
 in Go lang and specifically for Go lang. It based on proven engine. It
 tested on p9p. Feel free to try. It was not two difficult to make
 things working, but I can not clear imagine how autocompletions should
 _looks_like_ in acme without hotkeys and floating windows. Suggestion
 appreciated and can be implemented.
  Best regards.





Re: [9fans] acme autocompletion

2014-02-11 Thread Friedrich Psiorz
Hi!

I haven't had time to try out your completion system yet, but one thing
I could imagine would be a single completion window for a whole acme
session. While you type in any other window, it gives you suggestions
for completions/insertions. You insert simply by right clicking in
the completion window. Or the system could even watch for a specific
control character to be typed and replace it by the current top
suggestion or the shortest common prefix of all suggestions. For the
people who don't like using the mouse but still like acme (I don't know
if they exist, but maybe).
A good fallback for non-Go files could be to simply list words in the
current window that match the current prefix. Or words that are likely
to follow the preceding word. Or something like that.

~Fritz

Am 11.02.2014 12:33, schrieb uvelichi...@gmail.com:
   Hi,
   It's mostly proof of concept and for personal needs. To say, it do its 
 work. As noticed any suggestion how to organize UI in more meaningful way 
 very appreciated and can be implemented.
   Best regards.
 
 I don't think anyone objects to it as an external command.

 2014-02-10 21:46 GMT+01:00, Uvelichitel uvelichi...@gmail.com:
 Hi. I know acme authors mean autocompletion destructive (excluding
 ctl-F for filepath). Anyway an attempt.
 
 http://mandrillapp.com/track/click.php?u=30146375id=637c617246ba4c3fb9eb418beabdb76furl=https%3A%2F%2Fbitbucket.org%2Fuvelichitel%2Fcomplurl_id=1c283bd86851c7a519a5f2b172f46b33bb44a65b
 It implemented as external command 'compl' executing in tag. It written
 in Go lang and specifically for Go lang. It based on proven engine. It
 tested on p9p. Feel free to try. It was not two difficult to make
 things working, but I can not clear imagine how autocompletions should
 _looks_like_ in acme without hotkeys and floating windows. Suggestion
 appreciated and can be implemented.
 Best regards.


 




Re: [9fans] acme/Mail sorted by replies(threaded)

2014-02-11 Thread erik quanstrom
 Try to set an environment variable upasname before upas/smtp executing (I
 set it before acme), but it should be m...@some.com, not  'alias' 
 m...@some.com.
 upas/marshal takes a user from upasname too.

i'm not sure how this works in p9p, but in plan 9,
/mail/box/$user/headers is prepended to the headers.
you can set From: or any other header field here.
special processing in marshal will weed out redundant
headers, favoring the pre-set ones.

- erik



Re: [9fans] acme/Mail sorted by replies(threaded)

2014-02-11 Thread erik quanstrom
 I just want to say it makes me feel better to see someone is trying
 to improve Mail. I've been using Mail for some time in parallel with
 the gmail web interface. (Basically, I prefer to write an email within
 acme [full text editor with undo etc.], but searching for a conversation
 is just simpler in the web interface. Also, it happens to me from time
 to time, that email is not actually sent from within acme (due to some
 lost connection, stunnel, ...), so I nearly always check the situation
 with the web interface).

not sure if this applies to p9p, but ned (mail with no arguments on plan 9)
is really good for finding stuff.
g/sender/h
is typically enough to find mail from a particular person.
and there are other options that search particular header fields, or the body.
i prefer the unix-style interface to search boxes.

unfortunately the results of a search are not themselves a mailbox.

- erik



Re: [9fans] acme/Mail sorted by replies(threaded)

2014-02-11 Thread uvelichitel
 I just want to say it makes me feel better to see someone is trying
 to improve Mail. I've been using Mail for some time in parallel with
 the gmail web interface. (Basically, I prefer to write an email within
 acme [full text editor with undo etc.], but searching for a conversation
 is just simpler in the web interface. Also, it happens to me from time
 to time, that email is not actually sent from within acme (due to some
 lost connection, stunnel, ...), so I nearly always check the situation
 with the web interface).
 
 not sure if this applies to p9p, but ned (mail with no arguments on plan 9)
 is really good for finding stuff.
   g/sender/h
 is typically enough to find mail from a particular person.
 and there are other options that search particular header fields, or the body.
 i prefer the unix-style interface to search boxes.
 
 unfortunately the results of a search are not themselves a mailbox.
 
 - erik

ned compiles on p9p, also p9p acme/Mail this days get Search command based on 
imap service and producing mbox.

- uvelichitel



Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread erik quanstrom
 ipconfig: ipaddr=192.168.1.25 ipmask=255.255.255.0
 ipconfig: ipgw=192.168.1.1
 ipconfig: dns=192.168.1.1
 ipconfig: server=192.168.1.1 sname=
 term% cat /net/ndb
 ip=127.0.0.1 ipmask=/104 ipgw=::
 sys=gnot
 sys=gnot
 dns=192.168.1.1
 
 Does anyone know how I might go about solving the problem?

what is the result of cat /net/iproute?  i would expect that routing
entries are there.  can you ping the hypervisor's ip address from
the vm?  if not, ratrace(1) can help hunt down what's goign on.

- erik



Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread Bakul Shah
On Tue, 11 Feb 2014 11:32:36 GMT Peter Hull peterhul...@gmail.com wrote:
 Dear All,
 I am just trying to set up Plan 9 so I can have a play with it. I'm
 running it in VirtualBox 4.3.6 and I'm running into the DNS problem
 that has been reported earlier [1]

What settings are you using in virtual box for networking?
What is the host?



Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread Peter Hull
Hi All,
Thanks for the responses. To answer your questions
Erik, here is /net/iproute. Unfortunately I moved to a different wifi
network so the addresses are different to my initial post

0.0.0.0 /96  192.168.0.1 4none   -
192.168.0.0 /120 192.168.0.0 4i   ifc1
192.168.0.0 /128 192.168.0.0 4b   ifc-
192.168.0.28/128 192.168.0.284u   ifc1
192.168.0.255   /128 192.168.0.255   4b   ifc-
127.0.0.0   /104 127.0.0.0   4i   ifc-
127.0.0.0   /128 127.0.0.0   4b   ifc-
127.0.0.1   /128 127.0.0.1   4u   ifc-
127.255.255.255 /128 127.255.255.255 4b   ifc-
255.255.255.255 /128 255.255.255.255 4b   ifc1

I could ping the host PC from Plan 9 and vice versa.

Patryk, unfortunately that didn't seem to change anything; I still got
the dns error.

Bakul, The host is Windows 8.1 64-bit, network settings are intel pro
mt server, using bridged mode (to my wifi adaptor.) I got these
options from an earlier posting.

thanks,
Pete



Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread Bakul Shah
On Tue, 11 Feb 2014 20:09:42 GMT Peter Hull peterhul...@gmail.com wrote:
 
 Bakul, The host is Windows 8.1 64-bit, network settings are intel pro
 mt server, using bridged mode (to my wifi adaptor.) I got these
 options from an earlier posting.

Are you running ndb/dns -r?

There is probably a better way to do this but I usually add
the following to my /rc/bin/termrc.local

nds/cs -f $NDBFILE
ip/ipconfig
ndb/dns -r
TIMESYNCARGS=(-n pool.ntp.org)



Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread erik quanstrom
 nds/cs -f $NDBFILE
 ip/ipconfig
 ndb/dns -r
 TIMESYNCARGS=(-n pool.ntp.org)

hmmm.  most of this is already in the default termrc, including the cs,
ipconfig (if you uncomment it) and dns.

- erik



Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread erik quanstrom
 Thanks for the responses. To answer your questions
 Erik, here is /net/iproute. Unfortunately I moved to a different wifi
 network so the addresses are different to my initial post
 
 0.0.0.0 /96  192.168.0.1 4none   -
 192.168.0.0 /120 192.168.0.0 4i   ifc1
 192.168.0.0 /128 192.168.0.0 4b   ifc-
 192.168.0.28/128 192.168.0.284u   ifc1
 192.168.0.255   /128 192.168.0.255   4b   ifc-
 127.0.0.0   /104 127.0.0.0   4i   ifc-
 127.0.0.0   /128 127.0.0.0   4b   ifc-
 127.0.0.1   /128 127.0.0.1   4u   ifc-
 127.255.255.255 /128 127.255.255.255 4b   ifc-
 255.255.255.255 /128 255.255.255.255 4b   ifc1
 
 I could ping the host PC from Plan 9 and vice versa.

i certainly would do some debugging to see if ndb/cs is really
running, and if dns is running, too.  iirc, the default termrc
has ipconfig commented out, so dns will not start.

this should probablly be fixed by giving ipconfig a sensible
timeout, and always running it.

- erik