Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 1997 14:23:09 +0200 (MET DST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Cc:        rpt@sso.wdl.lmco.com
Subject:   Re: permissions on /dev/console
Message-ID:  <199706091223.OAA00538@CoDe.hu>
In-Reply-To: <Pine.SUN.3.91.970605211444.23406A-100000@hps> from Richard Toren at "Jun 5, 97 09:18:28 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Folks,
>   I am trying to arrange to see my console messages. This is 2.2.1R.
> the /dev/console is 
> 
> crw-rw-rw-  1 root  wheel    0,   0 Jun  5 21:18 /dev/console
> 
> Xterm -C never picks up anytrhing, and xconsole says it can not open 
> the console. This looks like a permissions problem. What should they
> be; and who should be the owner. Whne I exit from Xwindows, I find
> all the messages on the tty screen where I logged in.

If I remember right, you have to be the OWNER of /dev/console, to grab it
with xconsole or xterm -C.  So man 5 fbtab (or change it with chown).

Gabor
--
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706091223.OAA00538>