HP 9000 and HP e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

communicating with hp 700/96

SOLVED
Go to solution
itrcfan
Occasional Contributor

communicating with hp 700/96

hi everybody!
i'm completely new into hp-ux and first of all i want to play with it's terminal (hp 700/96)
do you know any source where i can download a manual for this terminal?
right now i only want to know which command i need to send to get the screen cleared.

when i send following command from my freebsd computer, it works:

printf "\nhello 700! :-)\n" > /dev/cuad0

when i type

$ clear > /dev/cuad0

the terminal says "H2J" instead of clearing the screen.

hope you can help me.

freebsd(cuad0/port 1/serial)<->hp 700/96(port 1, serial)

kind regards
itrc fan
7 REPLIES
Duncan Edmonstone
Honored Contributor

Re: communicating with hp 700/96

Does BSD have tput?

if so you might try:

tput -T 70096 clear >/dev/cuad0

assuming your terminfo database has an entry for the 70096 terminal

HTH

Duncan

HTH

Duncan
Duncan Edmonstone
Honored Contributor

Re: communicating with hp 700/96

or in fact termcap in BSD I think rather than terminfo

HTH

Duncan

HTH

Duncan
Dennis Handly
Acclaimed Contributor
Solution

Re: communicating with hp 700/96

>the terminal says "H2J" instead of clearing the screen.

For an HP terminal, at least if not in ANSI mode, needs an Esc H Esc J, to home up then clear display.
itrcfan
Occasional Contributor

Re: communicating with hp 700/96

hi mr. edmonstone,
my freebsd does have tput, but the terminfo database seems not to have 70096 in its database.
and the thing with termcap is too complicated for me at the moment.

hi mr. handy,
excellent!

# printf "\033H\033J" > /dev/cuad0

works! :-)

ps: in the first posting i've meant i want to play with the terminal of the s817 not of hp-ux
Duncan Edmonstone
Honored Contributor

Re: communicating with hp 700/96

if you don't have an entry for 70096, you probably have one for "hp" or "hpterm"

try those, they should be close enough for your console.

HTH

Duncan

HTH

Duncan
itrcfan
Occasional Contributor

Re: communicating with hp 700/96

great! both variants work!

# tput -T hp clear > /dev/cuad0
#
# tput -T hpterm clear > /dev/cuad0
#
itrcfan
Occasional Contributor

Re: communicating with hp 700/96

great help! thank god there is itrc :-)
kind regards from austria :-)