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

Re: rk problems



 > From: Josh Purinton <http://www.joshpurinton.com/~josh>
 > Date: Fri, 24 Jan 2003 15:58:33 -0500
 >
 > On Fri, Jan 24, 2003 at 01:48:39PM -0500, Robert wrote:
 > > It sounds like it's not getting into cbreak mode.
 > > What version of Red Hat are you trying?
 > 
 > Red Hat Linux release 7.2 (Enigma)

OK, that's kernel version 2.4.

I just tried "rk" on my machine running 2.4.19 and it worked fine.  But,
I'm not running RedHat (I run Debian).

 > > Does it bring up a shell?  If so, does it ever show predictions?
 > 
 > Yes, it brings up a shell, and no, it never shows predictions. At
 > least, I can type for a long time and never see anything aside
 > from the characters that I typed.

That means it's not showing predictions.

 > > Also, are you able to run Emacs on these machines?  If so, are you able to
 > > bring up an interactive shell within Emacs?  (This would test whether
 > > pseudo-ttys are working.)
 > 
 > The Linux machine doesn't have emacs, but meta-x shell brings up
 > a working shell under Emacs on the Solaris machine.

OK, then the pseudo-ttys are probably working.  "rk" doesn't issue a
warning before it starts up, right?  Something like

Unable to open a pty

?

 > > Finally, do you know the C programming language?  Solving this problem may
 > > involve tweeking include header files.
 > 
 > Yes, I know C.

Excellent.

In system.h, you'll see:

#if defined(FLG_HPUX_UNIX) || defined(FLG_SOLARIS_UNIX) || defined(FLG_LINUX_UNIX)

Try getting rid of the "|| defined(FLG_LINUX_UNIX)" part and recompile.
This will (presumably) try using the BSD tty interface.  If you get
compilation errors, then it's probably not right.

You might add "|| defined(FLG_LINUX_UNIX)" to the end of this line

#if defined(FLG_AIX_UNIX) || defined(FLG_SGI_UNIX)

in system.h and try compiling.  Again, compilation errors will probably
indicate that this change won't work.

I'll send you another e-mail after this one with my "rk" binary.  Try that
out.

 > Thanks for your help so far.
 > 
 > Josh
 > 
 > -- 
 > 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






Why do you want this page removed?