Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

set term

Posted on 2002-03-24
7
Medium Priority
?
2,147 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
Industry Leaders: 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 120 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

610 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