This is an update to my Aug. 26th post on syncing XyWrite 4's screen dimensions with vDosXy's. This technique ensures that Xy4's screen length and screen width (defaults SL and SW) always correspond to the LINS = and COLS = settings in vDosXy's CONFIG.TXT. The one-time setup now only requires two steps (there is no longer any need to edit CONFIG.TXT): Step 1 In your AUTOEXEC.TXT file, make sure that the PATH statement includes the directory that has vDos.exe. This technique will NOT work otherwise! Step 2 In XyWrite, CAll SYNC.INT (attached to this message) and MErge its contents into STARTUP.INT anywhere below the lines that load SETTINGS.DFL and any printer files (i.e., below any SETP command). Post-positioning is critical since SETTINGS.DFL and printer files may introduce SL and SW settings that differ from the vDosXy-compliant values. The code snippet to be added to STARTUP.INT reads the LINS = and COLS = settings in the active CONFIG.TXT file and sets Xy's SL and SW defaults to the same values. Once you have it, screen mismatches between Xy4 and vDosXy will become a thing of the past. PS: For U2 users, here's an ENCODEd version of SYNC.INT (decode with DECODE): XPLeNCODE v2.0 (ENCODE.A3X) b-gin [UNTITLED] ;*;[cr|lf]{<}SX01,{<}VA=CONFIG.TXT,LINS = {>}{>}{<}IF" "{238}{<} IS01{>}==0{>}{<}SX01,{<}VA@01 2{>}{>}{<}EI{>};*;[cr|lf]{<}SX02 ,{<}VA=CONFIG.TXT,COLS = {>}{>}{<}IF" "{238}{<}IS02{>}==0{>}{<} SX02,{<}VA@02 2{>}{>}{<}EI{>};*;[cr|lf]{<}IF{<}VA{021}01{>}{043} {<}VA{021}02{>}<2{>}{<}IF{<}VA{021}01{>}<1{>}{<}SX01,{<}VA=CON FIG.TXT,LINS={>}{>}{<}EI{>};*;[cr|lf]{<}IF{<}VA{021}02{>}<1{>} {<}SX02,{<}VA=CONFIG.TXT,COLS={>}{>}{<}EI{>}{<}EI{>};*;[cr|lf] {<}IF{<}VA{021}01{>}{043}{<}VA{021}02{>}>1{>}[BX_]d sl={<}PV01 {>},sw={<}PV02{>}[Q2_]{<}EI{>};*;[cr|lf];*;[cr|lf] -nd XPLeNCODE -- Carl Distefano cld@xxxxxxxx Attachment: SYNC.INT
Description: Binary data