Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Aug 2017 14:32:25 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Ben Woods <woodsb02@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r447625 - in head/sysutils: . chvt chvt/files
Message-ID:  <60dw-hqg6-wny@FreeBSD.org>
In-Reply-To: <201708091208.v79C8d91081610@repo.freebsd.org> (Ben Woods's message of "Wed, 9 Aug 2017 12:08:39 %2B0000 (UTC)")
References:  <201708091208.v79C8d91081610@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Woods <woodsb02@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}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60dw-hqg6-wny>