[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Couple of glitches
- Subject: Couple of glitches
- From: Patricia M Godfrey pmgodfrey@xxxxxxxx
- Date: Thu, 10 Jul 2003 12:32:47 -0400
It sounds as if there's a ≪FR≫ command hidden somewhere. Try this:
create a blank file, then Command VA/NV FC and execute. If the prompt
line displays FR, then you know there's a XyW default set somewhere to
Flush Right. You can fix it by including somewhere in STARTUP.INT,
SETTINGS.DFL, or your printer file, but I dislike that sort of brute
force method. Carl had a post on searching for functions last Feb. that I
append here (no point sending you to XySearch when I have the file on my
drive), with which you might be able to locate where it's set.
On the other hand, if Xy reports FC to be FL, then you're dealing with
Windows weirdness and a complete reinstall may be your only option.
(That's why I got a new system: about March, I suddenly got "Insufficient
memory to perform function" messages when I tried to run XyWin. Then in
April, XyDos refused to load. I tweaked the PIF properties, tried first
going to a DOS Prompt, all to no avail. It will run if I reboot to DOS,
but not from within Windoesn't. At which point I decided that if I had to
do a complete reinstall--after having just done one in January--by golly
I would do it on new hardware. A pox on Redmond rubbish!)
By the way, a clarification: FC is both the command for "flush center"
and the name of the default that specifies whether alignment is left
(FL), center (FC), or right (FR). No doubt they have different HEX
values. (This from Tyson's XyWrite Revealed).
Patricia
Carl's post from Feb. follows:
From: cld@xxxxxxxx (Carl Distefano)
To: XyWrite List
Date: Sat, 15 Feb 2003 00:21:43 -0500
Subject: Re: Search/Replace Func Characters?
Message-ID: <200302150521.h1F5LhLf000757@xxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain
Reply to note from Brian.Henderson@xxxxxxxx Fri, 14 Feb 2003
09:06:44 -0800
Brian:
> I don't recall seeing this discussed before (probably because
> it's such a ridiculous question), but can the function
> characters (BX, XC, XD, etc) be searched/replaced in any way?
What's ridiculous about it? It's a perfectly sensible question.
The answer is yes. In a couple of ways. One, as Tim points out,
you can use the /FN switch and Ascii-11 (not 12) prefix. For
example:
cv/fn "[11]bc"Func BC [Blank the command line]"
A more elegant alternative is to drop the /FN switch and put the
actual 3-byte function on the CMline as part of the command. Either
of U2 routines PFUN or PFUNC enables this. You type the two-char
mnemonic, it produces the 3-byte func; if the cursor is on the
CMline, it will put the func on the CMline. You need to assign the
routine to a key: nn=NOXHJM(,2,.,p,f,u,n,c,)
Using this method, the command above would look like this (issue
DECODE to decode it):
XPLeNCODE v2.0
b-gin [UNTITLED]
cv "[BC_]"Func BC [Blank the command line]"[cr|lf][cr|lf]
-nd
XPLeNCODE
To do search and replace on functions in XPL, you can put the
functions in a BX...Q2 statement. For example, the above command
would be:
XPLeNCODE v2.0
b-gin [UNTITLED]
[BX_]cv "[BC_]"Func BC [Blank the command line]"[Q2_];*;[cr|l
f][cr|lf]
-nd
XPLeNCODE
Search and replace on functions is discussed, with examples, in
BX.TXT. It can be downloaded at the XyWWWeb site.
--
Carl Distefano
cld@xxxxxxxx