Terminal Command Line Editing
Brian McKee
brian.mckee at gmail.com
Wed Jan 21 18:03:24 UTC 2009
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?
More information about the ubuntu-users
mailing list