Re: readline()

2008-12-05 Thread Alexander Burger
On Fri, Dec 05, 2008 at 07:24:47AM +0100, Alexander Burger wrote: > What remains is the nasty feature that readline() does not obey the > line's starting column. It should start at column 2 (because PicoLisp > issues its own prompt ": "). OK, found it! Here is the current implementation: ###

Re: readline()

2008-12-04 Thread Alexander Burger
On Sat, Nov 29, 2008 at 09:07:57AM +0100, Alexander Burger wrote: > the history seems not available, and perhaps other things, too. At least the history is easy: Just add a line add_history(p); # 05dec08abu # (c) Software Lab. A

Re: readline()

2008-12-01 Thread Alexander Burger
Hi Boh Yap, > On Mac OSX, it had problems locating the readline libs. Finally solved that > by providing the correct path to PATH. (my readline was in > '/usr/local/lib/readline/'). Another possibility might be to include it into the evironment variable LD_LIBRARY_PATH. Strange that it is not fou

Re: readline()

2008-11-29 Thread Boh Yap
hi Alex, thanks for your prompt reply and help. Tried the solution below, but it gave me errors: Had a few problems with readline.l, on OS X. Posting here in case someone else needs help. On Mac OSX, it had problems locating the readline libs. Finally solved that by providing the correct path to