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

Re: CLRW



Reply to note from Edward Mendelson <em36@xxxxxxxxxxxx> Mon, 3 Jan 2022
09:48:32 -0500

Edward, I'll try to break it down into discrete steps.

> To start with, how did you set 100 columns - in the configuration
> file or at the command line with config -set?

I did it manually, with "config -set cols=100", but the result should
be the same if you use the configuration file.

> what commands in your startup.int are related to the window?
> settings

To set 100 columns and 35 rows as your working default, your
startup.int would have:

BX d sw=100,sl=35Q2 ;*;

The position of the line within startup.int isn't critical, but I would
put it towards the bottom, after the line that loads the printer file.
Then, to force full screen in window #1:

BX window 1Q2 ;*;

What printer file are you loading? In my screenshot I'm using
POSTGHST.PR4, which is based closely on Robert Holmgren's PostScript
printer file for XyWrite 4.

I suppose a follow-up question would be, How are you loading the
printer file? In Xy3 a simple LOAD (or LDPRN) command does it; in Xy4,
however, there should be a PP: table in SETTINGS.DFL, which lists the
various printer files alongside the port (typically, LPT1 or LPT2) to
use with the corresponding printer file. My table looks like this:

PP:7
1	X:\XY4\POSTGHST.PR4	PostScript
1	X:\XY4\PCL.PR4	HP/PCL
1	X:\XY4\EPSON.PR4	Epson
1	X:\XY4\STANDARD.PRN	Standard
1	X:\XY4\NO.PRN	Null printer
2	X:\XY4\POSTGHST.PR4	PS select printer
2	X:\XY4\PCL.PR4	PCL select printer

To load a printer file from the table, use the SETP command. SETP 1
loads the first file, and so on.

Other things being equal, the above should enable you to reproduce my
screenshot. For convenience, I put a ZIP file with POSTGHST.PR4 and my
XyWrite 4 test document here:

https://xywwweb.ammaze.net/dls/Xy4-100cols.zip

I hope this helps.

--
Carl Distefano
cld@xxxxxxxxxx
®UFcourier¯®SZ10PT¯®LM3DI¯®RM92DI¯ <=> ÿAEUFcourierÿAFÿAESZ10ptÿAFÿAELM3DIÿAFÿAERM92DIÿAF

-=-=-=-=-=-= 03-Jan 01:22:03 Message [3 of 3] =-=-=-=-=-=-
Return-Path: <xywrite-bounce@xxxxxxxxxxxxx>
From: Edward Mendelson <em36@xxxxxxxxxxxx>
Subject: Re: CLRW
Message-Id: <777EDB80-3C84-40C8-B796-795B990208D1@xxxxxxxxxxxx>
Date: Sun, 2 Jan 2022 22:04:34 -0500
To: xywrite@xxxxxxxxxxxxx
Reply-To: xywrite@xxxxxxxxxxxxx

After Fred made me see that I was imagining that my Set Window width setting had any effect (thanks to an ill-considered change I had made in the code), I've now uploaded a version with the Set Window width setting actually works. I can now set the window to 100 columns wide, but I haven't the faintest idea of how to make XyWrite work in that setting. Changing the BC Window command from 80 to 100 doesn't seem to do any good. Possibly Carl can help?

Anyway, continuing my lack of support, you can change the screen real-estate by holding down the Option key on startup, choose Edit bas configuration file, and experiment with the winperc (window size as percentage of the screen size) setting. I simply don't know how the point size setting and the winperc setting interact, and haven't experimented. I suspect that the setting that appears second in the file is the one that takes precedence, but that's only a guess.

You can experiment with these settings from the DOSBox-X command line, like this:

config -set winperc=60

or 

config -set cols=100