[torqueusers] Re: qsub -I : termcap or window sizes

Sikora, Josef S josef.s.sikora at boeing.com
Mon Jul 23 15:51:16 MDT 2007


If you have the resize command installed on your node
(/usr/X11R6/bin/resize), then try typing

eval `resize`

after you resize the window.  Note that there are back tics around
resize. 

Josef

-----Original Message-----
From: Garrick Staples [mailto:garrick at usc.edu] 
Sent: Monday, July 23, 2007 1:07 PM
To: torqueusers at supercluster.org
Subject: Re: [torqueusers] Re: qsub -I : termcap or window sizes

On Mon, Jul 23, 2007 at 02:46:23PM -0500, David Corredor alleged:
> 1. What would it take for qsub to handle window resizing ?
> 
> 2. Everything does work OK before and after the resize, it's just
those 
> programs like VIM, less and others that don't get the new resized
window 
> properties.

Well, I guess qsub would have to trap SIGWINCH, call ioctl() again to
get the new winsize, and somehow send the new values through some escape
sequence to pbs_mom.

That last part would require a protocol change.  Maybe we could do this
on 2.3.



More information about the torqueusers mailing list