From: Ben Cox (thoth@uiuc.edu)
Date: 05/10/93


From: thoth@uiuc.edu (Ben Cox)
Subject: [Q] TIOCCONS for non-root xterm?
Date: Mon, 10 May 1993 17:28:02 GMT

Hi -

Yesterday I had no trouble doing "xterm -C &" as root. After doing
that, "echo hi > /dev/console" printed "hi" on the new window, as
expected.

I tried the same thing today as non-root, and "echo hi > /dev/console"
produced no output anywhere (it probably went to VT#8, under my X
session).

My /usr/bin/X11/xterm is -r-sr-xr-x (mode 4555), owned by root, as I
understand it must be in order for -C to work.

I'm using the color_xterm (the one that takes ANSI sequences for color
changes).

Does anyone have any idea why this won't work except for root?

(/usr/bin/X11/xconsole has the same problem.)