[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:9 Apr 2004 18:53:44 -0700 
Subject:Re: vedsetwindow 
From:Pete Goodeve 
Volume-ID: 

In article <4076B632.24487E7D@ed.ac.DELETETHISuk>,
Stephen Isard  <S.Isard@ed.ac.DELETETHISuk> wrote:
>Pete Goodeve wrote:
>> As Aaron pointed out to me, I can use '<esc>w' to switch to a single window
>> after I've started ved, but I'd much rather have one window the default,
>> and switch to two if I want.
>
>I've got a line
>
>vedscreenlength -> vedstartwindow;
>
>at the end of my vedinit.p that makes ved start up full size.
 That does the job!  Thanks!
>               What I don't get is the possibility of two ved windows in
>the same xterm.
True, but your following code does fix that too:

>
>define vedsetwindowsize();
>    ;;; run vedsetwindow to switch between full and half window
>        vedsetwindow();
>
>    ;;; make new window size the default.
>        vedwindowlength -> vedstartwindow;
>enddefine;
>
>and if I bind it to esc-w by defining a vedinit() function in vedinit.p
>which includes the line
>
>vedsetkey('\^[w', "vedsetwindowsize");
>
>then I can get two ved windows in the same xterm.
 
>
>Hope that's of some use.
Very much so.  Thanks.
					-- Pete --