From owner-freebsd-questions Tue Jun 10 06:11:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA03297 for questions-outgoing; Tue, 10 Jun 1997 06:11:20 -0700 (PDT) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA03275 for ; Tue, 10 Jun 1997 06:10:52 -0700 (PDT) Received: by mail.EUnet.hu, id PAA12696; Tue, 10 Jun 1997 15:10:28 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id OAA00538; Mon, 9 Jun 1997 14:23:09 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199706091223.OAA00538@CoDe.hu> Subject: Re: permissions on /dev/console To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Mon, 9 Jun 1997 14:23:09 +0200 (MET DST) Cc: rpt@sso.wdl.lmco.com In-Reply-To: from Richard Toren at "Jun 5, 97 09:18:28 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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"