logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: Re: qsub -I : termcap or window sizes: msg#00097

Subject: RE: Re: qsub -I : termcap or window sizes
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@xxxxxxx] 
Sent: Monday, July 23, 2007 1:07 PM
To: torqueusers@xxxxxxxxxxxxxxxx
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.


<Prev in Thread] Current Thread [Next in Thread>