svn commit: r447625 - in head/sysutils: . chvt chvt/files

Ben Woods woodsb02 at gmail.com
Wed Aug 9 14:22:11 UTC 2017


On 9 August 2017 at 20:32, Jan Beich <jbeich at freebsd.org> wrote:

> 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}"
>

I wasn't aware - thanks for the heads up.

Given its already committed, it probably doesn't hurt to keep this port
with the C programming language option as an alternative to vidcontrol.

Regards,
Ben


More information about the svn-ports-head mailing list