From owner-freebsd-questions@FreeBSD.ORG Sun Nov 16 01:13:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7848816A4CE for ; Sun, 16 Nov 2003 01:13:19 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30AA943F93 for ; Sun, 16 Nov 2003 01:13:18 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp137-199.lns1.adl2.internode.on.net [150.101.137.199])hAG9DCTn000733; Sun, 16 Nov 2003 19:43:13 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Marty Landman , "Brunoc@quipo.it" Date: Sun, 16 Nov 2003 19:43:12 +1030 User-Agent: KMail/1.4.3 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> In-Reply-To: <6.0.0.22.0.20031115194514.05333a70@pop.face2interface.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200311161943.12408.malcolm.kay@internode.on.net> cc: freebsd-questions@freebsd.org Subject: Re: how to map pfkeys to screen -r cmds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 09:13:19 -0000 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