kern/152146: [syscons] Virtual consoles ignore kb and kD termcap
entries.
Jilles Tjoelker
jilles at stack.nl
Sun Nov 21 16:00:22 UTC 2010
The following reply was made to PR kern/152146; it has been noted by GNATS.
From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, crockabiscuit at yahoo.com
Cc:
Subject: Re: kern/152146: [syscons] Virtual consoles ignore kb and kD termcap
entries.
Date: Sun, 21 Nov 2010 16:54:32 +0100
The general philosophy of termcap/terminfo is that it describes what the
terminal does. It is used by applications to find how to interact with
the terminal. In this model, the terminal itself does not interact with
termcap/terminfo. However, whatever is starting the application that is
using a terminal should try to set proper TERM and/or TERMCAP variables.
In case of a serial or dialup line, the administrator or user will have
to set a proper value in /etc/ttys. For syscons, this could be done
better but instead the same approach is used; however, the value in the
default /etc/ttys is usually good enough. In case of xterm, it passes
TERM and TERMCAP variables matching its behaviour, and has lots of
options to configure it. Most other graphical terminal emulators assume
TERM=xterm is good enough.
I think modifying syscons to use termcap/terminfo would be confusing and
unnecessary. I think we can choose one good default Backspace/Delete way
and keep the current options to change it.
--
Jilles Tjoelker
More information about the freebsd-bugs
mailing list