svn commit: r447625 - in head/sysutils: . chvt chvt/files
Jan Beich
jbeich at FreeBSD.org
Wed Aug 9 12:32:32 UTC 2017
Ben Woods <woodsb02 at FreeBSD.org> writes:
> Author: woodsb02
> Date: Wed Aug 9 12:08:39 2017
> New Revision: 447625
> URL: https://svnweb.freebsd.org/changeset/ports/447625
>
> Log:
> Add new port sysutils/chvt
>
> The command chvt N makes /dev/ttyv(N-1) the foreground terminal.
> The key combination Ctrl-Alt-FN (with N in the range 1-12) has a similar effect.
>
> WWW: https://lists.debian.org/debian-bsd/2009/11/msg00006.html
FYI, on FreeBSD you can implement chvt(1) via shell script:
$ cat ~/bin/chvt
#! /bin/sh
# The file is under Public Domain if not obvious
vidcontrol </dev/ttyv0 -s "${1?usage: chvt N}"
More information about the svn-ports-all
mailing list