Home/Support / Knowledge Base / Setting the terminal type in the Passport

Setting the terminal type in the Passport

Setting the terminal type in the Passport
 
Supported terminal types are:
ansi
linux
dumb
vt100
vt2200
xterm
 
1.  To set the default terminal type do the following from the CLI:
[root@Digi_Passport ~]# vi /etc/profile
...
TERM=vt220;export TERM                          => Add this line  
#TZ=`cat /etc/timezone`;export TZ
unset i                   
unset pathmunge
 
2.  Logout and log back in.  Then verify the terminal type:
 [root@Digi_Passport ~]# set
...
SHLVL=1
TERM=vt220
UID=0
USER=root
_=TERM
 
3.  To keep this setting upon reboot you must do the following:
-- Copy the edited /etc/profile file to /usr2
[root@Digi_Passport ~]# cp /etc/profile /usr2
 
-- Edit the /usr2/rc.user file and add the line in bold below:
[root@Digi_Passport ~]# vi /usr2/rc.user
#!/bin/bash
#
# rc.user : Sample script file for running user programs at boot time
##
 
#PATH=/bin:/usr/bin:/sbin:/usr/sbin
cp /usr2/profile /etc
 
exit 0

 
Last updated: Aug 08, 2017

Recently Viewed Articles

No recently viewed articles
Contact a Digi expert and get started today! Contact Us