🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ti.explorer
Article #231

problem with file extension changes

#231
From: Stephen L. Nicoud
Date: Thu, 05 Jul 1990 20:13
31 lines
1822 bytes
    Date: 4 Jul 90 18:00:03 GMT
    From: m2c!umvlsi!dime!krovetz@husc6.harvard.edu

    When I write out a file (using C-X C-W), and I try to change some part of
    the pathname, the system will also change the file type from TXT to TEXT.
    Does anyone know how to prevent this?  This only appears to happen with
    TXT files and it causes me to end up with different versions of the same
    file (some with TXT and some with TEXT).  I usually do this when the host
    on which I read the file has crashed and I wish to write it to a different
    host.  The hosts are clustered under VMS, so it doesn't matter which one
    I use.

    Thanks,
    Bob

    krovetz@cs.umass.edu

This probably has to do with canonical file types on the Explorer.  I
believe the canonical file type :TEXT translates to the VMS file extension
"TXT".  But on the Explorer it translations to "TEXT".  Look at the
variables: FS:*CANONICAL-TYPES-ALIST* & FS:*DEFAULT-CANONICAL-TYPES* (I'm
guessing at the names of these variables, it's been awhile since I've
messed with 'em).   The I/O Ref Manual might yield some help on how to
adjust these variables to get the behavior you want.

One workaround, that I know this is not very convenient, is when you do c-x
c-w specify the pathname type and that should override the Explorer's
defaulting to the canonical file type.

Steve
Technical Details
Message-ID: <19900705201323.3.SLN@SKAGIT.atc.boeing.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ATC.BOEING.COM!snicoud

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ATC.BOEING.COM!snicoud
From: snicoud@ATC.BOEING.COM (Stephen L. Nicoud)
Newsgroups: comp.sys.ti.explorer
Subject: problem with file extension changes
Message-ID: <19900705201323.3.SLN@SKAGIT.atc.boeing.com>
Date: 5 Jul 90 20:13:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: inet
Organization: The Internet
Lines: 31