Date: Sun, 20 May 2007 18:37:29 +0400 From: Alexey Mikhailov <karma@ez.pereslavl.ru> To: freebsd-questions@freebsd.org Cc: White Hat <pigskin_referee@yahoo.com>, Peter Schuller <peter.schuller@infidyne.com> Subject: Re: vidcontrol: getting active vty: Inappropriate ioctl for device Message-ID: <200705201837.30604.karma@ez.pereslavl.ru> In-Reply-To: <46505A69.8090005@infidyne.com> References: <20070519191926.75991.qmail@web34413.mail.mud.yahoo.com> <46505A69.8090005@infidyne.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 20 May 2007 18:25:45 Peter Schuller wrote: > > vidcontrol: getting active vty: Inappropriate ioctl > > for device > > > > I have this entry in the ~/.bash_profile file: > > > > vidcontrol lightcyan > > vidcontrol is trying to affect the system console, and does it by > manipulation file descriptor 0 (stdin). If you are logging in at the > user in question at the console it should work. But in X it won't. > You can make it do what you ask to the system console with: > > vidcontrol < /dev/console > > But that will require root privileges. I've something like if [ $TERM = "xterm" -o $TERM = "xterm-color" ]; then export TERM="xterm-color" elif [ $TERM = "cons25" ]; then vidcontrol -r yellow black green black fi in my ~/.zprofile. But you need to change "cons25" to terminal type that corresponds your console (echo $TERM in console).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705201837.30604.karma>