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
Solved

set term

Posted on 2002-03-24
7
2,116 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
  • 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

791 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