[1334] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: text console, Meta in emacs

daemon@ATHENA.MIT.EDU (Nathan J. Williams)
Tue Oct 13 01:51:18 1998

To: Thomas C Sobczynski <tcs@MIT.EDU>
Cc: netbsd-help@MIT.EDU
From: "Nathan J. Williams" <nathanw@MIT.EDU>
In-Reply-To: Your message of "Tue, 13 Oct 1998 00:29:03 EDT."
             <199810130429.AAA02617@mere.mit.edu> 
Date: Tue, 13 Oct 1998 01:51:07 EDT

> Meta-anything is treated as the -anything without the Meta in emacs on
> the console.
> Sample entry from /etc/ttys:
> ttyv0	"/usr/libexec/getty Pc"		vt220	on secure
> 
> Initially, these were
> ttyv0	"/usr/libexec/getty Pc"		pcvt25	on secure
> but this results in Num Lock being gratuitously turned on all over the
> place, which my laptop does not appreciate.

	If you want meta to work properly, you'll want to use the
pcvt25 terminal type. The way to avoid having numlock turn on all the
time is to build a kernel with the PCVT_INHIBIT_NUMLOCK option, which
addresses exactly this issue. 

> For this machine, recompiling the kernel is not an option, and I make
> frequent use of virtual terminals.

	Why is recompiling the kernel not an option? It's not hard
(there are instructions in /mit/sipb/doc/netbsd-admin.{dvi,ps}) and
need not even be done on the machine that's going to run the kernel -
if, for example, there's some trouble with network access from the
laptop.

	- Nathan

home help back first fref pref prev next nref lref last post