home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18299 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!uka!s_titz
  2. From: s_titz@ira.uka.de (Olaf Titz)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Data forks?
  5. Date: 12 Nov 1992 09:32:34 GMT
  6. Organization: Fachschaft math/inf, Uni Karlsruhe, FRG
  7. Lines: 24
  8. Distribution: usa
  9. Message-ID: <1dt8biINNakp@iraul1.ira.uka.de>
  10. References: <1992Nov11.062320.9742@athena.mit.edu> <1992Nov12.010125.2744@reed.edu>
  11. NNTP-Posting-Host: irau29.ira.uka.de
  12.  
  13. In article <1992Nov12.010125.2744@reed.edu> bowman@reed.edu (BoBoRamDos) writes:
  14. >In article <1992Nov11.062320.9742@athena.mit.edu> tlspurli@athena.mit.edu (Terry Spurling) writes:
  15. >>I have an INIT that, on startup, puts a random quote on the screen and I was wondering how could I view the contents of the data fork to add quotes.Can I use Resedit? and if so How?
  16. >
  17. >Use Get File Info in ResEdit to make the file a type TEXT, then use your
  18. >favorite word processor to open.  TEXT files store their text in the data
  19.           ^^^^^^^^^^^^^^
  20. >fork.  ResEdit *cannot* read the data fork (unless there's some feature I
  21. >don't know about).
  22.  
  23. Use a simple *editor* instead, or you'll be surprised about what stuff
  24. those fancy word processors will put into both forks of your file and
  25. still claim it were 'TEXT'.
  26.  
  27. Another possibility: to read the text not from the data fork at all,
  28. but from a TEXT resource, which can be edited via ResEdit. (But the
  29. data fork method is simpler to maintain.)
  30.  
  31. olaf
  32. -- 
  33. | Olaf Titz - comp.sc.student  |   o     | uknf@dkauni2.bitnet | old address |
  34. | univ. of karlsruhe - germany |  _>\ _  | s_titz@ira.uka.de   | is still    |
  35. | +49-721-60439                | (_)<(_) | praetorius@irc      | valid       |
  36.    "Stop talkin' and start chalkin'!" - Eight Ball Deluxe
  37.