1825766 Members
2098 Online
109687 Solutions
New Discussion

hpterm window

 
SOLVED
Go to solution
Henry Chua
Super Advisor

hpterm window

Hi Guys,

How do I adjust the font color and size if I am using hpterm to spawn a term window? I try reading the man file but couldnt seem to get what I want.

Also can I bring the window to the front after a certain interval, say after every 5 sec.

Best
6 REPLIES 6
Pete Randall
Outstanding Contributor
Solution

Re: hpterm window

Henry,

You can spawn the hpterm window with something like this:

hpterm -fg COLOR -fn FONTSET

Check the man page for hpterm.

I don't know of any way to automatically bring the window to the front though.


Pete

Pete
Mark Ellzey
Valued Contributor

Re: hpterm window

Henry,

man hpterm - look for -fg -bg command line switches.

-fg = foreground color (Cursor, text)
-bg = background color (Screen background)

If you want to see what colors are available, look at /etc/X11/rgb.txt

Regards,
Mark
Paul Sperry
Honored Contributor

Re: hpterm window

usr/bin/X11/hpterm -fn 6x13 -sb -fg white -bg midnightblue -bd yellow -cr green -sl 100s -ls &


font = 6x13
scroll bar
foreground white
background midnightblue
border yellw
cursor green
savelines 100
shell same as login

Rick Garland
Honored Contributor

Re: hpterm window

/usr/bin/X11/hpterm -bg white -fg black -sb -sl 1000 -font 8x16 -name -title -e ssh &

This will work for xterm and dtterm as well.

I like scroll bars so I include the -sl & the -sb 1000
Henry Chua
Super Advisor

Re: hpterm window

Hi Guys, thanks for your help, but i cant seem to be able to set the font size bigger.. or it appears to be the same to me.. how is the calculation done? if I want a very big font on screen what should i do?

ThankS!
Patrick Wallek
Honored Contributor

Re: hpterm window

You will have to play with the fonts available on your system to find one that is to your liking.

To see what fonts are available:

# export DISPLAY=host:0.0
(where host is your system name)

# xlsfonts