Re: shell script with top "can't get terminal attributes"?
Re: shell script with top "can't get terminal attributes"?
- Subject: Re: shell script with top "can't get terminal attributes"?
- From: Charles Arthur <email@hidden>
- Date: Mon, 11 Feb 2002 14:14:32 +0000
At 11:19 pm -0800 10/2/2002, Christopher Nebel wrote:
(re)
>
>> In 10.1.2 I tried
>
>> do shell script "/usr/bin/top"
>
>>
>
>> However this threw back
>
>> "can't get terminal attributes".
..
>
However, a quick look at the man page reveals the "-l" option, which
>
"switches from the default screen mode to a logging mode suitable for
>
saving the output to a file." Use 'do shell script "top -lw"' and
>
you'll be fine.
Thanks, Chris.
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?
Charles
----------------------------
http://www.ukclimbing.com : 1100+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. And there's even a cool shop attached.
Enter the photo competition!
http://www.ukclimbing.com/general/competition.html
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
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.