Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ptem(7) [osf1 man page]

ptem(7) 						 Miscellaneous Information Manual						   ptem(7)

NAME
ptem - Null STREAMS module for pseudoterminal emulation DESCRIPTION
The ptem module is a null STREAMS module that Tru64 UNIX provides to applications for use in place of the AT&T System V Release 4 ptem mod- ule. The AT&T System V Release 4 ptem module emulates a pseudoterminal when used in conjunction with a line discipline and a pty device driver. In Tru64 UNIX, all of the AT&T ptem functions are included in the pty slave device driver. The client process pushes the null ptem module onto the slave side of the pty device stream below the ldterm module by a call to the STREAMS I_PUSH ioctl() function. RELATED INFORMATION
Commands: stty(1) Functions: ioctl(2) Interfaces: ldterm(7), pckt(7), streamio(7). delim off ptem(7)

Check Out this Related Man Page

pckt(7) 						 Miscellaneous Information Manual						   pckt(7)

NAME
pckt - STREAMS module for constructing message packets on a pty DESCRIPTION
The pckt module is a STREAMS module that can be used with a pseudoterminal to transfer messages in packet mode. The packet mode feature of pty devices allows the user process on the master side of the device to be informed of state changes. For packet mode to be enabled in the pty device, the user process must push the pckt module onto the master side of the pty with a call to the STREAMS I_PUSH ioctl() function. When the user process writes data, the pckt module passes the message on to the next module or driver unchanged. When the user process reads data or when the pckt module receives certain STREAMS message types, it constructs a packet out of the message for forwarding upstream. To construct a message packet, the module creates an M_PROTO message. This M_PROTO message contains the original message type in the first data block and the original message in as many data blocks as needed. The user process can then retrieve the M_PROTO message with a call to the getmsg() function. The STREAMS message types that the pckt module places in packets, are the following: M_DATA M_IOCTL M_PROTO M_PCPROTO M_FLUSH M_START M_STOP M_STARTI M_STOPI M_READ All other messages are passed unchanged upstream. If the message is an M_FLUSH message, the pckt module looks at the flag and takes the following actions: If the flag is FLUSHW, the module changes it to FLUSHR before creating the M_PROTO message, and passes the message upstream. The module also sends an M_FLUSH message with the FLUSHW flag set. If the flag is FLUSHR, the module changes it to FLUSHW before creating the M_PROTO message, and passes the message upstream. If the flag is FLUSHRW, the module changes it to FLUSHW before creating the M_PROTO message, and passes the message upstream. The module also sends an M_FLUSH message with the FLUSHW flag set. RELATED INFORMATION
Functions: getmsg(2), ioctl(2). Interfaces: ldterm(7), ptem(7), streamio(7). delim off pckt(7)
Man Page

3 More Discussions You Might Find Interesting

1. Virtualization and Cloud Computing

EPTS: Proposed Event Processing Definitions, September 20, 2006

Tim Bass 08-20-2008 10:47 PM For interested readers, here are the event processing definitions we provided to the (future) EPTS working group on September 20, 2006, coordinated (edited)*by David Luckham and Roy Schulte; adaptive process management (n.) an element of resource and business... (0 Replies)
Discussion started by: Linux Bot
0 Replies

2. Shell Programming and Scripting

pomozte mi prosim se scriptem

na tomhle scriptu mi nefunguje vymazavani adresaru kdyz jich je vice jak 7. po spusteni scriptu mi to vypise : 16: ; then NAME=`ls -ld --time-style="+%F-%T" $DEST/current | awk '{print $6;}'`; cp -al $DEST/current $DEST/$NAME fi if ]; then rm -rf $DEST/`ls $DEST | head -1`;... (1 Reply)
Discussion started by: sixberk
1 Replies

3. HP-UX

HP ux 11i v3 september 2012 Media

Hello Friends, I bought HP-UX 9000 series server. They shipped it with HP-UX 11.31 March 2014 version operating system. But i want to reload it with HP ux 11i v3 september 2012. I have only hardware support for this box, so i cant get it from HP site. Can any tell me where can i download it.... (4 Replies)
Discussion started by: corequad
4 Replies