Terminal Command Line Editing

Alex Katebi alex.katebi at gmail.com
Wed Jan 21 16:57:49 UTC 2009


On Wed, Jan 21, 2009 at 11:18 AM, Brian McKee <brian.mckee at gmail.com> wrote:

> On Wed, Jan 21, 2009 at 11:00 AM, Alex Katebi <alex.katebi at gmail.com>
> wrote:
>
> If the programs running in the terminal don't know your terminal can
> do things like arrow-keys, then it won't work.
> Theoretically, you could still be using an old teletype machine as a
> terminal, or something not quite so ancient that it doesn't know how
> to handle, so it provides only basic capabilities.
>
> man terminfo for some info.
>
>
> On the other hand, I just re-read your original note.  I might be
> throwing you a red herring.
>
> Command history and the readline editing come from bash.  Are you
> running bash at the point you're trying this?  or just sh or dash?  or
> maybe some other shell that doesn't use those shortcuts?


When I did "echo $SHELL" it said "bash".
This is the boot console for Ubuntu jeos which is the stripped down version
of the ubuntu-server that has no window manager just a login shell.


>
>
> Brian
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090121/946f8b3b/attachment.html>


More information about the ubuntu-users mailing list