Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 1997 08:26:27 +0000
From:      Brian Somers <brian@awfulhak.demon.co.uk>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        Brian Somers <brian@freefall.freebsd.org>, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/vidcontrol decode.h Makefile decode.c  vidcontrol.1 vidcontrol.c
Message-ID:  <199703070826.IAA26273@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Fri, 07 Mar 1997 12:23:45 %2B1030." <199703070153.MAA16185@genesis.atrad.adelaide.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Brian Somers stands accused of saying:
> > brian       97/03/06 17:34:50
> > 
> >   Modified:    usr.sbin/vidcontrol  Makefile decode.c vidcontrol.1
> >                         vidcontrol.c
> >   Added:       usr.sbin/vidcontrol  decode.h
> >   Log:
> >   Add a -s option for setting the current vty.  This should make
> >   life easier if a PS/2 mouse locks up the keyboard (frequent-ish,
> >   but not repeatable).
> 
> This is unnecessary, as vidcontrol uses stdin as the current tty (in
> the tradition of stty).  Thus it is possible to manipulate ttyv0
> using 'vidcontrol < /dev/ttyv0'

Sorry, I mean it sets the current vty to another vty.  For example,

vidcontrol </dev/ttyv0 -s 0
vidcontrol </dev/ttyv0 -s 1

from a remote session will allow you to "switch" consoles (AKA ALT-F?).

-- 
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>;
Don't _EVER_ lose your sense of humour....





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