Re: cursor keys not working on console
On Thu, 08 Aug 2013 21:18:15 -0400 Thomas Dickey wrote: > On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote: > > The cursor keys on the consoles in freebsd CURRENT (no X11 virtual > > consoles, the FreeBSD consoles!) do not work for me. > > > > I use tcsh as the main shell. > > As set by default in /etc/ttys, the console's terminal type is > > xterm. Switching to > > > > setenv TERM cons25 > > > > solves the problem, but the menus in ports via make config look ugly > > and more ugly, but they are unusable with the setting "TERM=xterm". > > > > What is wrong here? Why are the cursor keys not working in the > > console/ports menu as expected when using tcsh/csh as default shell? > > from infocmp (cons25 vs xterm): > > kcub1: '\E[D', '\EOD'. > kcud1: '\E[B', '\EOB'. > kcuf1: '\E[C', '\EOC'. > kcuu1: '\E[A', '\EOA'. > > It's probably > > http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode > > You would probably find > TERM=xterm-noapp > > and improvement. > Hello. Thanks, this works for me. I was wondering if others did not have the same problem, since I use only standard settings for the console (except that I use csh/tcsh instead of sh). Regards, Oliver signature.asc Description: PGP signature
Re: cursor keys not working on console
On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote: > The cursor keys on the consoles in freebsd CURRENT (no X11 virtual > consoles, the FreeBSD consoles!) do not work for me. > > I use tcsh as the main shell. > As set by default in /etc/ttys, the console's terminal type is xterm. > Switching to > > setenv TERM cons25 > > solves the problem, but the menus in ports via make config look ugly > and more ugly, but they are unusable with the setting "TERM=xterm". > > What is wrong here? Why are the cursor keys not working in the > console/ports menu as expected when using tcsh/csh as default shell? from infocmp (cons25 vs xterm): kcub1: '\E[D', '\EOD'. kcud1: '\E[B', '\EOB'. kcuf1: '\E[C', '\EOC'. kcuu1: '\E[A', '\EOA'. It's probably http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode You would probably find TERM=xterm-noapp and improvement. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net signature.asc Description: Digital signature
cursor keys not working on console
The cursor keys on the consoles in freebsd CURRENT (no X11 virtual consoles, the FreeBSD consoles!) do not work for me. I use tcsh as the main shell. As set by default in /etc/ttys, the console's terminal type is xterm. Switching to setenv TERM cons25 solves the problem, but the menus in ports via make config look ugly and more ugly, but they are unusable with the setting "TERM=xterm". What is wrong here? Why are the cursor keys not working in the console/ports menu as expected when using tcsh/csh as default shell? Plese CC me. Regards, Oliver signature.asc Description: PGP signature