From luomat at gmail.com Mon Aug 6 11:12:03 2007 From: luomat at gmail.com (TjL) Date: Mon Aug 6 11:12:30 2007 Subject: [X-Unix] screencapture doesn't capture 2nd monitor Message-ID: What I am trying to accomplish: Take full-screen screenshots at a timed interval (using cron) It's working, partly. The screenshots are taken at a timed interval. Except that it is only capturing ONE of my two monitors (I have a Macbook + external) Looking at the man page (excerpt below) makes it sound like the default should be to capture both monitors unless you use the -m flag NAME screencapture -- capture and manipulate clipboard contents SYNOPSIS screencapture [-SWcimswx] file DESCRIPTION The screencapture utility is not very well documented to date. A list of options follows. ... -i Capture screen interactively, by selection or window. The con- trol key will cause the screen shot to go to the clipboard. The space key will toggle between mouse selection and window selec- tion modes. The escape key will cancel the interactive screen shot. -m Only capture the main monitor, undefined if -i is set. So there's no way to tell it "Capture both monitors" because it seems to be setup to do that by default. Except that it doesn't work for me. Anyone have any other ideas? TjL ps - I wrote a little shell script here that I am calling via cron http://tj.tntluoma.com/files/take-full-screenshots.sh which lets me easily toggle what format the screenshots are in and saves them all in a specific place From sforbes42 at earthlink.net Mon Aug 6 12:19:05 2007 From: sforbes42 at earthlink.net (Scott Forbes) Date: Mon Aug 6 12:19:17 2007 Subject: [X-Unix] screencapture doesn't capture 2nd monitor In-Reply-To: References: Message-ID: <04028732-F718-43C4-8422-22922F0C7066@earthlink.net> On Aug 6, 2007, at 11:12 AM, TjL wrote: > So there's no way to tell it "Capture both monitors" because it > seems to be setup to do that by default. screencapture s1.png s2.png Will capture two monitors to those two files. I think the reason they did it this way is that it allows capturing monitors of different heights without needing to add filler. --Scott From ecrist at secure-computing.net Mon Aug 6 12:50:25 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Mon Aug 6 12:50:34 2007 Subject: [X-Unix] screencapture doesn't capture 2nd monitor In-Reply-To: <04028732-F718-43C4-8422-22922F0C7066@earthlink.net> References: <04028732-F718-43C4-8422-22922F0C7066@earthlink.net> Message-ID: On Aug 6, 2007, at 2:19 PMAug 6, 2007, Scott Forbes wrote: > On Aug 6, 2007, at 11:12 AM, TjL wrote: > >> So there's no way to tell it "Capture both monitors" because it >> seems to be setup to do that by default. > > screencapture s1.png s2.png > > Will capture two monitors to those two files. I think the reason > they did it this way is that it allows capturing monitors of > different heights without needing to add filler. > > On this same topic, is there any way to get QuickTime or iTunes (or anything) to use ONLY the secondary monitor when I want to go full screen? I'm trying to watch a video, at full screen on my secondary monitor and have it allow me to work on my main monitor. ----- Eric F Crist Secure Computing Networks From sforbes42 at earthlink.net Mon Aug 6 13:33:42 2007 From: sforbes42 at earthlink.net (Scott Forbes) Date: Mon Aug 6 13:33:51 2007 Subject: [X-Unix] screencapture doesn't capture 2nd monitor In-Reply-To: References: <04028732-F718-43C4-8422-22922F0C7066@earthlink.net> Message-ID: <174243B2-6C67-4BFE-BA1B-F5C03D9B5DE6@earthlink.net> On Aug 6, 2007, at 12:50 PM, Eric F Crist wrote: > On this same topic, is there any way to get QuickTime or iTunes (or > anything) to use ONLY the secondary monitor when I want to go full > screen? I'm trying to watch a video, at full screen on my secondary > monitor and have it allow me to work on my main monitor. Strange-- it works for me. The trick may be that I put the iTunes window on the second screen. Try restarting iTunes after that too. --Scott From luomat at gmail.com Mon Aug 6 18:10:04 2007 From: luomat at gmail.com (TjL) Date: Mon Aug 6 18:10:40 2007 Subject: [X-Unix] screencapture doesn't capture 2nd monitor In-Reply-To: <174243B2-6C67-4BFE-BA1B-F5C03D9B5DE6@earthlink.net> References: <04028732-F718-43C4-8422-22922F0C7066@earthlink.net> <174243B2-6C67-4BFE-BA1B-F5C03D9B5DE6@earthlink.net> Message-ID: <4968B69D-3813-446D-A455-4F1A55E14AE3@gmail.com> On Aug 6, 2007, at 4:33 PM, Scott Forbes wrote: > > On Aug 6, 2007, at 12:50 PM, Eric F Crist wrote: > >> On this same topic, is there any way to get QuickTime or iTunes >> (or anything) to use ONLY the secondary monitor when I want to go >> full screen? I'm trying to watch a video, at full screen on my >> secondary monitor and have it allow me to work on my main monitor. > > Strange-- it works for me. The trick may be that I put the iTunes > window on the second screen. Try restarting iTunes after that too. I believe there is a QT preference setting that appears when you attach a 2nd monitor. TjL From dowda at coraconnection.com Mon Aug 6 21:21:55 2007 From: dowda at coraconnection.com (David Gilden) Date: Mon Aug 6 21:22:20 2007 Subject: [X-Unix] TOP and processes In-Reply-To: <20050217003206.23DE1303805@listserver.themacintoshguy.com> Message-ID: Greetings, I ran 'Top' and saw processes that I could not identify. Could someone explain what 'aped' and 'ntpd' are for, I was thinking that I might have some rouge spy wear or some such crap on my system (OSX Tiger 10.4.10) sample: ------ 86 Internet E 0.5% 7:21.99 8 147 219 9.23M 16.7M 20.2M 205M 274 ntpd 0.0% 0:00.32 1 11 18 176K 524K 312K 26.9M 259 Default Fo 0.0% 0:01.21 3 169 137 2.05M 11.3M 14.0M 192M 224 aped 0.0% 0:00.32 1 53 27 404K 816K 1.14M 27.3M 221 mdimport 0. ...snip.... Thanks! Dave G. ================================================ Cora Connection: Your West African Music Source Resources, Recordings, Instruments & More! ================================================ -- "Freedom of the press belongs to those who own one." A.J. Liebling From sforbes42 at earthlink.net Mon Aug 6 21:48:00 2007 From: sforbes42 at earthlink.net (Scott Forbes) Date: Mon Aug 6 21:48:23 2007 Subject: [X-Unix] TOP and processes In-Reply-To: References: Message-ID: On Aug 6, 2007, at 9:21 PM, David Gilden wrote: > I ran 'Top' and saw processes that I could not identify. > > Could someone explain what 'aped' and 'ntpd' are for, > I was thinking that I might have some rouge spy wear or some > such crap on my system (OSX Tiger 10.4.10) ntpd is the Network Time Protocol (NTP) daemon. Type "man ntpd" for details. It's harmless as far as I know. aped is Unsanity's Application Enhancer (APE) deamon. Some say it's not so harmless, so I don't run it. --Scott From poolmouse_nyc at mac.com Tue Aug 7 06:41:08 2007 From: poolmouse_nyc at mac.com (poolmouse_nyc) Date: Tue Aug 7 06:41:19 2007 Subject: [X-Unix] Listmom: Why do digests sit for so long before being sent? :-) In-Reply-To: <20070807042219.A7A0C1260685@listserver.themacintoshguy.com> References: <20070807042219.A7A0C1260685@listserver.themacintoshguy.com> Message-ID: <46B87674.2060503@mac.com> It's August 7th and I just received this digest. Who's managing this list? Why doesn't the digest get sent out daily? Why do we get posts that are old and stale? What possible good could this list be when posts take two weeks (plus) to get distributed? Don Montalvo, NYC x-unix-request@listserver.themacintoshguy.com wrote: > Message: 1 > Date: Fri, 20 Jul 2007 18:51:28 -0500 <--- !!! > Message: 2 > Date: Fri, 20 Jul 2007 13:13:24 -1100 <--- !!! > Message: 3 > Date: Wed, 25 Jul 2007 16:22:53 -0500 <--- !!! > Message: 4 > Date: Mon, 6 Aug 2007 14:12:03 -0400 > Message: 5 > Date: Mon, 6 Aug 2007 12:19:05 -0700 > Message: 6 > Date: Mon, 6 Aug 2007 14:50:25 -0500 > Message: 7 > Date: Mon, 6 Aug 2007 13:33:42 -0700 > Message: 8 > Date: Mon, 6 Aug 2007 21:10:04 -0400 > Message: 9 > Date: Mon, 6 Aug 2007 23:21:55 -0500 From nickscalise at cox.net Tue Aug 7 07:39:22 2007 From: nickscalise at cox.net (Nick Scalise) Date: Tue Aug 7 07:39:30 2007 Subject: [X-Unix] Listmom: Why do digests sit for so long before being sent? :-) Message-ID: <30880542.1186497562228.JavaMail.root@eastrmwml08.mgt.cox.net> ---- poolmouse_nyc wrote: > It's August 7th and I just received this digest. Who's managing this list? Why doesn't the digest get sent out daily? Why do we get posts that are old and stale? What possible good could this list be when posts take two weeks (plus) to get distributed? > > Don Montalvo, NYC > > x-unix-request@listserver.themacintoshguy.com wrote: > > > Message: 1 > > Date: Fri, 20 Jul 2007 18:51:28 -0500 <--- !!! > > > Message: 2 > > Date: Fri, 20 Jul 2007 13:13:24 -1100 <--- !!! > > > Message: 3 > > Date: Wed, 25 Jul 2007 16:22:53 -0500 <--- !!! > > > Message: 4 > > Date: Mon, 6 Aug 2007 14:12:03 -0400 > > > Message: 5 > > Date: Mon, 6 Aug 2007 12:19:05 -0700 > > > Message: 6 > > Date: Mon, 6 Aug 2007 14:50:25 -0500 > > > Message: 7 > > Date: Mon, 6 Aug 2007 13:33:42 -0700 > > > Message: 8 > > Date: Mon, 6 Aug 2007 21:10:04 -0400 > > > Message: 9 > > Date: Mon, 6 Aug 2007 23:21:55 -0500 I'm not listmom, but I'm gonna take a stab. Digest is not sent everyday because you would then recieve empty digests on some (most?) days. Since this list has such low traffic, why not go to single email delivery? -- Nick Scalise nickscalise@cox.net From dledger at ivdcs.demon.co.uk Wed Aug 8 12:06:13 2007 From: dledger at ivdcs.demon.co.uk (David Ledger) Date: Wed Aug 8 12:06:40 2007 Subject: [X-Unix] TOP and processes Message-ID: At 21:48 -0700 6/8/07, Scott Forbes wrote: >On Aug 6, 2007, at 9:21 PM, David Gilden wrote: > >> I ran 'Top' and saw processes that I could not identify. >> >> Could someone explain what 'aped' and 'ntpd' are for, >> I was thinking that I might have some rouge spy wear or some >> such crap on my system (OSX Tiger 10.4.10) > >ntpd is the Network Time Protocol (NTP) daemon. Type "man ntpd" for >details. It's harmless as far as I know. > >aped is Unsanity's Application Enhancer (APE) deamon. Some say it's >not so harmless, so I don't run it. ntp is certainly harmless. All properly managed Unix server installations run it. David -- David Ledger - Freelance Unix Sysadmin in the UK. HP-UX specialist of hpUG technical user group (www.hpug.org.uk) david.ledger@ivdcs.co.uk www.ivdcs.co.uk From ecrist at secure-computing.net Wed Aug 8 13:05:33 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Wed Aug 8 13:08:26 2007 Subject: [X-Unix] TOP and processes In-Reply-To: References: Message-ID: On Aug 8, 2007, at 2:06 PMAug 8, 2007, David Ledger wrote: > At 21:48 -0700 6/8/07, Scott Forbes wrote: >> On Aug 6, 2007, at 9:21 PM, David Gilden wrote: >> >>> I ran 'Top' and saw processes that I could not identify. >>> >>> Could someone explain what 'aped' and 'ntpd' are for, >>> I was thinking that I might have some rouge spy wear or some >>> such crap on my system (OSX Tiger 10.4.10) >> >> ntpd is the Network Time Protocol (NTP) daemon. Type "man ntpd" >> for details. It's harmless as far as I know. >> >> aped is Unsanity's Application Enhancer (APE) deamon. Some say >> it's not so harmless, so I don't run it. > > ntp is certainly harmless. All properly managed Unix server > installations run it. > > David > 'All' is a strong word - too strong IMHO. I actually run ntpdate from a cron process nightly, rather than constantly update the clock. I would still consider my systems as properly managed. However, to the OP, it's certainly and common and OK thing to have running. ----- Eric F Crist Secure Computing Networks From rips.ej at dreyfus.com Fri Aug 10 06:50:35 2007 From: rips.ej at dreyfus.com (Ethan Rips) Date: Fri Aug 10 06:51:35 2007 Subject: [X-Unix] Permissions Nightmare In-Reply-To: <20070807042219.A7A0C1260685@listserver.themacintoshguy.com> Message-ID: Hello, Unix gurus-- A consultant installed OS X 10.4.9 on my G5 as a straight upgrade, not as an archive-&-install. Ever since, I've been unable to print from any app without immediately crashing that app. I upgraded CUPS in hopes of dealing with the mess, but that didn't solve the problem, either. When I first upgraded CUPS, I was able to print from some apps (didn't try all of them), but the next day, the system reverted to its previous misbehavior. Recently I was informed that there are font problems with 10.4.9 & was advised to upgrade to 10.4.10, which I did the other day. Quark now works. However, I still cannot print from any app without crashing the app in question. When I try to connect to a printer via Printer Setup Utility, I get a prompt saying I can't connect due to server-error-server (or some such thing) or (today) I can't open Printer Setup Utility because "an unexpected error occurred (-10810)". In addition, I now get a prompt when I try to empty the trash that I don't have sufficient privileges to perform that action. I can do some basic stuff on the command line, although I'm certainly no guru. Can anyone give me any tips on this at all? I'm really at a loss as to what to do about this mess. Thanks. Ethan The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(16b) Disclaimer Version MB.US.1 From rips.ej at dreyfus.com Fri Aug 10 08:30:22 2007 From: rips.ej at dreyfus.com (Ethan Rips) Date: Fri Aug 10 08:31:17 2007 Subject: [X-Unix] Re: Permissions Nightmare--UPDATE In-Reply-To: Message-ID: Hello, all-- After repairing disk permissions I was able to delete trash via the terminal. Printing issues persist, however. Thanks. On 8/10/07 9:50 AM, "Ethan Rips" wrote: > Hello, Unix gurus-- > > A consultant installed OS X 10.4.9 on my G5 as a straight upgrade, not as an > archive-&-install. Ever since, I've been unable to print from any app without > immediately crashing that app. > > I upgraded CUPS in hopes of dealing with the mess, but that didn't solve the > problem, either. When I first upgraded CUPS, I was able to print from some > apps (didn't try all of them), but the next day, the system reverted to its > previous misbehavior. > > Recently I was informed that there are font problems with 10.4.9 & was advised > to upgrade to 10.4.10, which I did the other day. Quark now works. However, I > still cannot print from any app without crashing the app in question. When I > try to connect to a printer via Printer Setup Utility, I get a prompt saying I > can't connect due to server-error-server (or some such thing) or (today) I > can't open Printer Setup Utility because "an unexpected error occurred > (-10810)". > > In addition, I now get a prompt when I try to empty the trash that I don't > have sufficient privileges to perform that action. > > I can do some basic stuff on the command line, although I'm certainly no guru. > Can anyone give me any tips on this at all? I'm really at a loss as to what to > do about this mess. > > Thanks. > > Ethan The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(16b) Disclaimer Version MB.US.1 From dfz at mac.com Fri Aug 10 08:36:17 2007 From: dfz at mac.com (Dennis Fazio) Date: Fri Aug 10 08:36:23 2007 Subject: [X-Unix] Permissions Nightmare In-Reply-To: References: Message-ID: <0497B667-6D6C-4C0E-A531-6E69DB00F767@mac.com> On Aug 10, 2007, at Fri, Aug 10 2007, 8:50 am, Ethan Rips wrote: > A consultant installed OS X 10.4.9 on my G5 as a straight upgrade, > not as an > archive-&-install. Ever since, I've been unable to print from any app > without immediately crashing that app. You could try Printer Setup Repair, available here . It does a rebuild of your printing system at various levels of severity which you can specify. There's a 7 day trial version. -- Dennis Fazio From john.m.harrold at gmail.com Wed Aug 15 17:06:40 2007 From: john.m.harrold at gmail.com (John Harrold) Date: Wed Aug 15 17:07:05 2007 Subject: [X-Unix] Postfix and proxies In-Reply-To: <20070725212253.GC3428@4321.tv> References: <20070720230446.GA29587@absent.local> <20070721001324.GB29587@absent.local> <20070725212253.GC3428@4321.tv> Message-ID: <20070816000640.GA15031@absent.local> Sometime in July, Brian Medley proposed the following: | On Fri, Jul 20, 2007 at 01:13:24PM -1100, John Harrold wrote: | | > Received: from absent.grok.tv ( [63.100.216.2]) | > by mx.google.com with ESMTPS id f42sm6622337rvb.2007.07.20.16.05.07 | > (version=TLSv1/SSLv3 cipher=OTHER); | > Fri, 20 Jul 2007 16:05:11 -0700 (PDT) | | How do you have postfix configured for sending email? Are you | using relayhost? I have a similar setup where I send email | through my email provider's SMTP server and the headers I've | checked have "localhost" rather than my IP address in them. | | Have you also considered trying the internal smtp of mutt? I have postfix using secure stmp to log into gmail's servers and send my email. My transport entery looks like: gmail.com smtp:[smtp.gmail.com] -- ---------------------------------------------------------- | /"\ john harrold | \ / ASCII ribbon campaign john.m.harrold _at_ gmail | X against HTML mail | / \ ---------------------------------------------------------- gpg --keyserver pgp.mit.edu --recv-key B23241CB ---------------------------------------------------------- From jerry at ieee.org Thu Aug 16 12:05:40 2007 From: jerry at ieee.org (Jerry Krinock) Date: Thu Aug 16 12:05:40 2007 Subject: [X-Unix] Console in a Subshell? Message-ID: I have an interactive (console) perl script I call from within an interactive bash script, like this: perlscript.pl arg1 arg2 But when I try to get perlscript's return value by doing this result=`perlscript.pl arg1 arg2` perlscript no longer talks to the console, probably because it is talking to some subshell console somewhere. Is there any way to redirect itt back to my shell's console? Thanks, Jerry Krinock From bpm-list-osx-unix at 4321.tv Thu Aug 16 15:32:33 2007 From: bpm-list-osx-unix at 4321.tv (Brian Medley) Date: Thu Aug 16 15:32:56 2007 Subject: [X-Unix] Console in a Subshell? In-Reply-To: References: Message-ID: <20070816223233.GW16421@4321.tv> On Thu, Aug 16, 2007 at 12:05:40PM -0700, Jerry Krinock wrote: You're capturing output. If youw ant the return value do something like: perlscript.pl arg1 arg2 echo $? > I have an interactive (console) perl script I call from within an > interactive bash script, like this: > > perlscript.pl arg1 arg2 > > But when I try to get perlscript's return value by doing this > > result=`perlscript.pl arg1 arg2` > > perlscript no longer talks to the console, probably because it is talking to > some subshell console somewhere. Is there any way to redirect itt back to > my shell's console? -- Brian Medley From jerry at ieee.org Thu Aug 16 16:24:02 2007 From: jerry at ieee.org (Jerry Krinock) Date: Thu Aug 16 16:24:12 2007 Subject: [X-Unix] Console in a Subshell? In-Reply-To: <20070816223233.GW16421@4321.tv> References: <20070816223233.GW16421@4321.tv> Message-ID: <66960F0C-C33A-41F6-A1A3-AA550BDF0C97@ieee.org> On 2007 Aug, 16, at 15:32, Brian Medley wrote: > You're capturing output. If youw ant the return value do > something like: > > perlscript.pl arg1 arg2 > echo $? Thank you, Brian. Makes sense and works. I didn't know that bash had handy built-in variables like perl does. It's kind of hard to Google for documenation on "?", but apparently "?" is in bash like "_" is in perl. Very handy. Jerry From ecrist at secure-computing.net Thu Aug 16 19:08:49 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Thu Aug 16 19:09:05 2007 Subject: [X-Unix] Console in a Subshell? In-Reply-To: <66960F0C-C33A-41F6-A1A3-AA550BDF0C97@ieee.org> References: <20070816223233.GW16421@4321.tv> <66960F0C-C33A-41F6-A1A3-AA550BDF0C97@ieee.org> Message-ID: On Aug 16, 2007, at 6:24 PMAug 16, 2007, Jerry Krinock wrote: > > On 2007 Aug, 16, at 15:32, Brian Medley wrote: > >> You're capturing output. If youw ant the return value do >> something like: >> >> perlscript.pl arg1 arg2 >> echo $? > > Thank you, Brian. Makes sense and works. I didn't know that bash > had handy built-in variables like perl does. It's kind of hard to > Google for documenation on "?", but apparently "?" is in bash like > "_" is in perl. Very handy. > AFAIK, that's pretty standard among almost all shells and scripting languages. ----- Eric F Crist Secure Computing Networks From list-themacintoshguy at fsck.net Fri Aug 17 06:29:32 2007 From: list-themacintoshguy at fsck.net (Eugene) Date: Fri Aug 17 06:29:29 2007 Subject: [X-Unix] Console in a Subshell? In-Reply-To: References: <20070816223233.GW16421@4321.tv> <66960F0C-C33A-41F6-A1A3-AA550BDF0C97@ieee.org> Message-ID: <20070817132932.GG28101@core-age.local> On Thu, Aug 16, 2007 at 09:08:49PM CDT, Eric F Crist wrote: > > On Aug 16, 2007, at 6:24 PMAug 16, 2007, Jerry Krinock wrote: >> >> On 2007 Aug, 16, at 15:32, Brian Medley wrote: >> >>> You're capturing output. If youw ant the return value do >>> something like: >>> >>> perlscript.pl arg1 arg2 >>> echo $? >> >> Thank you, Brian. Makes sense and works. I didn't know that bash had >> handy built-in variables like perl does. It's kind of hard to Google for >> documenation on "?", but apparently "?" is in bash like "_" is in perl. >> Very handy. > > AFAIK, that's pretty standard among almost all shells and scripting > languages. Also, I did a Google search on "bash return value". The first hit, "BASH Programming - Introduction HOW-TO: Misc", had this to say: In bash, the return value of a program is stored in a special variable called $?. This illustrates how to capture the return value of a program, ... -- Eugene http://www.coxar.pwp.blueyonder.co.uk/ From RussellMcGaha at mac.com Thu Aug 30 14:15:14 2007 From: RussellMcGaha at mac.com (Russell McGaha) Date: Thu Aug 30 14:15:24 2007 Subject: [X-Unix] how to get Default gcc/cc on 10.4? Message-ID: <2EDD8100-AB5B-439E-B88E-620204DA499E@mac.com> Folks; I KNOW this is bound to be easy, but how do you find out what the current default gcc / cc versions are? TIA Russell From ecrist at secure-computing.net Thu Aug 30 14:31:35 2007 From: ecrist at secure-computing.net (=?utf-8?B?RXJpYyBGIENyaXN0?=) Date: Thu Aug 30 14:32:07 2007 Subject: [X-Unix] how to get Default gcc/cc on 10.4? In-Reply-To: <2EDD8100-AB5B-439E-B88E-620204DA499E@mac.com> References: <2EDD8100-AB5B-439E-B88E-620204DA499E@mac.com> Message-ID: <1584411731-1188509517-cardhu_decombobulator_blackberry.rim.net-484998279-@bxe010.bisx.prod.on.blackberry> Man gcc Should be able to do something like gcc --version --- Eric F Crist Secure Computing Networks -----Original Message----- From: Russell McGaha Date: Thu, 30 Aug 2007 16:15:14 To:"A place to discuss Mac OS X from the perspective of the command line." Subject: [X-Unix] how to get Default gcc/cc on 10.4? Folks; I KNOW this is bound to be easy, but how do you find out what the current default gcc / cc versions are? TIA Russell _______________________________________________ X-Unix mailing list X-Unix@listserver.themacintoshguy.com http://listserver.themacintoshguy.com/mailman/listinfo/x-unix From filipp at mac.com Thu Aug 30 21:49:51 2007 From: filipp at mac.com (Filipp Lepalaan) Date: Thu Aug 30 21:51:39 2007 Subject: [X-Unix] how to get Default gcc/cc on 10.4? In-Reply-To: <1584411731-1188509517-cardhu_decombobulator_blackberry.rim.net-484998279-@bxe010.bisx.prod.on.blackberry> References: <2EDD8100-AB5B-439E-B88E-620204DA499E@mac.com> <1584411731-1188509517-cardhu_decombobulator_blackberry.rim.net-484998279-@bxe010.bisx.prod.on.blackberry> Message-ID: or, the os x-only (?): gcc_select Will also allow you to set the version if it's not the right one. -filipp On 31.08.2007, at 0:31, Eric F Crist wrote: > Man gcc > > Should be able to do something like > gcc --version > --- > Eric F Crist > Secure Computing Networks > > -----Original Message----- > From: Russell McGaha > > Date: Thu, 30 Aug 2007 16:15:14 > To:"A place to discuss Mac OS X from the perspective of the command > line." > Subject: [X-Unix] how to get Default gcc/cc on 10.4? > > > Folks; > I KNOW this is bound to be easy, but how do you find out what the > current default gcc / cc versions are? > > TIA > Russell > _______________________________________________ > X-Unix mailing list > X-Unix@listserver.themacintoshguy.com > http://listserver.themacintoshguy.com/mailman/listinfo/x-unix > _______________________________________________ > X-Unix mailing list > X-Unix@listserver.themacintoshguy.com > http://listserver.themacintoshguy.com/mailman/listinfo/x-unix From dhiggins at mchsi.com Thu Aug 30 22:26:36 2007 From: dhiggins at mchsi.com (Dave Higgins) Date: Thu Aug 30 22:28:33 2007 Subject: [X-Unix] how to get Default gcc/cc on 10.4? In-Reply-To: <2EDD8100-AB5B-439E-B88E-620204DA499E@mac.com> References: <2EDD8100-AB5B-439E-B88E-620204DA499E@mac.com> Message-ID: <532FD89D-4D9A-42ED-BEEF-0E82C89528DF@mchsi.com> On Aug 30, 2007, at 4:15 PM, Russell McGaha wrote: > I KNOW this is bound to be easy, but how do you find out what the > current default gcc / cc versions are? Which is a good one, too... % which gcc /usr/bin/gcc Dave. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20070831/fa8d7b4f/attachment.html From dhiggins at mchsi.com Thu Aug 30 22:46:06 2007 From: dhiggins at mchsi.com (Dave Higgins) Date: Thu Aug 30 22:47:32 2007 Subject: [X-Unix] how to get Default gcc/cc on 10.4? In-Reply-To: <532FD89D-4D9A-42ED-BEEF-0E82C89528DF@mchsi.com> References: <2EDD8100-AB5B-439E-B88E-620204DA499E@mac.com> <532FD89D-4D9A-42ED-BEEF-0E82C89528DF@mchsi.com> Message-ID: <47515C3E-E156-4238-89F8-A874914DE5A2@mchsi.com> On Aug 31, 2007, at 12:26 AM, Dave Higgins wrote: > Which is a good one, too... > > % which gcc > /usr/bin/gcc > D'Oh! Didn't see the "version" part, there... Just fixed on the "default" part. Sorry. Dave. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20070831/dda4e442/attachment.html