[9fans] Practical issue on using rc shell

2009-11-13 Thread Maurí­cio CA
Hi, I'm new to plan9 from user space. I've started using rc shell for scripts and, for daily use, I would like to solve a problem. I see that rc isn't built with readline or similar. So, do you use some alternative? Or do you think I can live without it? Thanks, Maurício

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread erik quanstrom
what i find i can't live without is a record of the commands i've typed. sometimes a one-liner from last week is useful. i use the commands - and -- (source: /n/sources/contrib/quanstro/src/history.c) along with the following patch to rc to make it go. - erik ; 9diff fns.h

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread Tim Newsham
Hi, I'm new to plan9 from user space. I've started using rc shell for scripts and, for daily use, I would like to solve a problem. I see that rc isn't built with readline or similar. So, do you use some alternative? Or do you think I can live without it? For scripting it shouldn't be an

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread David Leimbach
On Fri, Nov 13, 2009 at 10:54 AM, Tim Newsham news...@lava.net wrote: Hi, I'm new to plan9 from user space. I've started using rc shell for scripts and, for daily use, I would like to solve a problem. I see that rc isn't built with readline or similar. So, do you use some alternative? Or

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread Venkatesh Srinivas
The other (Byron Rakitzis) unix port of rc can be linked against either readline or editline. -- vs

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread pmarin
Fortu On Fri, Nov 13, 2009 at 8:02 PM, David Leimbach leim...@gmail.com wrote: On Fri, Nov 13, 2009 at 10:54 AM, Tim Newsham news...@lava.net wrote: Hi, I'm new to plan9 from user space. I've started using rc shell for scripts and, for daily use, I would like to solve a problem. I see

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread Roman Shaposhnik
On Fri, Nov 13, 2009 at 12:46 PM, pmarin pacog...@gmail.com wrote: fortunately, the unix world is less radical, you can use rlfe http://per.bothner.com/software/ There's also versatile socat: http://www.dest-unreach.org/socat/doc/socat.html#EXAMPLE_ADDRESS_READLINE Thanks, Roman.

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread Nick LaForge
On Fri, Nov 13, 2009 at 12:46 PM, pmarin pacog...@gmail.com wrote: Fortu fortunately, the unix world is less radical, you can use rlfe http://per.bothner.com/software/ pmarin fortunately, plan9 includes a c compiler Nick

Re: [9fans] Practical issue on using rc shell

2009-11-13 Thread pmarin
fortunately, in unix you can run go :). On Fri, Nov 13, 2009 at 10:00 PM, Nick LaForge nicklafo...@gmail.com wrote: On Fri, Nov 13, 2009 at 12:46 PM, pmarin pacog...@gmail.com wrote: Fortu fortunately, the unix world is less radical, you can use rlfe http://per.bothner.com/software/