Solved

set term

Posted on 2002-03-24
7
2,105 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
Comment Utility
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
Comment Utility
what are  other choices other than
vt=100

tq
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
tq
it helps me
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 295
AIX  NFS  question 1 98
Audit HISTFILE for all users on AIX 9 91
UNIX network port 5 45
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

771 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now