[9fans] passwd(1) over ssh fails: race in telnetd

2011-01-26 Thread yaroslav
passwd(1), while started on telnetd-simulated /dev/cons (via ssh), gets killed for writing on closed pipe after Confirm: message. I think it is because of close()/open() race in /sys/src/cmd/ip/telnetd.c:/^conssim/+/open/+/consctl/. Readln opens and closes consctl, and when two readln

Re: [9fans] p9p 9term problem

2011-01-26 Thread Mantas Mikulėnas
On Wed, 26 Jan 2011 13:21:10 +0100, Rudolf Sykora wrote: in linux I often start programs from a terminal running bash like this ; (program ) which somehow achieves to run the program in the background and the program further survives the terminal's end. It's called double-fork, AFAIK. You

Re: [9fans] p9p 9term problem

2011-01-26 Thread Rudolf Sykora
bash/readline does not know what you click on -- it still thinks you are typing at the end of line. Mantas Mikulėnas (0xD24F6CB2C1B52632) Aha! Thanks for the explanation. I completely 'missed' that readline reads as I type... Now it makes some sense. R

[9fans] Thinkpad T60 Video

2011-01-26 Thread Lyndon Nerenberg
Did anyone ever have success getting video working on the T60? I have access to a pair of T60p machines that exhibit the same behaviour discussed on the list back in 2007 (screwed up colour maps, skewed video).

Re: [9fans] p9p 9term problem

2011-01-26 Thread Russ Cox
Enabling cooked mode (middle-click - 'cook', probably along with `stty -echo`) can help -- it makes 9term only send an entire line at once -- but it may create some other problems. A better way to do this is to leave 9term in nocook mode (meaning the menu says cook - just don't click on it).

[9fans] PUSH sources for Plan 9

2011-01-26 Thread Akshat Kumar
Are the sources for the PUSH shell available for Plan 9 proper? It seems as though it was originally conceived on Plan 9, then ported to UNIX-compat systems via P9P. I couldn't find the Plan 9 sources on the Google Code repo. It would be nice to just be able to compile and go. Thanks, ak

Re: [9fans] PUSH sources for Plan 9

2011-01-26 Thread Jacob Todd
http://code.google.com/p/push/

Re: [9fans] PUSH sources for Plan 9

2011-01-26 Thread Akshat Kumar
Yes, I've seen this. This is the port to Plan 9 Ports. I would like the code for Plan 9. I imagine reproducing will make things uglier than the original. On Wed, Jan 26, 2011 at 5:48 PM, Jacob Todd jaketodd...@gmail.com wrote: http://code.google.com/p/push/

Re: [9fans] PUSH sources for Plan 9

2011-01-26 Thread Eric Van Hensbergen
On Wed, Jan 26, 2011 at 8:52 PM, Akshat Kumar aku...@mail.nanosouffle.net wrote: Yes, I've seen this. This is the port to Plan 9 Ports. I would like the code for Plan 9. I imagine reproducing will make things uglier than the original. On Wed, Jan 26, 2011 at 5:48 PM, Jacob Todd

Re: [9fans] p9p 9term problem

2011-01-26 Thread smiley
Russ Cox r...@swtch.com writes: set +o emacs set +o vi to turn off those editing modes, bash will just read from the tty with echo turned on Is that to say that readline turns echo off when typing? If, for example, the emacs keybindings are set, there may be another way to insert