Thread View: fa.sco-list
1 messages
1 total messages
Started by Ronald S H Khoo
Tue, 02 Oct 1990 03:39
Re: Writting to Active Console
Author: Ronald S H Khoo
Date: Tue, 02 Oct 1990 03:39
Date: Tue, 02 Oct 1990 03:39
58 lines
3262 bytes
3262 bytes
[ Is there a particularly good reason why this discussion can't go on in
comp.unix.xenix or some such similar newsgroup ? I'm crossposting this
to comp.unix.xenix.sco and comp.unix.sysv386. Sorry Dave :-) ]
[ why does mail to dma@daves.uucp bounce ? Use Reply-To: please! ]
In article <9010011904.AA14210@uunet.uu.net> daves!dma writes:
[ trying to get a message printed to whatever multiscreen(TM) is currently
active. I suggested /dev/[ecv]ga as appropriate ]
> echo "test message" >/dev/vga
> It worked great! Then I did the same thing using an 'at 1413' command.
> >sh: /dev/vga: cannot create
> I then check the permissions on /dev/vga, everything looks fine:
I just tried it (SCO Unix 3.2.0) and found the same problem.
How most peculiar. BTW Do any of the other peecee unices have the
/dev/[evc]ga equivalents ?
Opening /dev/[vce]ga seems to fail ENXIO if you haven't got a controlling
terminal. *any* controlling terminal seems to do (try logging on to
a serial terminal and echo foobar > /dev/vga -- that works)
This is a *bug*. Or maybe a feature. I just tried this test program
from at(C) and it does successfully write the second Hello World message to
/dev/cga (I got a compaq monochrome :-( but it's better than a normal
cga :-) -- /dev/ttya02 is a spare terminal port I made 666 with nothing
else on it just for the purpose of this test.
main()
{
int i;
/* write to /dev/cga THIS ONE WILL FAIL */
i = open("/dev/cga", 1);
if (i < 0) perror("/dev/cga"); else write(i, "Hello world 1\n", 14);
/* make /dev/ttya02 our controlling terminal. KLUDGE ALERT */
/* /dev/ttya02 has been made available for the purposes of this test */
setpgrp();
if (open("/dev/ttya02", 0) < 0) perror("/dev/ttya02");
/* now write to /dev/cga again -- this one succeeds */
i = open("/dev/cga", 1);
if (i < 0) perror("/dev/cga"); else write(i, "Hello world 2\n", 14);
}
dd if=/dev/flame of=/dev/SCO bs=1024k count=2048
I'm sure SCO tech support have an answer to this ?
I'd like a fix for BOTH on Sys V/386 *and* Xenix please. :-)
Yes. I'm *greedy*. But you knew that already :-) :-) :-)
--
ronald@robobar.co.uk | +44 81 991 1142 (O) | +44 71 229 7741 (H) | YELL!
"Nothing sucks like a VAX" -- confirmed after recent radiator burst!
Hit 'R' <RETURN> to continue .....
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads