Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
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. I can see that I've got to store commands as they are entered, but then how do I get them back on the screen so they may be edited then re-entered by the user? Just printf-ing them with no newline looks similar, but then you can't backspace into the line. I've started looking through the source for bash, but it's not very illuminating. If you have some light to shed, but would rather shed your light off-line, please send responses to : jerryc at world.std.com Thanks ! *** 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 | |
We also thank MIT for the use of their facilities. |