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

Re: Long Filename update



Carl,

You got me on the ambiguous antecedent. Yes, I meant LDIR.

I love that you don't have to use quotes with, e.g.,

LCD program files
just works. But when I get changed to that dir, and then do LDIR, the tildes are not visible, even though my DT default is 1. When I manually switch to XP view, they appear. Even doing LDIR/100 doesn't show the tildes.
But you have better things to think about than this! If I cared, which I
don't really, I could drop an XP into the frame.

Thanks for another U2 victory.

Regards,
Harry
Reply to note from Harry Binswanger  Sun, 31 Aug 2014
09:00:03 -0400

Harry:

> It doesn't seem to default to eXPanded view. Is it supposed to?

Not sure what you mean by "it". The only change involving eXPanded
view was in the LDIR command, so that the tildes in short filenames
are visible (given that the 1-byte tilde is most people's default
"discretionary hyphen" and thus displays only in eXPanded view in
XyWrite). Otherwise, the routines follow your default display type
(DT) setting. If your default is 1 (draft view), LNE My new long
file.txt will open the new file in draft view. Likewise, LCA
CAlls the file in the default DT. If you want to force a file to open
in a particular DT, use the /# switch with your LCA or LNE commands,
where # stands for the DT setting (substitute 100 for 0 to get
eXPanded view -- a quirk of the built-in Xy4 usage). For example,
LNE/100 My new XPL.PM opens the NEw file in eXPanded view,
regardless of the default setting. LCA/2 My Life Story.txt
opens the file in page-line view, regardess of the default DT setting.

I think it's apparent by now that double-quotes ("") are optional on
the CMline with LFNs that contain spaces. U2 supplies them
automatically. It's less typing but, more important, it conserves
precious space on the CMline. (Of course, if you're dealing with a
really long filename that won't fit on the CMline, there's always U2L.
Issue U2L to open a new long "CMline". Enter your long
command, then issue U2L again to execute. CML is the analog
routine for long native commands. Very handy.)

This is all working quite smoothly here. By all means let me know if
you encounter any glitches.

--
Carl Distefano
cld@xxxxxxxx