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

David Corredor tecnico at nsstc.uah.edu
Tue Jul 24 15:24:46 MDT 2007


Thanks Josef!

   That works OK. I added a shortcut on VIM so that people would be able 
to just press a key to refresh the size:

   " Refresh size shortcut in 'vimrc'
   map <F4> :!eval `resize`<CR><CR>


  David



 > ------------------------------
 >
 > Message: 4
 > Date: Mon, 23 Jul 2007 14:51:16 -0700
 > From: "Sikora, Josef S" <josef.s.sikora at boeing.com>
 > Subject: RE: [torqueusers] Re: qsub -I : termcap or window sizes
 > To: <torqueusers at supercluster.org>
 > Message-ID:
 > 	<12089A97DCCFE343A815A77B619E349A06A89E6E at XCH-SW-4V1.sw.nos.boeing.com>
 > 	
 > Content-Type: text/plain;	charset="us-ascii"
 >
 > 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