[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UPDATE: Solved the problem ! Was Re: rk problems



 > From: Josh Purinton <http://www.joshpurinton.com/~josh>
 > Date: Fri, 24 Jan 2003 21:30:33 -0500
 >
 > The problem was my shell (zsh). I switched to /bin/sh and ran
 > ./rk and it's predicting my input left and right!!

Oh, yes, I should have thought of that!  I use tcsh and I need to
"unset edit" for predictions to show up.  Sorry!

I remember with ksh, I used to say something like "set -o novi" or
something like that to turn off editing.  Perhaps it's something like that
with zsh.

 > From: Josh Purinton <http://www.joshpurinton.com/~josh>
 > Date: Fri, 24 Jan 2003 21:29:53 -0500
 >
 > On Fri, Jan 24, 2003 at 06:05:43PM -0500, Robert wrote:
 > > Please change the "#include <sys/termio.h>" to "#include <sys/termios.h>"
 > > (in both places, just to be safe) in system.h.  And then try the above
 > > changes.
 > 
 > After s/termio/termios/g in system.h, it compiles (with some
 > harmless "unknown escape sequence", and "assignment makes integer from
 > pointer without a cast" warnings.)
 > I then type: ./rk, and I see this:
 > 
 > Welcome to the Reactive Keyboard, written at the University of Calgary.
 > Version: 1.6.2, Mar 5, 2000.  Ftp/http version.  This is freeware.
 > Please wait until your shell prompt appears ("^[?" for help).
 > 
 > joshp@blin:~/junk/rk-1.6.2$
 > 
 > No caret or anything. I then enter ffffffffffffffffffffffff, twice,
 > but don't see predictions.
 > 
 > > BTW, I just tried recompiling rk under my later machine (the one running
 > > Linux 2.4.19) and it worked.  According to dpkg, the version of libncurses
 > > is 5.2.20020112a-7 (whatever that means!).  And, strangely, libtermcap* is
 > > linked to libncurses.
 > 
 > My machine has /usr/lib/libncurses.so.5.2, which is probably comparable.
 > However, libtermcap is linked to libtermcap.so.2.0.8, not to libncurses.
 > After removing -ltermcap from CFLAGS in the linux section of the Makefile,
 > rk still compiles fine, but no doesn't make predictions.
 > 
 > > I noticed that the Makefile has:
 > > 
 > > # following options for Solaris
 > > #LIBS=-lcurses
 > > #LINTFLAGS=
 > > #CDEBUGFLAGS=-Xs -g
 > > #CDEBUGFLAGS=-Xs -O
 > > 
 > > Did you try uncommenting the above lines out?
 > 
 > Doing that solved the warnings. It now compiles as cleanly on Solaris
 > as on Linux.
 > 
 > -- 
 > Josh Purinton (http://www.joshpurinton.com/~josh)
 > I have discovered why humanity is not a whole lot better off
 > than it is, after all this time: what we truly most need to do
 > is often what we most feel like avoiding. - David Allen

If this helped you, please take the time to rate the value of this help:

 http://svcs.affero.net/rm.php?r=robertb&p=FreeSoftware






Why do you want this page removed?