[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FreeBSD 9+ kernel and xterm-* terminfo entries



2012/2/2, Sven Joachim <svenjoac@gmx.de>:
> 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.

No problem then, thanks for warning us.

[1] Btw they have a debootstrap port, ain't this nice?

> (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 @@
-foo
+bar

-- 
Robert Millan


Reply to: