Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2017 22:22:09 +0800
From:      Ben Woods <woodsb02@gmail.com>
To:        Jan Beich <jbeich@freebsd.org>
Cc:        Ben Woods <woodsb02@freebsd.org>,  "ports-committers@FreeBSD.org" <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:  <CAOc73CDC6PKZV%2BugiP2jsjOg=dUe_FvLdd=SSq%2Bi4yuGXx0gUA@mail.gmail.com>
In-Reply-To: <60dw-hqg6-wny@FreeBSD.org>
References:  <201708091208.v79C8d91081610@repo.freebsd.org> <60dw-hqg6-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 August 2017 at 20:32, Jan Beich <jbeich@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CDC6PKZV%2BugiP2jsjOg=dUe_FvLdd=SSq%2Bi4yuGXx0gUA>