[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Getting rid of the ruler



Reply to note from Harry Binswanger  Mon, 13 Nov
2000 15:09:41 -0500

-> I have stuck SWf onto the end of my abort key (ctrl-a). Since
-> the line comes up only on aborting a window, I hope this will
-> take care of it.

It may or may not, depending on whether you have default NW set to
close windows automatically when a file is ABorted (or STored).

Naturally, I have NW=3, so that does happen.
Because, if the window closes, your SWf procedure is going to affect
the *adjacent* window, and if you've already taken the trouble to
resize that window, the full screen will be unwelcome. If you don't
often resize windows, this may not be much of an issue.
Almost never re-size them (except via XPL for certain purposes). Doesn't
seem to be a problem. I.e., works in the limited number of multi-window
occasions I've had so far.
 If you do,
you'll want to make SWf conditional on there being no file or
directory open in the window that gets focus after the ABort command
is executed; in other words, rig it so that only an empty window
reverts to full screen. Using the Jumbo U2 XMACRO (extended macro)
facility, you can assign that functionality to Ctrl-A with the
following assignment in TABLE=CTRL:

30=NOXHJM2,.,P,r,s,K,b,d,A,r,g,Q2x,m, ,B,X,a,b,/,n,v,Q,2,
[,I,F,[,V,A,$,W,S,],<,1,],COS,W,f,[,E,I,],NO

Hmmm. I see. If WS < 1 then SWf.

I presently have:

30=NO,XH,JM,(,2,.,a,b,+,),swf
to use the Abort+ facility that I think dates back to Smartset times. But I guess I could use Xmacro on an adapted version of the above.

Thanks, Carl.
Harry

Harry Binswanger
hb@xxxxxxxx