1832552 Members
5920 Online
110043 Solutions
New Discussion

color terminal on11i v1

 
SOLVED
Go to solution
James Burn
Occasional Contributor

color terminal on11i v1

I connect to a UX 11i V1 box from a Windows terminal program. The program supports many different emulations and color. We do not run X-windows on 11i.

What do I have to do on the UX box to have it recognize a color terminal emulation. I know about the TERM environment variable, but I don't know what color terminal emulations UX supports. I also want the UX box to support a screen size larger than 80x25.
5 REPLIES 5
Mark Greene_1
Honored Contributor

Re: color terminal on11i v1

What program are you using, and what emulation do you set your TERM environment to?

There are several color and wide emulations of viewpoint wyse emulations. See the man pages for terminfo and untic for more details. You can use untic to reverse-compile the terminfo database and then poke through it to find the best match for your program and needs.

mark
the future will be a lot like now, only later
Gregory Fruth
Esteemed Contributor

Re: color terminal on11i v1

TERM=hpterm supports color. Does your Windows
terminal support hpterm or other hp* types?

The size of the window is contained in the
LINES and COLUMNS environment variables.
If you resize the window they should
automatically be reset to the new values.
If your window is not resizable then it's
probably due to your windows terminal
emulator.
Mark Greene_1
Honored Contributor

Re: color terminal on11i v1

You can also give Putty a try:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

It's a free telnet/ssh client that is highly functional. I use it quite a bit.

mark
the future will be a lot like now, only later
Bill Hassell
Honored Contributor
Solution

Re: color terminal on11i v1

HP-UX does not have anything to specifically use color. Color is generally an Xwindows thing and while there are terminals that respond to terminfo color options, HP-UX doesn't send any. You Windows-based terminal emulator may support colors but you'll have to set them yourself. Some people like to use scripts to color the text for an ls command.

Tools like sam and swinstall do not have any color features but they do send out B&W video enhancements such as underline, blinking, inverse, half-bright inverse, and bold. Some terminal emulators allow you to select a particular enhancement such as inverse and pick a foreground and background color for that enhancement. An example is WRQ's Reflection for HP and Reflection for Unix. These are not Xwindow programs but terminal emulators.

Unix was never designed for color, it was designed for teletypwriters. The fancy stuff is found only in certain programs and in Xwindows.


Bill Hassell, sysadmin
James Burn
Occasional Contributor

Re: color terminal on11i v1

I use VIM as my editor and was able to configure it to recognize that my terminal can display colors.

I am used to MS Windows and the sysadmin doesn't want to run Xwindows. I have to adjust to the limitations.