Re: [9fans] Acme button 1 working like button 3

2013-03-20 Thread Rudolf Sykora
Hello On 19 March 2013 19:59, Patrick Higgins wrote: > Yes, that was it. My alt key had gotten stuck. so what must I do to circumvent the problem? I reckon I should issue some hg command to put some files (from 65969f85ee6c revision?), presumably just src/cmd/devdraw/x11-srv.c, into the working

[9fans] new mail in acme Mail, only the last highlighted

2013-03-18 Thread rudolf . sykora
Hello 9fans, I've been using Mail program for acme to read my Google mail via imaps. When a new e-mail arrives, Mail highlighs the row (it is selected). However, at least for me, only the last e-mail is highlighted, even when more than one e-mail have come. Is it only my problem? Has anyone change

Re: [9fans] p9p ssh-agent for password auth?

2013-03-08 Thread Rudolf Sykora
Hello, On 8 March 2013 16:00, Rudolf Sykora wrote: > Hello everyone, > > can plan9port ssh-agent be used to mediate connection to a ssh server > and use a password, or one can only use it in connection with RSA and > DSA keys? I now see that 9 ssh-agent is really only to deal w

[9fans] p9p ssh-agent for password auth?

2013-03-08 Thread Rudolf Sykora
Hello everyone, can plan9port ssh-agent be used to mediate connection to a ssh server and use a password, or one can only use it in connection with RSA and DSA keys? I tried to add a line like this key proto=pass role=client server=kfes-69.karlov.mff.cuni.cz service=ssh user=sykora !password=blab

[9fans] acid on linux; easiest-to-set-up virtual machine

2013-01-25 Thread rudolf . sykora
Hello everyone, I'd like to play with acid. However, I run p9p (on linux), and thus acid is not really fully functional. What is currently the easiest way to set up an environment in which I could play with acid? Is it running proper plan9 on a virtual machine? (If yes, which is then the simplest

[9fans] using acid

