Date: Sun, 16 Nov 2003 19:43:12 +1030 From: Malcolm Kay <malcolm.kay@internode.on.net> To: Marty Landman <MLandman@face2interface.com>, "Brunoc@quipo.it" <brunoc@quipo.it> Cc: freebsd-questions@freebsd.org Subject: Re: how to map pfkeys to screen -r cmds Message-ID: <200311161943.12408.malcolm.kay@internode.on.net> In-Reply-To: <6.0.0.22.0.20031115194514.05333a70@pop.face2interface.com> References: <6.0.0.22.0.20031114190056.11752140@pop.face2interface.com> <200311161045.06911.malcolm.kay@internode.on.net> <6.0.0.22.0.20031115194514.05333a70@pop.face2interface.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Nov 2003 11:32, Marty Landman wrote: > At 07:15 PM 11/15/2003, Malcolm Kay wrote: > >On my 4.7-STABLE machine I believe the default number of > >virtual consoles is 16 with the first 12 having by default /dev entrie= s > >/dev/ttyv0 to /dev/ttyvb; certainly not /dev/stty0 ... > >and are selectable with Alt-f1 to Alt-f12 when active. > >By default the first 8 consoles are activated for login in /etec/ttys. > > I'm on 4.8-RELEASE and a GENERIC Kernel. When I try alt-f3 from my ssh > session I get [13~. All the function keys with alt do similarly. What a= m I > missing? I've learned to use the screen cmd although it's a bit easy to= get > lost in there, is this built on that or something else? I think you may have misunderstood the nature of the virtual terminals. W= hat=20 do you hope to do through ssh. The virtual terminal is relavent only to t= he=20 local machine -- if pretends that there are 16 (or however many are set u= p) separate screens and keyboards and these share the real screen and keyboa= rd by=20 switching -- normally throgh the Alt-f? combination. Those made active in= =20 /etc/ttys can be selected locally for login -- independent of any login o= n a=20 different virtual terminal. If you are logging in remotely (via ssh) the= n=20 you are using a remote terminal and the virtual terminals are totally=20 irrelevant. Login will be in a pseudo terminal /dev/pty?? Confusing perhaps, but I can't think of a way to explain more clearly. Malcolm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311161943.12408.malcolm.kay>