Terminal Command Line Editing

Alex Katebi alex.katebi at gmail.com
Thu Jan 22 00:23:38 UTC 2009


echo $TERM says linux.

On Wed, Jan 21, 2009 at 1:03 PM, Brian McKee <brian.mckee at gmail.com> wrote:

> On Wed, Jan 21, 2009 at 11:57 AM, Alex Katebi <alex.katebi at gmail.com>
> wrote:
> > 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".
>
> Not that then
>
> And echo $TERM?
>
> --
> 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/8fb6cb60/attachment.html>


More information about the ubuntu-users mailing list