2013-01-18 Thread Rudolf Sykora
Hello, is there any document, besides the two papers by P. Winterbottom (Acid Manual, Acid: A Debugger Built From a Language) showing a practical use of acid? I wonder if I could use it for watching acme during its running. [I wanted to change acme so that it could understand environment variabl

Re: [9fans] ctags or sth else with acme?

2013-01-18 Thread Rudolf Sykora
On 17 January 2013 22:01, Anthony Sorace wrote: > I ported Exuberant Ctags and added an output format suitable for acme. I'm > not at a real computer just now, but I announced it on the list. I believe > it's in my contrib directory, /n/sources/contrib/anothy. would it be difficult to use this

[9fans] ctags or sth else with acme?

2013-01-17 Thread Rudolf Sykora
Hello, I'd like to know what you use for orientation in a code when running acme. Is the 'g' command sufficient for you, or you use some form of ctags? Thank you! Ruda

Re: [9fans] How to do this with [acme | sam | sed ] ?

2013-01-11 Thread Rudolf Sykora
On 11 January 2013 15:24, erik quanstrom wrote: >> # remove outermost pair of braces: abcd(x+(y-z))efgh --> abcdx+(y-z)efgh >> [ no idea :-( ] > > this is made simple since * is "greedy": > > Edit s:\((.*)\):\1:g > Sure, this (the greediness) basically already stands behind the solutio

Re: [9fans] How to do this with [acme | sam | sed ] ?

2013-01-11 Thread Rudolf Sykora
On 11 January 2013 12:19, Peter A. Cejchan wrote: > # remove outermost pair of braces: abcd(x+(y-z))efgh --> abcdx+(y-z)efgh This, I believe, can't be achieved only with regexps. I'd write a small external program and use it as a filter. > # prefix to postfix operator: ++i --> i++ > [

Re: [9fans] p9p: .suspect added to mail attachments

2013-01-09 Thread Rudolf Sykora
On 9 January 2013 14:13, Bence Fábián wrote: > that it is called from C code. try $PLAN9/mail/lib > > -bence ah. You're right. Now I have found it and removed from the pipeline. Thanks! Ruda

Re: [9fans] p9p: .suspect added to mail attachments

2013-01-09 Thread Rudolf Sykora
Hello, On 8 January 2013 16:27, erik quanstrom wrote: > vf is no longer useful. on plan 9 /mail/lib/qmail calls it. > i bet there's similar in p9p and it could be replaced with > cat. > > - erik > I tried to locate the place where 'vf' is called (on p9p) with the commands: cd $PLAN9/src 9 du -

[9fans] p9p: .suspect added to mail attachments

2013-01-08 Thread Rudolf Sykora
Hello, is there a simple way to prevent the mailing chain of p9p from 'checking' sent attachments? I am getting the following info appended to my mails and attachments renamed by appending '.suspect': "The following attachment had content that we can't prove to be harmless..." I'd rather avoid

Re: [9fans] awk, connect a string to a variable or a function

2012-12-20 Thread Rudolf Sykora
On 20 December 2012 09:41, dexen deVries wrote: > how about using two-level array? Really, I finally flattened the arrays into one. Not exactly as you wrote, but it did the trick. Thanks! Ruda

[9fans] awk, connect a string to a variable or a function

2012-12-19 Thread Rudolf Sykora
Hello, awk doesn't have arrays with array members, which is what I now need. However, if I could make some connection between a string, e.g. "foo" and an array 'foo', this would be enough. I reckon gawk can do sth. like that. But is there any possible workaround in the traditional awk? Can anybod

Re: [9fans] how to use secstore in p9p

2012-12-09 Thread rudolf . sykora
> Please apply the following patch. It should fix your problem. > > http://codereview.appspot.com/6906057 > > cd $PLAN9 > hget http://codereview.appspot.com/download/issue6906057_2002.diff | patch -p1 > cd src/cmd/auth/factotum/ > mk nuke && mk install && mk clean > > This is a remnant of a bug

Re: [9fans] how to use secstore in p9p

2012-12-09 Thread Rudolf Sykora
On 9 December 2012 18:14, David du Colombier <0in...@gmail.com> wrote: >> 1/ Why is there the delay? > > I think the delay you observe is caused by aesCBCencrypt or > aesCBCdecrypt trying to find some entropy from /dev/random. > > Try to move the mouse or do something else when secstored > is encry

Re: [9fans] acme Mail and several folders; caching

2012-12-09 Thread Rudolf Sykora
Also, it now seems to me, that having two folders open and sending a *single* message from acme results in the message being sent twice... Sorry for the inconvenience, but it wasn't done on purpose. Ruda

[9fans] acme Mail and several folders; caching

2012-12-09 Thread rudolf . sykora
Hello, I'd like to run acme Mail with several folders (is that a proper name?) open. All the mail I read comes from my gmail account via imap. I want to have eg. my 'INBOX' and 'plan9' folders visible. When I run '9 Mail' and '9 Mail plan9' from an acme tag line, though a list of messages in both

[9fans] acme Mail and several folders; caching

2012-12-09 Thread rudolf . sykora
Hello, I'd like to run acme Mail with several folders (is that a proper name?) open. All the mail I read comes from my gmail account via imap. I want to have eg. my 'INBOX' and 'plan9' folders visible. When I run '9 Mail' and '9 Mail plan9' from an acme tag line, though a list of messages in both

Re: [9fans] how to use secstore in p9p

2012-12-09 Thread rudolf . sykora
> Please apply the following patch. It should fix your problem. > > http://codereview.appspot.com/6906057 > > cd $PLAN9 > hget http://codereview.appspot.com/download/issue6906057_2002.diff | patch -p1 > cd src/cmd/auth/factotum/ > mk nuke && mk install && mk clean > > This is a remnant of a bug

Re: [9fans] how to use secstore in p9p

2012-12-09 Thread rudolf . sykora
> Please apply the following patch. It should fix your problem. > > http://codereview.appspot.com/6906057 > > cd $PLAN9 > hget http://codereview.appspot.com/download/issue6906057_2002.diff | patch -p1 > cd src/cmd/auth/factotum/ > mk nuke && mk install && mk clean > > This is a remnant of a bug

Re: [9fans] how to use secstore in p9p

2012-12-08 Thread Rudolf Sykora
On 7 December 2012 16:42, Rudolf Sykora wrote: > ;secstore -s 'tcp!redstar!secstore' -g factotum > secstore password: redstar Dec 7 15:55:55 no ndb/auth > redstar Dec 7 15:55:55 secstore from ?!? Well, I moved on a bit. Now I have a factotum file in secstore. However I

[9fans] how to use secstore in p9p

2012-12-07 Thread Rudolf Sykora
Hello, please, what do I have to do in order to use secstore on linux with plan9port? (I do not like having to type the keys into factotum manually...) I guess I must somehow run sectored, somehow add myself to be a user of sectore, set up password, create a factotum file within secstore. I tied

[9fans] p9p 9term -a parameter

2012-11-06 Thread Rudolf Sykora
Hello, my p9p 9term man page mentiones a -a switch which should make the middle button work as in acme. However, the 9term source (also on the web) does not implement the switch. Does anybody know what has happened? Thanks Ruda

Re: [9fans] plan9port rio and keyboard shortcuts

2012-11-05 Thread Rudolf Sykora
On 10 July 2012 18:31, John Floren wrote: > On Tue, Jul 10, 2012 at 2:26 AM, Rudolf Sykora > wrote: >> Hello, >> >> In p9p's rio there is a possibility to cycle over windows with left_alt-tab. >> Has anyone thought about / managed to add some more short

Re: [9fans] troff and times roman, need for accented characters

2012-09-03 Thread Rudolf Sykora
On 3 September 2012 10:33, Pavel Klinkovsky wrote: >> Has somebody ever fought with this? (probably not...) > I have already "imported" some font to Plan9 troff containing Czech > characters. > It is pretty boring work... ;) > > But I think I can help you. > > Pavel > That's nice to hear. Also,

