From: Sam S. <sd...@gn...> - 2003-08-03 13:32:54
|
> * In message <m36...@ha...> > * On the subject of "Clisp (cvs) cygwin and readline" > * Sent on Sat, 02 Aug 2003 19:59:30 +0200 > * Honorable si...@12... (Karl Pflästerer) writes: > > the current cvs version compiles fine under cygwin but I'm unable to > use readline. works for me. > | /* CL_READLINE */ > | /* Define if you have a recent readline (4+). */ > | #define HAVE_READLINE 1 so you do have a working readline. > | configure:23430: gcc -o conftest.exe -g -O2 conftest.c -lncurses >&5 > | /c/WINDOWS/TEMP/ccKd7JgM.o(.text+0x16): In function `main': > | /tmp/clisp/configure:23599: undefined reference to `_readline' > | collect2: ld returned 1 exit status look below - you will see success with -lreadline. > When I try to use eg. the tabkey only a tab char gets inserted and with > the arrow keys I only can read the following: > > [1]> > *** - READ from #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> #<IO TERMINAL-STREAM>>: illegal character #\Escape > 1. Break [2]> this usually means that CLISP thinks that it is not on a console. see make_terminal_stream_() in src/tream.d. (./configure --with-debug --build build-g) you will probably discover that same_tty is false. why? are you running on a cygwin xterm/rxvt? -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> The only thing worse than X Windows: (X Windows) - X |