Archived

This topic is now archived and is closed to further replies.

Need to add "set -o emacs" options to console

This topic is 6029 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m not sure what you mean by "set -o emacs" but if you''re after a command history in your linux shell, then you should be using the bash (Bourne Again SHell). It''s pretty much the standard shell these days.


War Worlds - A 3D Real-Time Strategy game in development.

Share this post


Link to post
Share on other sites
I''m working on a text based command console(like a simple shell) and want to add command history and editing capability to it, like in regular shell such as bash. Many *nix apps allow setting "-o" options (like dbx) which I find very convenient.

Share this post


Link to post
Share on other sites
Oh, there''s a library you can use for that. It''s called readline or something similar. I know it''s included with the sources to bash (http://www.gnu.org/software/bash/bash.html) but I would guess it has it''s own homepage somewhere that might be a bit more up to date.


War Worlds - A 3D Real-Time Strategy game in development.

Share this post


Link to post
Share on other sites