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

Re: NW=?? in settings.dfl



Reply to note from Judith Davidsen  Wed, 25
Apr 2001 02:04:11 -0400

> On my previous computer, running Xydos 4.014 and with NW=2 in
> settings.dfl, I can:
>
> 1. Call a file from the directory to a new window while keeping
> the directory in the old window, and
>
> 2. both store/save the file AND close the window by issuing ST
> .
>
> The current computer, running 4.018, refuses to do this no
> matter what the NW setting, and the Customization Guide seems
> to think it's not possible.

Judith:

It seems you discovered a "feature" (and a pretty good one at that!)
of XyDOS 4.014 that was brought back to spec in later versions. In
any case, Paul is right that there is no single value of NW which is
designed both to keep a directory displayed after a file is CAlled
and to close the window automatically when a file is ABorted or
STored.

The workaround I would suggest is to set default NW to 1 or 2, which
gives you the desired directory behavior, and to use 
instead of  or  with ABort and STore commands. The
latter requires adding a new frame (supplied below) to your Jumbo U2
file. Use the following procedure:

1) Issue DEC to convert the frame to working code.
2) CAll your U2 file and CoPy in the new frame.
3) Do NOT attempt to SAve or STore U2! Instead, issue LH.
4) Now ABort (or STore) U2.

The routine below supports all usage variants of the AB and ST
commands: AB, AB/NV (rare except in XPL), ST and ST[[/NV] filename].
(Unabbreviated command names, ABORT and STORE, are NOT supported.)
It automatically closes the current window and, for good measure,
any adjacent windows not in use.

To assign this enhanced STore (simple form) or ABort command to a
key, use:
nn=NOXHJM2,.,s,t,Q2
or
nn=NOXHJM2,.,a,b,Q2

Enjoy!

XPLeNCODE v2.0
b-gin [UNTITLED]
[cr|lf]{{;5ab,ab/nv,st,st/nv}} ABort|STore file & close unuse
d window(s) [CLD][cr|lf]{2};*;          Usage: AB[/
NV][cr|lf];*;              ST[[/NV] fi
lename][cr|lf][BX_]{<}SX01,{<}VA$FR{>}{>}{<}PV01{>}{
<}IF{<}VA|50{>}>0{>} {<}PV50{>}{<}EI{>}[Q2_];*;[cr|lf]{<}IF{<
}ER{>}{>}{<}EX{>}{<}EI{>}[BX_]wait[Q2_]{<}LBa{>}{<}IF{<}VA$WS
{>}<1&{<}VA$WO{>}>1{>}[BX_]rs[Q2_]{<}GLa{>}{<}EI{>}{2}[cr|lf]
[cr|lf]
-nd
XPLeNCODE

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