SUMMARY: xterm window size problem

From: Daniel Chen (dchen@sam.com)
Date: Thu Mar 04 1993 - 01:54:00 CST


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.

SUMMARY:
================================================================================
  1) do the following everytime you resize xterm window

                eval `resize`
        
      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"
        
================================================================================
THANKS TO:
----------
ups!kalli!kevin@fourx.Aus.Sun.COM (Kevin Sheehan)
shevett@unipress.com (Dave Shevett)
Z aad@lovecraft.unix.portal.com (Anthony A. Datri)
phil@genethon.fr(GESNOUIN Philippe)
ca@mine.informatik.uni-kiel.dbp.de (Claus Assmann)
hoogs@alc.com (Tim Hoogasian)
per@erix.ericsson.se (Per Hedeland)
pearmana@prl.philips.co.uk (Andy Pearman)
daveg@exlog.com (David Galloway)
================================================================================
Daniel Chen
dchen@sam.com
Samsung Semiconductor Inc.
Tel:(408)954-6973
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:32 CDT