🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problem with file extension changes

#230
From: James Rice
Date: Thu, 05 Jul 1990 17:30
33 lines
1510 bytes
>>  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 is caused by the fact that the pathname system is
recognising .TXT as being the canonical representation for
the :TEXT file type under VMS.  Maybe the easiest way to
"fix" this would be to remove the canonical file type for
:text, i.e. change:

fs:
(DEFINE-CANONICAL-TYPE :TEXT "TEXT"
  ((:TOPS20 :TENEX :VMS4) "TEXT" "TXT")
  (:UNIX "TX" "TEXT" "TXT")
  (:UNIX-UCB "TEXT" "TX" "TXT")
  ((:MSDOS :VMS) "TXT"))

into your prefered mapping.



Rice.
Technical Details
Message-ID: <2856187854-10395603@KSL-EXP-35>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!SUMEX-AIM.STANFORD.EDU!Rice

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!SUMEX-AIM.STANFORD.EDU!Rice
From: Rice@SUMEX-AIM.STANFORD.EDU (James Rice)
Newsgroups: comp.sys.ti.explorer
Subject: Re: problem with file extension changes
Message-ID: <2856187854-10395603@KSL-EXP-35>
Date: 5 Jul 90 17:30:54 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: inet
Organization: The Internet
Lines: 33