Author |
Topic |
|
llamaboy487
Full Member
USA
516 Posts |
Posted - 03 Nov 2002 : 14:36:08
i was just thinking about Terminal on OS X and looking at some screenshots os A/UX on applefritter... would it be possible to write a Command line terminal for the pre-X mac os?I know that if even possible this would be a massive undertaking but i've always been curious as to whats happening behind my Finder... is it possible, or is it just another one of my bad ideas (re: 68k evangelism) ------------- Special Ops, 578th Performa Division Fort Llama, Memphis Tennessee 68k Macs Liberated: 2
|
II2II
Junior Member
Canada
115 Posts |
Posted - 03 Nov 2002 : 14:59:21
quote:
would it be possible to write a Command line terminal for the pre-X mac os?
It already exists and it is free from Apple: MPW. The version on Apple's ftp site works under System 7.5.5 and later. I have a copy which works under System 7.1 (and maybe 7.0). I would love to get a copy which runs under System 6.x. Some of the unix utilities (awk, grep, sed come to mind) are available for MPW. Apple provides a rich set of commands which are similar to those found in a Unix environment. Since it is also a development environment, it is also easy for you to develop your own MPW tools. There are also a couple of lesser known alternatives out there, which somebody else may be able to comment on. Oh, and if you just want a unix environment which doesn't interact with Mac OS but, runs under Mac OS (rather than taking over your machine), there is Minix. II2II Intelligence officer in training. |
llamaboy487
Full Member
USA
516 Posts |
Posted - 03 Nov 2002 : 15:06:14
That is cool. i had no idea that something like that existed! im definitely gonna have to check that out. is there a page anywhere that has info about MPW? ------------- Special Ops, 578th Performa Division Fort Llama, Memphis Tennessee 68k Macs Liberated: 2 |
maclover5
LC Doctor/Hot Rodder
Australia
5830 Posts |
Posted - 03 Nov 2002 : 17:55:53
Odd...i thought that MPW was a programming app or something along those lines.-------------------------- Give your dreams a chance.™ - Apple in the mid '90s Warrior maclover5 68k Macintosh Liberation Army Number of 68ks Liberated: 6
|
II2II
Junior Member
Canada
115 Posts |
Posted - 03 Nov 2002 : 20:40:08
quote:
i thought that MPW was a programming app
It is, but the MPW shell (the core application in MPW) is a command line environment. MPW tools are command line utilities which are run from within the MPW shell. Such tools include variations on Unix commands, compilers, and assorted development tools. Here's the site: http://developer.apple.com/tools/mpw-tools/ When you first start the MPW shell it will look a lot like a text editor, so the thing to keep in mind is that it is not. To execute a command you simply type the command followed by <enter> or <open-apple><return>. The return key alone will not work. Sample commands include: files directory help II2II Intelligence officer in training. |
llamaboy487
Full Member
USA
516 Posts |
Posted - 04 Nov 2002 : 20:10:12
maybe we (the 68kmla) could mass our resources and try to put out an MPW for system 6? just a thought; all of the commands are specified at the ADC site.hehe or maybe this is another one of my stupid impossible ideas ------------- Special Ops, 578th Performa Division Fort Llama, Memphis Tennessee 68k Macs Liberated: 2 Edited by - llamaboy487 on 04 Nov 2002 20:14:10 |
maclover5
LC Doctor/Hot Rodder
Australia
5830 Posts |
Posted - 04 Nov 2002 : 20:51:04
Maybe. But yeah..i can't believe that they're offering it for free. I always thought it was an app you had to pay for that they discontinued years ago. -------------------------- Give your dreams a chance.™ - Apple in the mid '90s Warrior maclover5 68k Macintosh Liberation Army Number of 68ks Liberated: 6
|
II2II
Junior Member
Canada
115 Posts |
Posted - 04 Nov 2002 : 20:55:03
quote:
maybe we (the 68kmla) could mass our resources and try to put out an MPW for system 6
But it already exists, so it is just a matter of finding it! II2II Intelligence officer in training. |
markymark
Junior Member
223 Posts |
Posted - 04 Nov 2002 : 21:22:48
MPW is a bit of a strange thing. I've been using it for quite a while and I sort of know it's quirks. It's sort of like a Mac unix command line and it can take a while to get used to. It's got a Tools folder and the MPW shell loads the Tools on command. The C compiler MrC is based on the Mac Symantec C compiler and the C++ compiler MrCpp has quirks all of it's own especially with C++ templates. The 68k Asm compiler is pretty good for 68k programming. Of cource the MPW shell isn't just limited to Compilers it can use any MPW Tool that's written for it. The way it uses (doesn't use ) the return key is weird but you eventually get used to it.
|
II2II
Junior Member
Canada
115 Posts |
Posted - 04 Nov 2002 : 22:02:50
quote:
The way it uses (doesn't use) the return key is weird
It may be weird, but it also makes sense. The MPW shell doubles as a text editor. That is to say, you can use the output of a command as part of your document. The output can even serve as a command itself (such as compiler errors or warnings). Commands are also very easy to recall and modify as they are part of the document. You can also enter a series of commands using the return key to separate them (ie. do not execute the commands immediately) to create quick, throw-away scripts (simply highlight all of the commands and hit enter). Now if only Unix had such a powerful shell. Well, without learning lisp that is. II2II Intelligence officer in training. |
markymark
Junior Member
223 Posts |
Posted - 04 Nov 2002 : 22:17:36
MPW has a lot of features I've never got around to exploring and I'd say you could do quite a lot of automated tasks with it. I've only used it for the Compilers. btw macmint isn't too bad.
It's a unix like command line that's got a lot of similarities with linux. http://www.sra.co.jp/people/hoshi/macmint/index-e.html
|