Re: FreeBSD 9+ kernel and xterm-* terminfo entries
On 2012-02-05 14:39 +0100, Robert Millan wrote:
> 2012/2/2, Sven Joachim <firstname.lastname@example.org>:
>> Yes, with the caveat that they will face problems connecting to other
>> systems from within the chroot, since xterm-xxxx does not exist in
>> non-Debian systems. So if the chroot is never used with a Debian
>> kernel, overriding the xterm terminfo is certainly preferable.
> ISTR when I added the TERM=xterm-new advice it was only as a "just in
> case" warning. I just installed a Debian chroot in my FreeBSD VM and
> verified that it's not needed, at least for normal use of backspace /
> delete in emacs, nano and zile.
Thanks, that's great to hear.
>> (If you use zsh, this can be abbreviated to
>> # tic -o /etc/terminfo =(infocmp xterm | sed 's/kbs=\\177/kbs=\^H/'),
>> but that cute feature is not available in bash.)
> You might be interested in:
> $ diff -u <(echo foo) <(echo bar)
> --- /dev/fd/63 2012-02-05 12:46:14.000000000 +0100
> +++ /dev/fd/62 2012-02-05 12:46:14.000000000 +0100
> @@ -1 +1 @@
I know this syntax, but tic unfortunately does not work with it:
| $ $ tic <(infocmp xterm | sed 's/kbs=\\177/kbs=\^H/')
| tic: /dev/fd/63 is not a file