Re: [9fans] rc vs sh

2012-09-03 Thread Rudolf Sykora
On 2 September 2012 19:25, erik quanstrom wrote: > works here: > ; for(i in 1 2 3){echo $i;break} This change seems to have not got into the main plan9 source. Should be there. Together with continue, since 'continue' may simplify readability. > >> - sane user interface (rlwrap rc won't give you

Re: [9fans] rdbfs(4) woes

2012-09-02 Thread Rudolf Sykora
On 2 September 2012 20:49, Steven Stallion wrote: > Bump, though admittedly this is not as much fan as complaining about > rc's shortcomings. Unfortunately, I believe there are just no men to help you. At least I can't. And the knowledge in the community seems to be slowly disappearing. Here, som

[9fans] troff and times roman, need for accented characters

2012-08-31 Thread Rudolf Sykora
Hello, I again bumped into this awkward topic. Being Czech I need to write with quite a few accented characters. Being a physicist I write some math, too, and I use unicode characters often. Plan9 as well as p9p troff is not set up for using accented characters I need (above 0xff but below 0x1ff

Re: [9fans] rc vs sh

2012-08-28 Thread Rudolf Sykora
On 28 August 2012 15:07, Lucio De Re wrote: > Russ uses bash because it is uniformly crappy across all architectures > he has an interest in. There's a similar conversation going on in the > go-nuts user group on google. It is illuminating. I have been unable to locate the conversation... Anywa

Re: [9fans] rc vs sh

2012-08-28 Thread Rudolf Sykora
On 28 August 2012 11:52, dexen deVries wrote: > FWIW, i'm using bash as the interactive shell too, in `konsole' terminal > emulator, because of bash' interactive line edition and command history. 9term > doesn't fit me. The thing is that he, according to the reference, switches off the line editi

[9fans] rc vs sh

2012-08-28 Thread Rudolf Sykora
Hello, I am just curious... Here http://9fans.net/archive/2007/11/120 Russ Cox writes he uses bash as his default shell. Does anybody know the reason? Is this for practicality within the linux environment? Or has he found rc too limiting? Ruda

Re: [9fans] sam command language question

2012-08-20 Thread Rudolf Sykora
On 20 August 2012 14:25, Steve Simon wrote: > I am confused, and appologise to all for the noise. > > ,x/label="[^"]+"/ { > x/ [a-z]/ | tr a-z A-Z > } > > does exactly what I wanted, I don't understand why in my toy tests it > didn't appear to work, probably a typo.

Re: [9fans] sam command language question

2012-08-20 Thread Rudolf Sykora
On 20 August 2012 13:12, Steve Simon wrote: > ,x/label="[^"]+"/ { > x/ [a-z]/ | tr a-z A-Z > } Perhaps, also, I haven't correctly understood what you are after. If what I wrote doesn't solve the problem, an example of what is needed would help. Ruda

Re: [9fans] sam command language question

2012-08-20 Thread Rudolf Sykora
On 20 August 2012 13:12, Steve Simon wrote: > This is what I tried: > > ,x/label="[^"]+"/ { > x/ [a-z]/ | tr a-z A-Z > } > > sadly the inner 'x' searches onward in the file and not in > the selection (dot) generated by the outer 'x'. I do not see the reported behav

Re: [9fans] sam command language question

2012-08-20 Thread Rudolf Sykora
On 20 August 2012 13:12, Steve Simon wrote: > Tis the season for exotic sam command language questions, > though mine is not that exotic. > > I want to edit some xml (yes I know) and capitalise all the labels > in it. I only want to do this once so I don't care that it will > envoke tr thousands o

Re: [9fans] sam, shorten dot by 1 line

2012-08-10 Thread Rudolf Sykora
On 6 August 2012 17:05, Rob Pike wrote: > Empty dot at the beginning of a line is also empty dot at the end of > the previous line. This is odd, but one can live with that once they know. Nonetheless, It should be written somewhere (man page?). > > I'm not justifying the behavior, just explainin

Re: [9fans] Acme: how to search only in selection

