🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ti.explorer
1 messages
1 total messages Started by James Rice Thu, 05 Jul 1990 17:30
Re: problem with file extension changes
#230
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads