Solved

set term

Posted on 2002-03-24
7
2,126 Views
Last Modified: 2013-12-27
Hi..

 what is the purpose of doing this;

 set term=vt100, export term;

 tq
 newbie
0
Comment
Question by:maliksl4141
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6892332
That tells applications that might be run from that session that the current terminal type is the same as a VT100. This is important for text (not GUI) apps that use curses for screen manipulation. By knowing the terminal type they can emit control codes and escape sequences to control the appearance of the screen. Some applications also use that information to control mapping of function keys and/or the keypad.
0
 

Author Comment

by:maliksl4141
ID: 6895415
what are  other choices other than
vt=100

tq
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6895441
It's way too many to list here. You can see the names of the common types by looking at the files in the terminfo database, either /usr/lib/terminfo/*/* or /usr/share/terminfo/*/*. I'm not in front of a Solaris box right now and don't remember which.

What matters is that you have the correct term setting for whatever terminal you are using. When using a local terminal (either a real terminal or a terminal emulator) that looks like a VT100 you'd need term=vt100. If you were on a Sun console you'd need term-sun, and so forth.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 40

Expert Comment

by:jlevie
ID: 6896859
Correction on the path to the terminfo files. On Solaris it's /usr/share/lib/terminfo. And there's some 1670 terminal types on a Solaris 8 system.
0
 

Author Comment

by:maliksl4141
ID: 6898368
one more q

 how to know what term i'm currently use.

  tq
  newbie
0
 
LVL 40

Accepted Solution

by:
jlevie earned 30 total points
ID: 6898466
Well, that depends on what you are using. Most terminal emulators (Hyperterm on windows, xterms on Unix, etc.) default to or are compatible with a VT100. Hardware terminals can come in a variety of models and you have to check the docs for the model you're using to find out what its type is.
0
 

Author Comment

by:maliksl4141
ID: 6898549
tq
it helps me
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question