Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2010 16:00:22 GMT
From:      Jilles Tjoelker <jilles@stack.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/152146: [syscons] Virtual consoles ignore kb and kD termcap entries.
Message-ID:  <201011211600.oALG0MiL026342@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/152146; it has been noted by GNATS.

From: Jilles Tjoelker <jilles@stack.nl>
To: bug-followup@FreeBSD.org, crockabiscuit@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011211600.oALG0MiL026342>