Ask a Question related to UNIX Programming, Design and Development.
-
Rich Teer #1
Packet mode pseudo terminals
Hi all,
I've having a devil of a time trying to grok packet mode
pseudo terms (ptys). I can push the pckt module on to
the pty master OK, and I can read data using getmsg().
I can even see ordinary text messages when control buffer
is 0, indicating (to my understading at least), that an M_DATA
message has been received. Printing the associated
data buffer prints the text as normal.
But when I'm trying to tickle the sort of behaviour packet
mode is supposed to detect (by using the stty command in
a program that runs a given command in a pty), the only
non-data message types are 0x0e, which from <sys/stream.h>
woudl seem to be M_IOCTL messages. This is the start of
my confusion, according to Appendix C of the STREAMS
Programming Guide (806-6546) (page 345 to be exact), I
should be seeing an M_PROTO message. What gives?
My goal is to write a program that uses packet mode ptys,
and prints out the status changes it is notified of.
OS is Solaris 9.
Many TIA,
--
Rich Teer, SCNA, SCSA
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: [url]http://www.rite-online.net[/url]
Rich Teer Guest
-
Very slow X performance on X terminals
Hi, I am trying to set up some X terminals to run of a poweredge 1750 running redhat 9. The server is dual 2.4GHz w/4GB RAM and is on a Gigabit... -
TERMINALS ARE FREEZING
Hello, I have a 43P running AIX 4.3.3 with three RANs attached to it. Recently the system is freezing selectively terminals and printer. I... -
virtual terminals
Ok quick question, my girlfriend's system after installing a display manager (gdm, xdm, or kdm) only starts one virtual terminal. This was awhile... -
Is there a way to limit users to login to only one pseudo tty?
I realize that you can restrict users to login to certain real ttys in the system. I have a customer that has a security problem. He has a Unix... -
X terminals (NOT emulators)
I am proposing to a client a network consisting of two Debian hosts and from 7 to 12 X terminals. I am considering either converting their... -
Rich Teer #2
Packet mode pseudo terminals
Hi all,
I've having a devil of a time trying to grok packet mode
pseudo terms (ptys). I can push the pckt module on to
the pty master OK, and I can read data using getmsg().
I can even see ordinary text messages when control buffer
is 0, indicating (to my understading at least), that an M_DATA
message has been received. Printing the associated
data buffer prints the text as normal.
But when I'm trying to tickle the sort of behaviour packet
mode is supposed to detect (by using the stty command in
a program that runs a given command in a pty), the only
non-data message types are 0x0e, which from <sys/stream.h>
woudl seem to be M_IOCTL messages. This is the start of
my confusion, according to Appendix C of the STREAMS
Programming Guide (806-6546) (page 345 to be exact), I
should be seeing an M_PROTO message. What gives?
My goal is to write a program that uses packet mode ptys,
and prints out the status changes it is notified of.
OS is Solaris 9.
Many TIA,
--
Rich Teer, SCNA, SCSA
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: [url]http://www.rite-online.net[/url]
Rich Teer Guest



Reply With Quote

