summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-11-13 11:32:14 +0000
committered <ed@FreeBSD.org>2009-11-13 11:32:14 +0000
commit368f00cc58e498df0c2a554111fb4aef87999920 (patch)
tree5e0ccda54d999e4feb05ec758ec6563bfc5a3f76 /release
parenta53dc193764a8928da88e20397e66f2899792aca (diff)
downloadFreeBSD-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')
-rw-r--r--release/picobsd/floppy.tree/etc/ttys22
-rw-r--r--release/picobsd/tinyware/oinit/oinit.c4
2 files changed, 13 insertions, 13 deletions
diff --git a/release/picobsd/floppy.tree/etc/ttys b/release/picobsd/floppy.tree/etc/ttys
index dcfac7a..09f42fb 100644
--- a/release/picobsd/floppy.tree/etc/ttys
+++ b/release/picobsd/floppy.tree/etc/ttys
@@ -8,19 +8,19 @@
# This entry needed for asking password when init goes to single-user mode
# If you want to be asked for password, change "secure" to "insecure" here
#console none unknown off secure
-vga none cons25 off secure
+vga none xterm off secure
#
-ttyv0 "/usr/libexec/getty Pc" cons25 on secure
+ttyv0 "/usr/libexec/getty Pc" xterm on secure
# Virtual terminals
-ttyv1 "/usr/libexec/getty Pc" cons25 on secure
-ttyv2 "/usr/libexec/getty Pc" cons25 on secure
-ttyv3 "/usr/libexec/getty Pc" cons25 on secure
-ttyv4 "/usr/libexec/getty Pc" cons25 on secure
-ttyv5 "/usr/libexec/getty Pc" cons25 on secure
-ttyv6 "/usr/libexec/getty Pc" cons25 on secure
-ttyv7 "/usr/libexec/getty Pc" cons25 on secure
-#ttyv8 "/usr/libexec/getty Pc" cons25 on secure
-#ttyv9 "/usr/libexec/getty Pc" cons25 on secure
+ttyv1 "/usr/libexec/getty Pc" xterm on secure
+ttyv2 "/usr/libexec/getty Pc" xterm on secure
+ttyv3 "/usr/libexec/getty Pc" xterm on secure
+ttyv4 "/usr/libexec/getty Pc" xterm on secure
+ttyv5 "/usr/libexec/getty Pc" xterm on secure
+ttyv6 "/usr/libexec/getty Pc" xterm on secure
+ttyv7 "/usr/libexec/getty Pc" xterm on secure
+#ttyv8 "/usr/libexec/getty Pc" xterm on secure
+#ttyv9 "/usr/libexec/getty Pc" xterm on secure
# Pseudo terminals
ttyp0 none network secure
ttyp1 none network secure
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);
OpenPOWER on IntegriCloud