Hi all,

I've got some code which I want to be able to run from a console without 
using ncurses.

Does anyone know if it's possible to have the up/down arrow keys return 
previous line entries (like it does in the shell) using fgets() or the 
like ?

At the moment, I can do all the normal line editing stuff with backspace 
/ del etc but an up arrow gives me ^[[A.  (presumably scan code for 
up-arrow).

Regards,

Andrew E


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to