[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: generalized startup.int
- Subject: Re: generalized startup.int
- From: cld@xxxxxxxx (Carl Distefano)
- Date: Fri, 01 Nov 2002 14:58:45 +0000
Myron:
See http://users.datarealm.com/ammaze/xfer/portable.zip
Jumbo U2 users can DECODE it here:
XPLeNCODE v2.0
b-gin [UNTITLED]
;*; ≪Read and edit this file in eXPanded view!≫;*;[cr|lf];*
; {<}LM{>}{<}RM{>}{<}OF0,0{>}{<}IP{>}[cr|lf];*;[cr|lf];*; Tem
plate for a Portable Xy4|XyWin (rev. 6/22/02):[cr|lf]--------
--------------------------------------------;*; [cr|lf];*; Wh
at this file does: Lets you delete hard-coded path settings[c
r|lf];*; (including printer filenames) from SETTINGS.DFL and/
or XWSET.DFL and[cr|lf];*; move them into STARTUP.INT and/or{032}
XWSTART.INT as relative paths using[cr|lf];*; the main Xy pro
gram directory as the base directory.[cr|lf];*;[cr|lf];*; Why
this is a Good Thing: Relative paths let you move Xy from on
e[cr|lf];*; computer to another by simply copying the program
files (including[cr|lf];*; all subdirectories) to the new di
sk instead of reinstalling.[cr|lf];*; ----[cr|lf];*;[cr|lf];*
; Critical Assumptions:[cr|lf];*; A) All customization files{032}
and other XyWrite program files are located[cr|lf];*; either{032}
in the directory that contains EDITOR.EXE|XW.EXE (i.e., the d
ir ;*; specified in {<}VA$ED{>}) or in a subdirectory of that
directory.[cr|lf];*;[cr|lf];*; B) The drive and dir in {<}V
A$ED{>} are the *current* drive and directory[cr|lf];*; when{032}
STARTUP.INT executes. To ensure that this is so, MoVe the[cr
|lf];*; following code (everything between the broken lines -
---- ) to the top[cr|lf];*; of STARTUP.INT, so that it's the{032}
first thing that executes:[cr|lf];*; -----[cr|lf];*; Save {<}
VA$ED{>} directory to S/G 01;[cr|lf];*; then log on to that d
rive and directory:[cr|lf]{<}SV01,{>}{<}SX02,{<}VA$ED{>}{>}{<
}SV03,\{>}{<}LB&{>}{<}XS02,03,04,,05{>}{<}IF{<}VA|01{>}>0{>}{
<}SX01,{<}IS01{>}+"\"{>}{<}EI{>}{<}SX01,{<}IS01{>}+{<}IS04{>}
{>}{<}IF{<}IS05{>}{240}"\"{>}{<}SX02,{<}IS05{>}{>}{<}GL&{>}{<
}EI{>}{<}SX02,{<}VA@01:1{>}{>}[BX_]{<}PV02{>}:[Q2_][BX_]wait[
Q2_][BX_]cd {<}PV01{>}[Q2_][BX_]wait[Q2_];*;[cr|lf];*; -----[
cr|lf];*;[cr|lf];*; C) All LOAD commands and other file-handl
i
ng commands in STARTUP.INT[cr|lf];*; either OMIT the drive an
d path (if the file is located in the[cr|lf];*; {<}VA$ED{>} d
irectory) or use Save/Get 01 to refer to the subdirectory of[
cr|lf];*; that directory where the file is located. For exam
ple, either[cr|lf];*; [BX_]load my.kbd[Q2_]or [BX_]load {<}PV
01{>}\myfiles\my.kbd[Q2_];*;[cr|lf];*;[cr|lf];*; Instructions
:[cr|lf];*; (1) Back up SETTINGS.DFL (Xy4) and/or XWSET.DFL (
XyWin)[cr|lf];*; (2) *Carefully* edit paths, printer filename
s and PP:# number below[cr|lf];*; as necessary; do not{032}
change anything else[cr|lf];*; (3) MErge this entire file (or
at least the portion that appears below[cr|lf];*; thes
e instructions) into STARTUP.INT or XWSTART.INT[cr|lf];*; {032}
immediately after the line that loads the .DFL file and *b
efore*[cr|lf];*; any SETP command. Alternatively, copy
this file to your Xy[cr|lf];*; directory and insert a{032}
new line in STARTUP.INT, at the[cr|lf];*; location desc
ribed in the previous sentence, consisting of[cr|lf];*; {032}
"[BX_]run PORTABLE.INT[Q2_];*;" (minus the quotation marks).
[cr|lf];*; (4) *Carefully* delete the corresponding lines fro
m the .DFL file and[cr|lf];*; SAve .DFL.[cr|lf];*; (5){032}
Quit and restart XyWrite[cr|lf];*; --------------------------
-------[cr|lf];*; [cr|lf];*; Save path in {<}VA$ED{>} to Save
/Get 01:[cr|lf]{<}SV01,{>}{<}SX02,{<}VA$ED{>}{>}{<}SV03,\{>}{
<}LB*{>}{<}XS02,03,04,,05{>}{<}IF{<}VA|01{>}>0{>}{<}SX01,{<}I
S01{>}+"\"{>}{<}EI{>}{<}SX01,{<}IS01{>}+{<}IS04{>}{>}{<}IF{<}
IS05{>}{240}"\"{>}{<}SX02,{<}IS05{>}{>}{<}GL*{>}{<}EI{>};*;[c
r|lf];*;[cr|lf];*; Set default paths (moved from SETTINGS.DFL
)[cr|lf][BX_]d AOP={<}PV01{>}\[Q2_][BX_]d AOT=3,15[Q2_];*; Au
tosave path & time settings[cr|lf][BX_]d GP={<}PV01{>}\[Q2_];
*; Graphics path[cr|lf][BX_]d NL={<}PV01{>}\[Q2_];*; Network{032}
log files[cr|lf][BX_]d OL={<}PV01{>}\BTFONTS\[Q2_];*; Outline
screen fonts[cr|lf]
[BX_]d WW={<}PV01{>}\FILTERS\[Q2_];*; Conversion filters[cr|l
f][BX_]d XY={<}PV01{>}\BTFONTS\[Q2_];*; Location of SCRFONTS.
BIN[cr|lf];*;[cr|lf];*; Paths saved to Save/Gets Used by XY4{032}
Menu|DiaLoG files[cr|lf][BX_]d/nv SG1900={<}PV01{>}\DOCS\[Q2_
];*;[cr|lf][BX_]d/nv SG1906={<}PV01{>}\[Q2_];*;[cr|lf][BX_]d/
nv SG1908={<}PV01{>}\[Q2_];*;[cr|lf];*;[cr|lf];*; Load Printe
r (PP:) table (moved from SETTINGS.DFL)[cr|lf][BX_]exist PP.P
RN[Q2_]{<}IF@NOT({<}ER{>}){>}[BX_]ernv PP.PRN[Q2_][BX_]wait[Q
2_]{<}EI{>};*;[cr|lf]{<}SX02,";PR;[cr|lf];[cr|lf]PP:3[cr|lf];
|_PP: number means the number of printer files listed below
[cr|lf]; Format is:[cr|lf]; Port{tab}Printer filename{tab}Des
cription[cr|lf]1{tab}"+{<}IS01{>}+"\HPLJ-2P.PRN{tab}HP LaserJ
et IIP[cr|lf]1{tab}"+{<}IS01{>}+"\CLD4-PS.PRN{tab}PostScript{032}
via GoScript (35 fonts)[cr|lf]1{tab}"+{<}IS01{>}+"\XYWBMAIL.P
RN{tab}XyWWWeb Mail Formatter[cr|lf];[cr|lf]"{>}[BX_]sa %02,P
P.PRN[Q2_][BX_]wait[Q2_][BX_]load PP.PRN[Q2_][BX_]wait[Q2_];*
;[cr|lf];*;[cr|lf]
-nd
XPLeNCODE
--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/
> Is there a way to modify startup.int and settings.dfl for Xy 4 so that they
> can be used in a number of different drives?
>
> Here's the background: My primary computer has Xy in C:\xy4, so
> startup.int and settings.dfl specify file locations as beginning with "C:\"
> I sometimes run XyWrite from a floppy (usually "A:"), a Zip disk or (now) a
> USB "thumb" drive ("E:", "F:", or "G:"). The drive letter for these other
> sources varies according to what else is attached to the computer, and the
> order in which they were attached.
>
> XyWrite seems to want fully specified file names when setting defaults. I
> seem to recall that xpl provides a way to determine the location of
> editor.exe, but I don't know how to use this to provide a
> substitute/variable for "C:\".
>
> Myron
>