Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Linux Programming



   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




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org