Do not set the default terminal type to "su", leave it empty.

PR:		bin/5084
Reviewed by:	asmodai, davidn, sef
This commit is contained in:
Ruslan Ermilov 2000-01-19 10:54:44 +00:00
parent 810ce16d54
commit 36807a7b25
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56281
2 changed files with 2 additions and 6 deletions

View File

@ -188,7 +188,7 @@ values to which they are to be set.
.It shell prog Session shell to execute rather than the
shell specified in the passwd file. The SHELL environment variable will
contain the shell specified in the password file.
.It term string su Default terminal type if not able to determine from
.It term string Default terminal type if not able to determine from
other means.
.It timezone string Default value of $TZ environment variable.
.It umask number 022 Initial umask. Should always have a leading 0 to

View File

@ -41,10 +41,6 @@
#include <sys/rtprio.h>
#undef UNKNOWN
#define UNKNOWN "su"
static struct login_res {
const char *what;
rlim_t (*who)(login_cap_t *, const char *, rlim_t, rlim_t);
@ -124,7 +120,7 @@ static struct login_vars {
{ "lang", "LANG", NULL },
{ "charset", "MM_CHARSET", NULL },
{ "timezone", "TZ", NULL },
{ "term", "TERM", UNKNOWN },
{ "term", "TERM", NULL },
{ NULL, NULL, NULL }
};