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 )
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 )
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.