1851317 Members
2711 Online
104057 Solutions
New Discussion

Re: Terminal emulation

 
khilari
Regular Advisor

Terminal emulation

Hi people, i wanted to know as to how do u set the terminal emulation of a telnet session. Lets say to HP.
And how many other terminal emulations are there and do u set them the same way???

Thanks.
5 REPLIES 5
Jeff_Traigle
Honored Contributor

Re: Terminal emulation

export TERM=hp

All of the terminal types are listed under the subdirectories of /usr/lib/terminfo.
--
Jeff Traigle
A. Clay Stephenson
Acclaimed Contributor

Re: Terminal emulation

Your question is all but impossible to answer because it is so vague. Generally, the procedure is to examine the emulation capabilities of your particular terminal emulation software and what emulation modes it supports. Almost all emulators support the old Digital Equipment Corp (DEV) vtxxx models (generally vt100, vt200, vt220) and Wyse is also a very common choice. HP also has some terminals by you have to be a bit mode specific than "hp" (e.g 700/96). Because it is the least common denominator, a vt220 is a very, very common choice . So all that is required is to set your emulation to vt220 mode and then login. You then set TERM=vt220 and export TERM and you are good to go.

Look under /usr/lib/terminfo for all the possible TERM settings. All terminfo entries are stored under the first character of their name so that vt220 will be found under "/usr/lib/terminfo/v/vt220".
There are actually hundreds of terminfo's to choose from but nowadays real terminals (as opposed to PC pretending to be terminals) are all but non-existant.
If it ain't broke, I can fix that.
Bill Hassell
Honored Contributor

Re: Terminal emulation

The emulation is the program on your PC. You can't set most emulators to HP because very few have this smart terminal capability. Emulators that have HP capability are:

- Minisoft
- QCterm
- WRQ's Reflection for HP

Only QCterm is free:

http://www.aics-research.com/qcterm/

HP terminals are much easier to use with programs like Glance, SAM and swinstall. The softkey labels are twice as large as VT-series labels and there are many screen enhancements to make the menus easier to navigate.

HP-UX is unique in that it supplies an automatic terminal identifier program called ttytype. It is imperative that the value of the TERM variable match what you are using. Hardcoding TERM=vt100 will cause numerous problems in the future when your local emulator no longer matches the hardcoded TERRM value. ttytype -s will identify your terminal and then set TERM, LINES and COLUMNS. Use ttytype -s to confirm that you have the correct TERM setting.


Bill Hassell, sysadmin
khilari
Regular Advisor

Re: Terminal emulation

=== Printer and Plotters (newPC_LA) (1)
File List View Options Actionâ â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â AAdd â AddPParallel Printer/Plotter...
Print Spooler: RUNNING â Add Râ Add Seinal (RS-232) Printer/Plotter...
â â â â â â â â â â â â â â â â â â â â â â â â Add Nâ Add HP-IB Printer/Plotter... â
r â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â 1 of 2 selected
â Add Printer withâ NonstandardPDevice File...... â â â â â â â â â â â â â â â â â
â Add Printer/Plotter to a TSM Terminal...â â â â â â â â â â â â â â â â â â â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â â â â â â â â â â â â â â â â â â â â â â â â ==================================== â â â â â â â â â â â â â â â
â fcareg local yesâ Zoom... â ^
â r, idle yes â rRemove... ewoptio â â â â
â â Disable â
â â Reject Requests â
â â Modify Fence Priority... â
â â Set as System Default Destination â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â
â
Well this is the chaos i see on my sam when i enter on adding local printers.

# echo $TERM
vt220

What do i do to get a smoothe output.
Bill Hassell
Honored Contributor

Re: Terminal emulation

What does the command:

ttytype -s

show you? What program are you running on PC for the emulator?


Bill Hassell, sysadmin