Curses(3) help
attisswd at uokvax.UUCP
attisswd at uokvax.UUCP
Thu Jan 16 07:15:00 AEST 1986
I was wondering if it is possible to use curses(3) on
a different tty than you are logged in on. I have change
initscr.c to do its initialization on a file descriptor
that's passed to it.
Example:
fd = open("/dev/tty10",2);
initscr(fd);
This does not work. Since initscr() uses ioctl(2) to do its
work , I don't see why this would not work (assuming all
the permissions are right).
Stephen W. Dickson
Itec Labs
Richardson, Tx
UUCP:
{ucb,decvax,decwrl,ihnp4}!sun!{,texsun!itec3}!steve
{ut-sally,rice,okstat!uokvax,convex,sohio,ctvax,smu,}!
texsun!itec3!steve
More information about the Comp.unix
mailing list