BSD 3 development
[unix-history] / .ref-BSD-2 / upgrade / man / htmp.u
CommitLineData
69739ccc
BJ
1.TH HTMP UCB 4/19/79 UCB
2.SH NAME
3htmp \- home directory and teletype data base
4.SH DESCRIPTION
5The home directory and teletype data base
6.I htmp
7is used to partially simulate version 7 environments, by
8.I setenv (UCB),
9and the
10.I getenv
11subroutine of
12.IR libretro (UCB).
13The file consists of an array of structures of the form:
14.PP
15.DT
16 \fBstruct\fR htmp {
17.br
18 \fBshort\fR uid;
19.br
20 \fBchar\fR home[28];
21.br
22 \fBshort\fR ttytype;
23.br
24 };
25.PP
26The
27.it ttytype
28is actually a two character code, and is defined by
29.IR termcap (UCB).
30.PP
31The file is indexed by the various teletypes in a system dependent fashion,
32using the result of a call to ttyn (3).
33.PP
34A set of routines internal to
35.IR libretro (UCB)
36allows easy access to this data base.
37.sh "SEE ALSO"
38printenv (UCB), setenv (in csh (UCB))
39.sh AUTHOR
40William Joy