Setting TERM variable


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Setting TERM variable
# 1  
Old 08-17-2001
Setting TERM variable

Does anybody know how to give a default TERM variable while telnetting to Solaris
# 2  
Old 08-17-2001

in the home directory of the telnet user on the unix system, there is a hidden file called '.profile'. If the file is not there, create it. Add the following line:

export TERM="default", where default is vt100, vt320, ... whatever.

Now, everytime the telnet user logs in, the TERM env var will be set to whatever "default" value you specified.

steve
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Where is TERM variable set on linux machines ?

We have two machines, prod and uat. The TERM variable in both machines are different prod echo $TERM vt100 UAT echo $TERM xterm I have checked the .profile file and could not find any entry ? There are some scripts on the box which are run by Autosys scheduler they seem to run in... (1 Reply)
Discussion started by: amit1_x
1 Replies

2. AIX

SMIT - No TERM variable set

Hi, I am trying to run SMIT in AIX 5.3 but when invoking it it displays a message that says that the current TERM doesn't support full screen view. I know how to set a TERM variable but I don't know what will be the value to be set on TERM. How can I know that to run SMIT properly? (2 Replies)
Discussion started by: agasamapetilon
2 Replies

3. UNIX for Dummies Questions & Answers

setting a variable

In my script, I have the following command.... du -sk `ls -ltd sales12|awk '{print $11}'`|awk '{print $1}' it returns the value 383283 I want to modify my script to capture that value into a variable. So, I try doing the following... var1=`du -sk `ls -ltd sales12|awk '{print... (5 Replies)
Discussion started by: tumblez
5 Replies

4. Shell Programming and Scripting

Search term and output term in desired field

Hi All, I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ? ... (28 Replies)
Discussion started by: Raynon
28 Replies

5. Shell Programming and Scripting

Setting variable

How do you set a varible with information that contains a string and also another variable? For example: subject="Attention: $name / This $type needs your attention" The $xxxx are of course other variables that I instantiated earlier. Is it like Java where you have to use double quotes and... (1 Reply)
Discussion started by: briskbaby
1 Replies

6. UNIX for Dummies Questions & Answers

Cron not retaining TERM setting

Hi, I'm sure there's something I'm simply not grasping, but I have a third-party utility (TPU) that needs to run in cron. This utility displays it's output in several formats, depending on the TERM value. cron has no TERM value by default, which results in the TPU dying with an error Sorry, I... (2 Replies)
Discussion started by: steelrose
2 Replies

7. Programming

Create a Term & Run chars on this Term

hi floks ! i'd like to know how can i transmete a character or a string from my source code to a term and make it interpret or un by the shell wich is running in my term. I'd like to create a Term from my code (and get its file descriptor) and then transmete each char typed on the keyboard to... (1 Reply)
Discussion started by: the_tical
1 Replies

8. UNIX for Dummies Questions & Answers

Setting a variable

I want to set a variable to be any number of dashes. Rather than doing the following: MYVAR="------------------" I'd like to be able to set the variable to, say, 80 dashes but don't want to have to count 80 dashes. Is there a way to do this? (2 Replies)
Discussion started by: photh
2 Replies

9. Programming

setting CC variable

I am trying to install GCC-3.1.1 on an SGI Indigo2. I already have MIPSpro 7.2.1 installed. However, when I try to configure GCC-3.1.1, I get the message "cc ERROR: cc -o conftest -g failed, You must set the environment variable CC to a working compiler." What is the name of the MIPSpro c++... (1 Reply)
Discussion started by: mdbanas
1 Replies

10. UNIX for Dummies Questions & Answers

setting CC variable

I am trying to install GCC-3.1.1 on an SGI Indigo2. I already have MIPSpro 7.2.1 installed. However, when I try to configure GCC-3.1.1, I get the message "cc ERROR: cc -o conftest -g failed, You must set the environment variable CC to a working compiler." What is the name of the MIPSpro c++... (1 Reply)
Discussion started by: mdbanas
1 Replies
Login or Register to Ask a Question