My original question:
> I'm running xterm on SUN under OpenWin 3.0, and rlogin to HP9000/750 machine.
> I found out when I resize the xterm window the HP machine didn't know I did it.
> I type " stty size ", it always give me the same column and row size setting,
> and this caused vi editor behaved like crazy. Is there anyone out there know how
> to fix this problem, thanks in advance.
1) do the following everytime you resize xterm window
I create an alias for vi, so I don't have to do the eval stuff every time
I change the window size:
alias myvi 'eval `resize` ;vi \!*'
2) HP didn't handle window sizing at all until 8.07, and even 8.07's
implementation is incomplete. HP-UX 9.0 should fix this problem.
3) I found out myself that if you run xterm in HP machine and display to your
SUN will fixed the problem. so I created another alias like this:
if you use C-Shell:
alias hpxterm 'xhost +hp ; rsh hp "setenv DISPLAY sun:0;/usr/bin/X11/xterm -ls"'
if you use Bourne-Shell
alias hpxterm 'xhost +hp ; rsh hp "export DISPLAY=sun:0;/usr/bin/X11/xterm -ls"'
* suppose HP hostname is "hp" and SUN hostname is "sun"
ups!kalli!kevin@fourx.Aus.Sun.COM (Kevin Sheehan)
firstname.lastname@example.org (Dave Shevett)
Z email@example.com (Anthony A. Datri)
firstname.lastname@example.org (Claus Assmann)
email@example.com (Tim Hoogasian)
firstname.lastname@example.org (Per Hedeland)
email@example.com (Andy Pearman)
firstname.lastname@example.org (David Galloway)
Samsung Semiconductor Inc.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:32 CDT