home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / oop / misc / 79 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  2.1 KB

  1. Xref: sparky comp.sys.mac.oop.misc:79 comp.sys.mac.programmer:19709
  2. Path: sparky!uunet!think.com!enterpoop.mit.edu!eru.mt.luth.se!kth.se!hemul.nada.kth.se!d88-jwa
  3. From: d88-jwa@hemul.nada.kth.se (Jon Wtte)
  4. Newsgroups: comp.sys.mac.oop.misc,comp.sys.mac.programmer
  5. Subject: Re: Summary: I'm faint! I just saw the price for MPW!
  6. Message-ID: <1992Dec11.232957.24528@kth.se>
  7. Date: 11 Dec 92 23:29:57 GMT
  8. References: <01050133.ksdp2c@distant.uucp> <1992Dec11.195344.10218@reed.edu> <1992Dec11.155851.14862@walter.cray.com>
  9. Sender: usenet@kth.se (Usenet)
  10. Organization: Royal Institute of Technology, Stockholm, Sweden
  11. Lines: 41
  12. Nntp-Posting-Host: hemul.nada.kth.se
  13.  
  14. In <1992Dec11.155851.14862@walter.cray.com> toma@baritone (Thomas Arneberg) writes:
  15.  
  16. >Can someone tell me how similar MPW is to the C-shell in Unix? I've been an
  17.  
  18. Not very.
  19.  
  20. >never PROGRAMMED on the Mac. I'm too hooked on vi, make, history (!), grep, 
  21. >awk, pipes, shell scripts, and other features of Unix on my SparcStation.
  22.  
  23. Vi: not a chance unless you get an external editor.
  24. Make: included
  25. History: Everything you do, is saved in a window (worksheet) both input
  26.          and output, fully editable. You can "execute" any line or
  27.          selection.
  28. Grep: Compiled GNU grep & egrep without problems, also "Find" does
  29.       another similar kind of RE.
  30. awk: Has been ported, as has perl.
  31. pipes: Pseudo-pipes, using files as intermediaries I think. Can only
  32.        go one way (and there+s no "pipe" system call)
  33. Shell scripts: MPW scripts out the kazoo. MPW shell is not exactly like
  34.                csh or sh, but at least as powerful.
  35.  
  36. What's on the horizon is AppleEvents for having scripts control
  37. a bunch of stuff; will be way cool!
  38.  
  39. >Also, isn't it true that MPW is the only platform on which you can program
  40. >in C++? If not, what other product is there? (A related question -- does
  41. >anyone know if MPW C++ supports templates?)
  42.  
  43. Yes and no. Think C will probably be Think C++ next year. MPW C++ is
  44. CFront 2.1, which has no templates. Use StreamEdit, the Mac variant
  45. of sed :-)
  46.  
  47. Cheers,
  48.  
  49.                             / h+
  50.  
  51. -- 
  52.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  53.  
  54.   "On a clear disc, you can seek forever."
  55.