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

Re: Getting rid of the ruler



Reply to note from Harry Binswanger  Sun, 12 Nov
2000 02:29:58 -0500

-> >You can assign nn=SWf in your keyboard file to restore full
-> >screen any time, at the tap of a key.
->
-> That's a possible solution, but there's no settings.dfl setting
-> to eliminate the bottom border line from the window
-> permanently?

It's the only solution. Window size is always an "immediate"
command, either func SW plus a one-letter parameter (e.g., f for
full screen), or WINDOW window#,left_offset,top_offset,width,length.
In Xy4, a generic full-screen restore using the WINDOW command has
to take DOS screen width and screen length into account, and adjust
for the presence or absence of the ruler (see sample code below).
Func SWf automatically adjusts for DOS screen size and is easily
added to the .KBD file, so I'd opt for that.

By the way, Jumbo U2 command WT provides a convenient 3-way
Window Toggle: Horizontal split - Vertical split - Full screen.
(DOS only.)


XPLeNCODE v2.0 - Command DECODE to decode
b-gin [UNTITLED]
;*; Restore Full Screen in Xy4|XyWin|NBWin [CLD][cr|lf];*;[cr
|lf];*; For XyWin|NBWin, use MS-Windows function:[cr|lf]{<}IF
{<}VA\1222{>}=="F-WINDOWS"{>}[MW_]wf{<}EX{>}{<}EI{>};*;[cr|lf
];*;[cr|lf];*; XyDOS:[cr|lf];*; Get current Window Number, Sc
reen Width and Screen Length[cr|lf];*; Subtract 3 lines from{32}
Screen Length for command header, PRompt & ruler[cr|lf]{<}SX0
1,{<}VA$WN{>}{>}{<}SX02,{<}VA$SW{>}{>}{<}SX03,{<}VA$SL{>}-3{>
};*;[cr|lf];*;[cr|lf];*; Add back 1 line to Screen Length if{32}
no ruler[cr|lf]{<}IF{<}VA$NR{>}<1{>}{<}SX03,{<}PV03{>}+1{>}{<
}EI{>};*;[cr|lf];*;[cr|lf];*; Execute WINDOW command [cr|lf][
BX_]window {<}PV01{>},0,0,{<}PV02{>},{<}PV03{>}[Q2_]{<}EX{>}[
cr|lf][cr|lf]
-nd
XPLeNCODE

--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/