2012-08-09 Thread Rudolf Sykora
On 9 August 2012 15:11, dexen deVries wrote: > Hi list, > > > how do I perform right-click search only in highlighted range? > > > Use case: while editing C-like code (PHP), I highlight whole function by > clicking on opening brace and would like to search only the selection for all > occurrences

Re: [9fans] sam, shorten dot by 1 line

2012-08-06 Thread Rudolf Sykora
On 6 August 2012 02:52, Rob Pike wrote: > .+0 goes from the end of the current value of dot to the end of the > line containing dot. > .-0 goes from the beginning of the line containing dot to the > beginning of the current value of dot. Yes, this is what I thought. (But is different from what yo

Re: [9fans] sam, shorten dot by 1 line

2012-08-05 Thread Rudolf Sykora
Hello 9fans, could at least somebody comment on the situation I observe? I.e., what exactly .+0 means, and why the empty dot at a very beginning of a line (as seen in the editor) seems to actually not be on the line? Thanks Ruda

[9fans] refer ignoring dates > 1999 (Y2K issue)

2012-08-02 Thread Rudolf Sykora
Hello, as I bumped some time ago into the problem that refer only considers as dates (i.e. years) numbers starting with 19, but not 20, I want to ask whether someone has corrected this issue yet. [if you have two items %A fantomas %D 2001 %A fantomas %D 2002 refer in its today's shape will pro

Re: [9fans] Mouse acceleration under Plan 9

2012-08-02 Thread Rudolf Sykora
On 2 August 2012 10:57, Brian Vito wrote: > If you'll excuse another question from a non-programmer, does Plan 9 > use a mouse pointer acceleration algorithm (if so, where would it be > documented?) or is it 1:1? Thanks so much. > Having read the section 12.3 of `Introduction to Operating systems

Re: [9fans] sam, shorten dot by 1 line

2012-08-02 Thread Rudolf Sykora
On 2 August 2012 00:21, Rob Pike wrote: > .,.+0 means: from the beginning of . to the end of .+0, and .+0 is the > null string at the end of . It just does not work for me like that. (.+#0 seems to do what you describe.) 1) Having a line asdfasdf asdfasdf asdfasdf | asdfasdfa asfdsfasdfa where

Re: [9fans] sam, shorten dot by 1 line

2012-08-01 Thread Rudolf Sykora
On 1 August 2012 18:37, Rudolf Sykora wrote: > .,.+0- It seems a related question is: why +- behaves differently when I am somewhere in the middle of a line (the whole line is then a dot) and when I am at the very beginning of a line (then the *previous* line is selected)... Thanks! Ruda

Re: [9fans] sam, shorten dot by 1 line

2012-08-01 Thread Rudolf Sykora
On 1 August 2012 21:09, Rob Pike wrote: > -#0,+#0-2 This really does not answer the question, neither helps to understand. Thanks anyway. Ruda

[9fans] sam, shorten dot by 1 line

2012-08-01 Thread Rudolf Sykora
Hello, having a multiline dot in sam, I wanted to shorten it by one line at its end. I tried .,.+0- which did not work. I had to write .,.+1-2 or, hopefully equivalently .,.+-2 While I understand how the latter two ways work, I do not understand why the first does not. Can anybody tell me? Thanks

[9fans] plan9port rio and keyboard shortcuts

2012-07-10 Thread Rudolf Sykora
Hello, In p9p's rio there is a possibility to cycle over windows with left_alt-tab. Has anyone thought about / managed to add some more shortcuts, e.g. such that would run a program like dmenu? (Do you start all your programs from a terminal?) Thanks Ruda

[9fans] troff pm and dlink postprocessors

2012-06-24 Thread Rudolf Sykora
Hello, by chance, has anyone any experience with the 'pm' (by Kernighan & Wyk) or 'dlink' (by Groves & Brailsford) troff postprocessors? Does anybody know how to get hold of the latter (should be in some ways better than pm)? Thanks Ruda PS.: pm --- Computing Systems, Vol. 2, No. 2, 1989 dlink

Re: [9fans] code highlighting

2012-06-06 Thread Rudolf Sykora
perhaps this discussion about acme might be of interest... (this points at Russ' contribution in the otherwise longer thread) http://9fans.net/archive/2008/08/134 On 6 June 2012 12:55, faif wrote: > How can I add support for C code highlighting to Sam or Acme?

[9fans] troff ms keeps: a way to force all pending images to be printed

2012-06-03 Thread Rudolf Sykora
Hello everyone, please, does anybody know of a way how to force troff using the ms macros to print all so far unplaced floating images (or blocks of anything), i.e. images entered like this: .KF .BP picture.eps .KE ? The thing is that my document is organized in chapters and I do not want images

Re: [9fans] insert 'control a' into a text in acme

2012-06-01 Thread Rudolf Sykora
> i'd use "unicode 0x1".  then cut&paste. > > - erik Thank you both, Erik and Skip! Ruda

[9fans] insert 'control a' into a text in acme

2012-06-01 Thread Rudolf Sykora
Hello, please, how does one insert a ^A character when writing a text in (p9p) acme? In vi(m) one uses ^V^A... Thank you! Ruda

Re: [9fans] /tmp dissappearance

2012-05-20 Thread Rudolf Sykora
On 20 May 2012 18:56, Burton Samograd wrote: > I have no idea how, but my /tmp disappeared, making editing files with > sam impossible.  I tried to bind -c $home/tmp /tmp but i get the complaint > that the mounted directory doesn't allow creation.  Any advice? > > -- > Burton Samograd > Somewhat

Re: [9fans] ligatures in troff

2012-02-20 Thread Rudolf Sykora
Hello, On 9 February 2012 13:07, Rudolf Sykora wrote: > Hello, > > when I try to use any ligature in troff (on p9p, but if I remember > correctly also on p9) , such as \(fi, I don't get it. Instead I see: > > tr2post: :6735 :WARNING: cannot find glyph, rune=0x66 > s

[9fans] ligatures in troff

2012-02-09 Thread Rudolf Sykora
Hello, when I try to use any ligature in troff (on p9p, but if I remember correctly also on p9) , such as \(fi, I don't get it. Instead I see: tr2post: :6735 :WARNING: cannot find glyph, rune=0x66 stoken= troff font R Is there any (preferrably simple) way to use the ligatures (they are, I believ

Re: [9fans] refer for plan9port

2012-02-06 Thread Rudolf Sykora
Please, do you know what refer wants to say by Too many hits: eschrig The Fundamentals of Density Functional Theory ??? at refFile ?? I tried to change in the Heirloom code, refer/refer2.c #define NFLD 30 to #define NFLD 100 which improved my situation (in the code sent by Charles Forsyth, ther

[9fans] refer for plan9port

2012-02-06 Thread Rudolf Sykora
Hello, does anybody know about a 'refer' version for plan9port? (I know there is a version for plan9 in the contrib, but I generally run p9p...) (Also: I can't directly use the GNU refer, since it stumbles over unicode characters in my texts.) Until now I have been using the Heirloom version. Bu

Re: [9fans] usb flash drive with ext2

2012-01-12 Thread Rudolf Sykora
On 12 January 2012 11:26, Richard Miller <9f...@hamnavoe.com> wrote: >>> Try 'dd -if /dev/sdU0.0/data -of /dev/null' to see if usb driver >>> is having trouble reading the device. >> >> 0+1 records in >> 0+1 records out >> >> The last bit is strange, isn't it? > > Try 'cat /dev/sdU0.0/ctl' to see i

Re: [9fans] usb flash drive with ext2

2012-01-12 Thread Rudolf Sykora
On 12 January 2012 11:07, Richard Miller <9f...@hamnavoe.com> wrote: >> 3) 'ext2srv -f /dev/sdU0.0/data && mount /srv/ext2 /n/linux' goes smoothly. >> However. >> ; cd /n/linux >> ; lc >> ls: .: I/O error >> >> Any more help? > > Try invoking ext2srv with '-v' to get more diagnostics. ext2srv 220:

Re: [9fans] usb flash drive with ext2

2012-01-12 Thread Rudolf Sykora
On 11 January 2012 11:06, Richard Miller <9f...@hamnavoe.com> wrote: > Try 'mount -a /srv/usb /dev' and see if /dev/sdUx.y appears. > If yes, try 'ext2srv -f /dev/sdUx.y/data && mount /srv/ext2 /n/linux' > If no, try 'cat /dev/usb/ep4.0/ctl' and see if you get something like: 1) Even though I plug

Re: [9fans] usb flash drive with ext2

2012-01-11 Thread Rudolf Sykora
On 11 January 2012 11:06, Richard Miller <9f...@hamnavoe.com> wrote: > It appears you have no partition table and an ext2 fs occupying > the whole device.  This should be OK. Yes, I think the ext2 is really occupying the whole device. This is in accord with what linux has said. > Try 'mount -a /s

[9fans] usb flash drive with ext2

2012-01-11 Thread Rudolf Sykora
Hello, I have a usb flash drive. [ When plugged into my linux, /var/log/messages gives: Jan 11 10:28:14 redstar kernel: [ 388.588091] usb 1-3: new high speed USB device using ehci_hcd and address 3 Jan 11 10:28:14 redstar kernel: [ 388.743813] usb 1-3: New USB device found, idVendor=058f, idPr

Re: [9fans] awk reading?

2011-12-19 Thread Rudolf Sykora
On 19 December 2011 11:27, dexen deVries wrote: > just yesterday i've got a glimpse of awk's power and neatness. it's good, it's > useful and i want to dig deeper. what's recommended online reading on awk? I believe one of the best pieces is the book by Aho, Kernighan and Weinberger. Reads well,

Re: [9fans] troff book

2011-12-12 Thread Rudolf Sykora
Hello, On 12 December 2011 11:28, John Stalker wrote: > As a thesis advisor myself, though not of this thesis, I would say that > the advice below might or might not be correct, depending on field of > study.  I have some affection for troff, but TeX and its progeny really > do produce much nicer

Re: [9fans] 9vx instability

2011-11-24 Thread Rudolf Sykora
>> On Mon, Nov 21, 2011 at 2:44 PM, Anton wrote: >> Btw, why there are 9atom and 9front? >> I mean, why they aren't joined together? What the difference between them? On 22 November 2011 00:02, Skip Tavakkolian wrote: > because 9fans not only agree to disagree, they also disagree to agree :) Th

[9fans] p9 troff tmac.s .RS/.RE broken

2011-11-19 Thread Rudolf Sykora
Hello, this is to note that plan9's troff ms macro set seems to be broken in how the .RS and .RE macros are implemented. You may try -- .LP a .RS .IP b .RE .LP c -- ... c is misplaced However one can appeal to p9p's implementation, where this has been corrected. R

Re: [9fans] p9p troff/ps problem, comparison with heirloom

2011-11-19 Thread Rudolf Sykora
On 11 November 2011 20:06, Rudolf Sykora wrote: > On 11 November 2011 19:38, Rudolf Sykora wrote: > >> Further, when I take the directory /sys/lib/postscript/font from plan9 >> and copy it to (replace with it) the contents of p9p's >> $PLAN9/postscript/font I get

Re: [9fans] replica question

2011-11-18 Thread Rudolf Sykora
> read about compactdb, which is in replica(8). Compactdb works on the .db (simplifies it) but does nothing to the .log. Applylog only reads the .log. I don't see any way how compactdb would help here. Thanks Ruda

[9fans] replica question

2011-11-18 Thread Rudolf Sykora
Hello, Yesterday I read replica(8), played with it a bit, and I have the following question: Say I have a directory A which I—from time to time—want to replicate to directory B. With replica/updatedb I maintain two files, A.db and A.log, describing the situation in the A directory. If A.log has

Re: [9fans] ralink rt2561 wireless; analogue to lspci

2011-11-16 Thread Rudolf Sykora
Dear Erik, On 14 November 2011 16:07, erik quanstrom wrote: >> I have a ralink rt2561 wireless pcmcia card. What is the way to check >> if this card is recognized and can be used from plan9? >> Is there anything like linux' lspci command? > > the command you're looking for is "pci". > > - erik

[9fans] ralink rt2561 wireless; analogue to lspci

2011-11-14 Thread Rudolf Sykora
Hello, I have a ralink rt2561 wireless pcmcia card. What is the way to check if this card is recognized and can be used from plan9? Is there anything like linux' lspci command? Thank you! Ruda

Re: [9fans] p9p troff/ps problem, comparison with heirloom

2011-11-12 Thread Rudolf Sykora
On 11 November 2011 21:02, Gorka Guardiola wrote: > When this happens to me, normally it is because I did not download the fonts > into the document. I have believed this is taken care of by the psfonts command on p9p. As this is actually perhaps an interesting question on its own: Is there any

Re: [9fans] p9p troff/ps problem, comparison with heirloom

2011-11-11 Thread Rudolf Sykora
On 11 November 2011 19:38, Rudolf Sykora wrote: > Further, when I take the directory /sys/lib/postscript/font from plan9 > and copy it to (replace with it) the contents of p9p's > $PLAN9/postscript/font I get a result quite similar to the previously > shown output of the he

[9fans] p9p troff/ps problem, comparison with heirloom

2011-11-11 Thread Rudolf Sykora
> The problems I have described exist in plan9port and heirloom > software. I haven't yet tried to what extent it also applies to plan9 > proper. And it seems you are suggesting some changes to the latter > software. As I have tried, I really don't see any of the mentioned problems when using my p

Re: [9fans] p9p troff/ps problem, comparison with heirloom

2011-11-11 Thread Rudolf Sykora
Dear Erik, thank you for looking at the problem. Nonetheless, I am bit puzzled. The problems I have described exist in plan9port and heirloom software. I haven't yet tried to what extent it also applies to plan9 proper. And it seems you are suggesting some changes to the latter software. Also, a

[9fans] access p9 sources from linux

2011-11-11 Thread Rudolf Sykora
Hello, 1/ when on plan9 one can do 9fs sources to get access to p9 sources Can one do sth similar on linux (say with p9p installed)? 2/ Related: there is a web access to the sources http://plan9.bell-labs.com/sources/plan9 Is there a simple way to get a local copy of some of sources' subtree? I

[9fans] p9p troff/ps problem, comparison with heirloom

2011-11-11 Thread Rudolf Sykora
Hello, In my new linux installation + p9p I found myself having problems with using p9p troff. To ilustrate, consider the input for troff .\".do xflag 3 .\".lc_ctype en_US.utf8 em-dash:— .br brackets, big delta, sqrt: .EQ left ( { αΔ - sqrt 2 } over 5χ right ) .EN which is then used with 9 eqn a

Re: [9fans] how to burn iso

2011-10-24 Thread Rudolf Sykora
On 24 October 2011 14:15, erik quanstrom wrote: > On Mon Oct 24 04:05:31 EDT 2011, tyap...@gmail.com wrote: > >> #!/bin/rc >> # burn a CD from ISO-9660 image on $home/cd.iso >> # version 0.03 >> # Thu Jul  3 06:35:32 EDT 2003 >> >> rfork e >> t1 =`{date} >> kill cdfs | rc >> kill 9660srv | rc >>

[9fans] how to connect an usb drive

2011-10-24 Thread Rudolf Sykora
Hello, please, I have an external harddrive which I use in linux and there, in dmesg, I see this usb 1-6: new high speed USB device using ehci_hcd and address 3 usb 1-6: New USB device found, idVendor=04fc, idProduct=0c15 usb 1-6: New USB device strings: Mfr=2, Product=3, SerialNumber=1 usb 1-6:

[9fans] how to burn iso

2011-10-24 Thread Rudolf Sykora
Hello, how can I, in plan9, burn a CD ISO image to a blank CD? [I know there is cdfs, but this seems to only burn files, and I, if I am right, don't want to have it there as a file.] Thank you! Ruda

Re: [9fans] mail client; general question web vs command

2011-09-21 Thread Rudolf Sykora
Hello, > I obtained the same behavior on Fedora 15. It doesn't happen > on earlier releases of Fedora, even when using the same > dynamically linked smtp binary. > > Probably you updated something like glibc before rebuilding. > > Program received signal SIGSEGV, Segmentation fault. > 0x0035db

Re: [9fans] mail client; general question web vs command

2011-09-19 Thread Rudolf Sykora
On 14 September 2011 14:39, Richard Miller <9f...@hamnavoe.com> wrote: >> smtp: bad network /net/tcp!bluestar!12345 (tcp!bluestar!12345) > > This should have been corrected by the hg update.  But update only > changes the source code - you still have to rebuild the command with >  cd $PLAN9/src/cmd

Re: [9fans] mail client; general question web vs command

2011-09-09 Thread Rudolf Sykora
Hello, On 31 August 2011 16:22, Richard Miller <9f...@hamnavoe.com> wrote: > To use the plan9port version of upas/smtp with authenticated connections, > you need a couple of fixes which I've just submitted. 'hg pull -u' will > get them. > > The plan9port upas/smtp also does not support tls, which

Re: [9fans] mail client; general question web vs command

2011-08-28 Thread Rudolf Sykora
Hello, On 28 August 2011 17:15, erik quanstrom wrote: >> now when I try (74.125.39.108 should be smtp.gmail.com): >> cat q | upas/smtp -a -d -h a.com 74.125.39.108 rudolf.syk...@gmail.com >> rsyk...@cern.ch > > i'm confused.  are you using plan 9 or p9p? p9p now > i would think that a.com is wr

Re: [9fans] mail client; general question web vs command

2011-08-28 Thread Rudolf Sykora
Hello, On 11 August 2011 19:55, David du Colombier <0in...@gmail.com> wrote: >> But what about sending mail? I've only ever configured Plan 9 to act >> as its own smtp server, have never done anything with p9p or a remove >> server. > > It's pretty much the same as on Plan 9. > > See $PLAN9/mail/l

[9fans] another acme/Mail question

2011-08-27 Thread Rudolf Sykora
Hello, when I was playing with reading gmail with acme/Mail I sent a simple e-mail to my gmail acount (from some webish outlook program, if that's important), but then I saw this in the body of email as shown in acme 9p read mail/mbox/1375/body > //a can anybody tell me what it is? (Only when I

[9fans] searching in email using imap

2011-08-27 Thread Rudolf Sykora
Hello, when using gmail via web, one i) immediately sees what folders/labels they have, ii) can search the mail (i.e. also its contents). I'd like to know how one can/could obtain this information when using imap. I believe (I read it somewhere) that imap has some means to ask the server to searc

Re: [9fans] mail client; general question web vs command

2011-08-27 Thread Rudolf Sykora
Hello, On 11 August 2011 12:54, Mathieu Lonjaret > in acme, button-2 exec on Mail -s When I try to have several inboxes (?; what gmail calls labels), i.e. I run 9 Mail 9 Mail plan9 9 Mail CERN for some reason it seems that only my INBOX (i.e. the acme window related to the 1st line) is being upda

Re: [9fans] mail client; general question web vs command

2011-08-27 Thread Rudolf Sykora
Hello all! On 4 August 2011 17:49, Mathieu Lonjaret wrote: > Btw, for those who don't know yet, I have a version here with > threading for p9p acme Mail: I tried it now, using my gmail account and imap access. At first the threading seemed to work. However, when I sent a new mail to myself from

[9fans] edit a huge file

2011-08-24 Thread Rudolf Sykora
Hello everybody, I needed to edit/look through a cca 7 GB log (text) file. Now I use p9p. Acme failed with a segmentation fault, was killed. Sam did not seg-faulted, but didn't work either. I finally used ed/sed. So does acme/sam need to load the whole file into memory? Thanks Ruda

Re: [9fans] mail client; general question web vs command

2011-08-14 Thread Rudolf Sykora
On 14 August 2011 01:26, Fazlul Shahriar wrote: >> % mailfs -t imap.gmail.com >> /sbin/stunnel exec failed at /usr/sbin/stunnel3 line 39. >> mailfs: imapconnect: no greeting > > I think your stunnel3 is broken. stunnel3 is actually a perl script > that runs stunnel 4. In your case, it thinks stunn

Re: [9fans] mail client; general question web vs command

2011-08-13 Thread Rudolf Sykora
> cd src/cmd/upas/nfs > mk install > factotum > factotum -g 'key=somekey proto=pass service=imap > server=some.imap.server.com user=your_username !password?' > (it will ask for the pass you want to store for that key) > mailfs -t some.imap.server.com > in acme, button-2 exec on Mail -s > > Cheers,

Re: [9fans] mail client; general question web vs command

2011-08-11 Thread Rudolf Sykora
> Can anybody point me to some recipe which would get me from a point > when I have p9p installed to a point when I can read mail from my > gmail account via imap(s) in p9p acme? Well, that's a pity nobody can help :( Is there any reason for that man pages of p9p http://swtch.com/plan9port/ma

Re: [9fans] mail client; general question web vs command

2011-08-06 Thread Rudolf Sykora
Hello, On 4 August 2011 17:49, Mathieu Lonjaret wrote: > Btw, for those who don't know yet, I have a version here with > threading for p9p acme Mail: > https://bitbucket.org/mpl/acmemail-with-sort-by-thread/overview > nothing fancy but it suits my needs well enough. > > On Sun, Jul 31, 2011 at 10

[9fans] mail client; general question web vs command

2011-07-31 Thread Rudolf Sykora
Hello everybody! I've been using a gmail account with the usual access via a web browser for quite a while. Sometimes I get little angry when using it, for various reasons, often due to the firefox's slowness to render the page (scrolling a longer thread is often pain for me). I'd like to ask you.

Re: [9fans] grep (or perhaps regex(6)) question

2011-07-05 Thread Rudolf Sykora
> there should be no match to the re $junk. > it's impossible for there to be text after then > end of line. 1) from the regexp grammer, $junk is a valid regexp 2) grep checks input line-by-line 3) the answer to a question whether a *line* complies with '$whatever' is --- I believe --- undefined.

Re: [9fans] grep (or perhaps regex(6)) question

2011-07-05 Thread Rudolf Sykora
>> that is, p9p grep matches any line with regular expression in form of >> $ANY_REGEX >> >> why is it so? > > this is a bug.  see the grammar in regexp(6). > plan 9 grep does not have this problem. > > - erik I am sorry, but I don't understand. What do you mean is wrong, Erik? Thanks Ruda

Re: [9fans] grep (or perhaps regex(6)) question

2011-07-05 Thread Rudolf Sykora
> that is, p9p grep matches any line with regular expression in form of > $ANY_REGEX > > why is it so? Why (the very mechanism) is one question. Whether it should or should not be so is another. Is this subtlety important? (I.e. can't it be implementation dependent as the correct behaviour seems u

[9fans] debugging rc

2011-07-05 Thread Rudolf Sykora
Hello all, yesterday I wanted to try out rc-httpd on p9p&linux. There, in an rc script was sth along the following lines: file = aaanamebb a = name if(~ $file *$a*) echo y and the script returned rc: null list in concatenation I wrote to the author that I believe he should have written *$a^* i

<    1   2   3   4   5   6   >