🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #19788

Saving info with text files (repost)

#19788
From: Tom Carstensen
Date: Fri, 02 Oct 1987 23:18
36 lines
1890 bytes
We haven't been recieving any news, so I'm reposting
this in hope for some responses.


Most text editors save information (such as font,
fontsize, tabs, etc) in the resource fork of the
text file.
   Every text editor used on the file adds to 
the list of resources.

THE SCENARIO:  I Have just saved a text file with my
own text editor which uses a resource file to store
such information.  Now I use two other editors, which
when selecting SAVE add their own resource information.
This text file STILL has a CREATOR type from my text
editor                                              .

QUESTION:  Should my text editor delete the others resources
from the text file when it save the file again?

I beleive that the text file should only contain resource
information that is associated with it's CREATOR field.
Therefore, when I save to my text editor-text files, I should
delete other resources.  But when I am saving to someone elses
text file, I should not delete them, and I SHOULD NOT put 
my own their.

Having everyone add thier resources to the file seems wasteful,
and could get ridiculous.

Well?

:------------------------------------------------------------:
: Tom Carstensen              Usenet: tomc@mntgfx.MENTOR.COM :
: Mentor Graphics             GEnie:                         :
:------------------------------------------------------------:
Technical Details
Message-ID: <944@mntgfx.MENTOR.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!tomc

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!tomc
From: tomc@mntgfx.MENTOR.COM (Tom Carstensen)
Newsgroups: comp.sys.mac
Subject: Saving info with text files (repost)
Message-ID: <944@mntgfx.MENTOR.COM>
Date: Fri, 2-Oct-87 19:18:20 EDT
Article-I.D.: mntgfx.944
Posted: Fri Oct  2 19:18:20 1987
Date-Received: Wed, 7-Oct-87 00:55:38 EDT
Organization: Mentor Graphics, Beaverton OR
Lines: 36