tags:

views:

220

answers:

1

hi to all

i am developing a shell using unix system programming (robbins and robbins) how can i add this feature and also how can i add history feature too (history feature like in BASH- when i press up key it shows the previous typed command )

+5  A: 

You can use GNU readline. It has both these features.

EDIT: Like Christopher says, you should look at the documentation and come back if you have specific questions.

Matthew Flaschen
im a newbie can you explain if u have any tutorial plz give me the link
vipinsahu
http://tiswww.case.edu/php/chet/readline/rltop.html
Christopher
Writing a shell is a strange task for a newbie.
Nifle