Linux Programming

Dale R Worley worley at world.std.com
Tue Oct 6 22:49:55 EDT 1998


   From: Jerry A Clabaugh <JerryC at world.std.com>

   I've only started learning Linux/UNIX programming in the last year, 
   having worked in the past on VAX, Pr1mos, Win16 and Win32, and I'm
   coming along, but there's one thing I can't find info on anywhere:
   How do you implement command-line recall, like bash does when
   you hit up-arrow.

You probably have to capture all keystrokes and implement everything
yourself.  But you can also use the FSF library that bash uses to do
it; I believe it's called "readline".  Check the bash sources...

Dale

Dale Worley						worley at world.std.com
--
Have you heard about "neutron buildings"?  The investors are destroyed, but
the buildings remain standing.
-- Timothy C. May
***
Subcription/unsubscription/info requests: send e-mail with subject of
"subscribe", "unsubscribe", or "info" to discuss-request at blu.org



More information about the Discuss mailing list