[illumos-Developer] Terminfo handling of pg/home/etc keys

Guido Berhoerster guido+illumos.org at berhoerster.name
Tue Oct 19 04:59:57 PDT 2010


* DerSaidin <dersaidin at gmail.com> [2010-10-19 13:10]:
> Other keys that don't appear to be on either of your lists is ctrl+left,
> ctrl+right.
> (i.e. from .bashrc)
> bind '";5D": backward-word'
> bind '";5C": forward-word'

This is does not concern bash but readline configuration, it is
also terminal specific and thus would need to be wrapped in an
"$if term=xterm" conditional.

> Then theres a few which I think most people have some variation of:
> alias l='TERM=xtermc ls -hpl --color --time-style "+%Y-%m-%d %H:%M:%S"'
> alias la='TERM=xtermc ls -hpa --color'
> alias ls='TERM=xtermc ls -hp --color'

Bad idea, not everybody uses GNU ls and xterm.

-- 
Guido Berhoerster



More information about the Developer mailing list