Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ptmp(4) — HP-UX 8.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ppl(1)

pplstat(1)

ptmp(4)

Requires Optional LAN/X.25 Software

NAME

ptmp − ptmp entry format

DESCRIPTION

The ppl program updates file ptmp which holds user connection information.  It is similar in function and use to utmp(4). There is one entry for each tty device that ppl(1) uses. If an entry does not exist for a tty, ppl creates a new entry at the end of the file; otherwise, it overwrites the old entry for that tty.  When ppl exits, it sets the protocol field to 0, marking the entry idle.  Idle entries indicate that, at some time in the past, an invocation of ppl was running on the tty. 

The file is created initially by creating a zero-length file.  If the file does not exist, ppl silently ignores this feature. 

Each entry in the file has the following structure:

#define MAXSTRING 255
#define MAXINETADDR SOCK_ADDR_DATA_LEN/* length of inet addrs */
 struct ptmp {
char log_name[MAXSTRING];/* user login name */
char rhost_name[MAXSTRING];/* internet host name */
char system_name[MAXSTRING];/* uucp system name */
char Linetaddr[MAXINETADDR];/* local in dot format */
char Rinetaddr[MAXINETADDR];/* remote in dot format */
char tty[MAXSTRING];/* tty name: i.e. tty00 */
int ni_unit;/* minor device i.e. ni0 */
int status;/* current status of entry */
long start_time;/* when protcol started */
};

FILES

/usr/spool/ppl/ptmp full path name of ptmp

AUTHOR

ptmp was developed by HP. 

SEE ALSO

ppl(1), pplstat(1). 

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026