• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: shell script with top "can't get terminal attributes"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell script with top "can't get terminal attributes"?


  • Subject: Re: shell script with top "can't get terminal attributes"?
  • From: Gary Rogers <email@hidden>
  • Date: Mon, 11 Feb 2002 15:17:52 -0600

eep. I joined this list because I'm a UNIX admin looking to learn Applescript to provide a nice Aqua front-end to my shell and perl scripts.

Here are two good books for learning Shell Programming, and learning some nifty tricks.

UNIX Hints & Hacks by Kirt Waingrow ISBN 0-7897-1927-4
UNIX Shell programing by Arthur Burns.

Now...

Can anyone tell me where a Shell/Perl programer should start with Applescript?

On Monday, February 11, 2002, at 01:40 PM, Christopher Nebel wrote:

On Monday, February 11, 2002, at 06:14 AM, Charles Arthur wrote:

More generally, though, as one who's excited by this big hinterland
discovered in /usr/bin/ and /usr/sbin/ - in fact is standing there staring
like stout Cortez with eagle eyes and a wild surmise on this Pacific of
software - how does one find out what the hell all those programs *do*, and
which is the right one to do whatever with?

Is there a ready reference out there, or even buried OMM?

Well, there are the man (short for manual) pages already on your system. Fire up Terminal, type "man <command-name>", and there you are. (A useful variant is "apropos", which will give you a list of all commands that mention a keyword in their summary.) The trouble with man pages is that they're designed as a reference manual; if you don't already have a good idea of what command you want, then they're not very helpful [1].

If you want a tutorial to shell scripting, then I can't help you in more than very general terms. There have been any number of books written on the topic, so there are lots to choose from. O'Reilly books are of course well regarded, and I hear they've been putting some introductory stuff online for interested Mac OS X users.


--Chris Nebel
AppleScript Engineering

[1] On the other hand, if you've got the time and nerve, you can engage in dumpster diving, Unix style. Look in the various executable directories (/bin, /sbin, /usr/bin, /usr/sbin, and /usr/local/bin) for commands that sound interesting, and then see if there's a man page for them. You can also find good bits by chasing the cross-reference links at the bottom of most man pages.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: shell script with top "can't get terminal attributes"?
      • From: Charles Arthur <email@hidden>
    • Re: shell script with top "can't get terminal attributes"?
      • From: Shane Stanley <email@hidden>
References: 
 >Re: shell script with top "can't get terminal attributes"? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: shell script with top "can't get terminal attributes"?
  • Next by Date: Re: How to make a simple applescript work as a CGI? seems > IMPOSSIBLE!
  • Previous by thread: Re: shell script with top "can't get terminal attributes"?
  • Next by thread: Re: shell script with top "can't get terminal attributes"?
  • Index(es):
    • Date
    • Thread