diff options
author | ed <ed@FreeBSD.org> | 2009-11-13 11:32:14 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-11-13 11:32:14 +0000 |
commit | 368f00cc58e498df0c2a554111fb4aef87999920 (patch) | |
tree | 5e0ccda54d999e4feb05ec758ec6563bfc5a3f76 /release/picobsd/tinyware/oinit | |
parent | a53dc193764a8928da88e20397e66f2899792aca (diff) | |
download | FreeBSD-src-368f00cc58e498df0c2a554111fb4aef87999920.zip FreeBSD-src-368f00cc58e498df0c2a554111fb4aef87999920.tar.gz |
Convert {small prefix}BSD to TERM=xterm as well.
Clean up the ttys files shipped with PicoBSD, NanoBSD and TinyBSD. While
there, it seems one of them still had references to sio(4). Make it in
sync with what we do in the base system.
Diffstat (limited to 'release/picobsd/tinyware/oinit')
-rw-r--r-- | release/picobsd/tinyware/oinit/oinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/picobsd/tinyware/oinit/oinit.c b/release/picobsd/tinyware/oinit/oinit.c index b02434a..7715f3e 100644 --- a/release/picobsd/tinyware/oinit/oinit.c +++ b/release/picobsd/tinyware/oinit/oinit.c @@ -116,7 +116,7 @@ struct command bltins[]={ {"cd","Change working directory","cd [dir]","cd /etc",cd}, {"pwd","Print current directory","pwd","pwd",pwd}, {"exit","Exit from shell()","exit","exit",xit}, - {"set","Set environment variable","set [VAR=value]","set TERM=cons25",set}, + {"set","Set environment variable","set [VAR=value]","set TERM=xterm",set}, {"unset","Unset environment variable","unset VAR","unset EDITOR",unset}, {"echo","Echo arguments on stdout","echo arg1 arg2 ...","echo Hello World!",echo}, {"env","Print all environment variables","env","env",env}, @@ -572,7 +572,7 @@ start_session(int vty, int argc, char **argv) if(fd>2) close(fd); login_tty(fd); setpgid(0,getpid()); - putenv("TERM=cons25"); + putenv("TERM=xterm"); putenv("HOME=/"); putenv("PATH=/stand:/bin:/usr/bin:/sbin:."); signal(SIGHUP,SIG_DFL); |