From george at galis.org Thu Mar 6 11:10:40 2008 From: george at galis.org (George Georgalis) Date: Thu Mar 6 11:10:48 2008 Subject: [macosx-unix] using Preview from xterm Message-ID: <20080306161040.GA25428@run.duo> Hi All, I have some pdf documents to review an it would simplify life if I could invoke Preview from an xterm/X11 environment. Anyone know how? // George -- George Georgalis, information system scientist < From jaapna at xs4all.nl Thu Mar 6 11:18:54 2008 From: jaapna at xs4all.nl (Jaap Akkerhuis) Date: Thu Mar 6 11:19:01 2008 Subject: [macosx-unix] using Preview from xterm In-Reply-To: <20080306161040.GA25428@run.duo> References: <20080306161040.GA25428@run.duo> Message-ID: <90445F46-ED40-4227-A943-FD78FEB6FA45@xs4all.nl> > I have some pdf documents to review an it would simplify life > if I could invoke Preview from an xterm/X11 environment. open .pdf works for me jaap From jared at 23x.net Thu Mar 6 11:19:23 2008 From: jared at 23x.net (Jared ''Danger'' Earle) Date: Thu Mar 6 11:19:29 2008 Subject: [macosx-unix] using Preview from xterm In-Reply-To: <20080306161040.GA25428@run.duo> References: <20080306161040.GA25428@run.duo> Message-ID: <467EE85C-372E-4D98-B906-A01F391058D8@23x.net> On 6 Mar 2008, at 16:10, George Georgalis wrote: > Hi All, > > I have some pdf documents to review an it would simplify life > if I could invoke Preview from an xterm/X11 environment. > > Anyone know how? Sure. "open filename.pdf" or if it needs it "open /Applications/ Preview.app filename.pdf" That'll launch it in OSX's GUI. Of course Preview.app won't run on X, but that's not what you want, is it? -- Jared Earle, Nightfall Games, jared@23x.net - http://www.23x.net "It was like ... a bummer. My name is Ellen Feiss and I'm a SPORK" From george at galis.org Thu Mar 6 11:29:21 2008 From: george at galis.org (George Georgalis) Date: Thu Mar 6 11:29:25 2008 Subject: [macosx-unix] Re: using Preview from xterm In-Reply-To: <467EE85C-372E-4D98-B906-A01F391058D8@23x.net> References: <20080306161040.GA25428@run.duo> <467EE85C-372E-4D98-B906-A01F391058D8@23x.net> Message-ID: <20080306162921.GB25428@run.duo> On Thu, Mar 06, 2008 at 04:19:23PM +0000, Jared ''Danger'' Earle wrote: > On 6 Mar 2008, at 16:10, George Georgalis wrote: >> Hi All, >> >> I have some pdf documents to review an it would simplify life >> if I could invoke Preview from an xterm/X11 environment. >> >> Anyone know how? > > Sure. "open filename.pdf" or if it needs it "open /Applications/Preview.app > filename.pdf" > > That'll launch it in OSX's GUI. Of course Preview.app won't run on X, but > that's not what you want, is it? no, "open" works 100% perfect, thanks all! // George -- George Georgalis, information system scientist < From george at galis.org Mon Mar 10 15:06:58 2008 From: george at galis.org (George Georgalis) Date: Mon Mar 10 15:07:06 2008 Subject: [macosx-unix] Re: using Preview from xterm In-Reply-To: <20080306162921.GB25428@run.duo> References: <20080306161040.GA25428@run.duo> <467EE85C-372E-4D98-B906-A01F391058D8@23x.net> <20080306162921.GB25428@run.duo> Message-ID: <20080310190658.GE18349@run.duo> On Thu, Mar 06, 2008 at 11:29:21AM -0500, George Georgalis wrote: >On Thu, Mar 06, 2008 at 04:19:23PM +0000, Jared ''Danger'' Earle wrote: >> On 6 Mar 2008, at 16:10, George Georgalis wrote: >>> Hi All, >>> >>> I have some pdf documents to review an it would simplify life >>> if I could invoke Preview from an xterm/X11 environment. >>> >>> Anyone know how? >> >> Sure. "open filename.pdf" or if it needs it "open /Applications/Preview.app >> filename.pdf" >> >> That'll launch it in OSX's GUI. Of course Preview.app won't run on X, but >> that's not what you want, is it? > >no, "open" works 100% perfect, thanks all! and it is a really excellent tool! Using it all the time now, and use "open ." to launch a finder view of my $PWD // George -- George Georgalis, information system scientist < From george at galis.org Mon Mar 10 15:11:12 2008 From: george at galis.org (George Georgalis) Date: Mon Mar 10 15:11:15 2008 Subject: [macosx-unix] recover deleted file... Message-ID: <20080310191112.GF18349@run.duo> I know, I know, it's gone, it's gone. sync sync sync But just in case I'm wrong, is there any way to recover a 40kByte file deleted with rm? (Tiger) -- no need to reply if the answer is "no" // George -- George Georgalis, information system scientist < From pete at nomadlogic.org Thu Mar 20 18:29:40 2008 From: pete at nomadlogic.org (Pete Wright) Date: Thu Mar 20 18:29:52 2008 Subject: [macosx-unix] passing nfs mount options in finder Message-ID: <20080320222940.GE32757@sunset.nomadlogic.org> hey all - does anyone know how pass nfs mount options when connecting to an NFS volume in 10.4? the issue i'm seeing is that when i connect to a nfs volume via the finder in 10.4 it defaults to UDP, but i'd like to use TCP connections. from a command like i'd do a: mount_nfs -T server:/export /mnt/point can't seem to figure out a way to do that via the finder though... -p -- ~~oO00Oo~~ Peter Wright pete@nomadlogic.org www.nomadlogic.org/~pete 310.869.9459 From bonsaime at gmail.com Fri Mar 21 10:36:54 2008 From: bonsaime at gmail.com (Jesse Callaway) Date: Fri Mar 21 10:37:18 2008 Subject: [macosx-unix] passing nfs mount options in finder In-Reply-To: <20080320222940.GE32757@sunset.nomadlogic.org> References: <20080320222940.GE32757@sunset.nomadlogic.org> Message-ID: On Thu, Mar 20, 2008 at 6:29 PM, Pete Wright wrote: > hey all - does anyone know how pass nfs mount options when connecting to > an NFS volume in 10.4? the issue i'm seeing is that when i connect to a > nfs volume via the finder in 10.4 it defaults to UDP, but i'd like to > use TCP connections. from a command like i'd do a: > mount_nfs -T server:/export /mnt/point > > can't seem to figure out a way to do that via the finder though... > > -p > > -- > ~~oO00Oo~~ > Peter Wright > pete@nomadlogic.org > www.nomadlogic.org/~pete > 310.869.9459 Hey Pete, To get all the options, I had to use Directory Services. I don't think you can pass any options in the apple-k finder dialog. You can pass it all the ... ah fer chrissake... Sorry it's in Netinfo Manager application which... I don't know why it's two seperate utilities. Anyway... I think you can only pass options via the shell command you have below, or from setting it up in /mounts in Netinfo Manager. If you play with the /etc files you can use the automount.conf and fstab. But I never got that to work for me. I'm sure you know all this, but anyway this is all I know about the topic. -jesse From Robert.Place at morganstanley.com Fri Mar 21 11:36:29 2008 From: Robert.Place at morganstanley.com (Place, Robert (IT)) Date: Fri Mar 21 11:36:47 2008 Subject: [macosx-unix] passing nfs mount options in finder In-Reply-To: References: <20080320222940.GE32757@sunset.nomadlogic.org> Message-ID: <101493C8D3E439448F7A11A6A9FCEFA21721B843@NYWEXMB81.msad.ms.com> Mac OS X also runs amd by default. I find setting up the configs for that is best as it will only try and mount when you try to access it and if you stop accessing it will automatically unmount it for you. This is especially handy on laptops. Man amd for more details or have a look here for some good info on: http://jonathan.tron.name/articles/2008/01/26/automount-shared-directory-on-leopard Robert Place, Executive Director Morgan Stanley | Technology 750 Seventh Avenue, 12th Floor | New York, NY 10019 Phone: +1 212 762-2392 Robert.Place@morganstanley.com -----Original Message----- From: macosx-unix-bounces@lesmuug.org [mailto:macosx-unix-bounces@lesmuug.org] On Behalf Of Jesse Callaway Sent: Friday, March 21, 2008 10:37 AM To: Pete Wright Cc: macosx-unix@lesmuug.org Subject: Re: [macosx-unix] passing nfs mount options in finder On Thu, Mar 20, 2008 at 6:29 PM, Pete Wright wrote: > hey all - does anyone know how pass nfs mount options when connecting to > an NFS volume in 10.4? the issue i'm seeing is that when i connect to a > nfs volume via the finder in 10.4 it defaults to UDP, but i'd like to > use TCP connections. from a command like i'd do a: > mount_nfs -T server:/export /mnt/point > > can't seem to figure out a way to do that via the finder though... > > -p > > -- > ~~oO00Oo~~ > Peter Wright > pete@nomadlogic.org > www.nomadlogic.org/~pete > 310.869.9459 Hey Pete, To get all the options, I had to use Directory Services. I don't think you can pass any options in the apple-k finder dialog. You can pass it all the ... ah fer chrissake... Sorry it's in Netinfo Manager application which... I don't know why it's two seperate utilities. Anyway... I think you can only pass options via the shell command you have below, or from setting it up in /mounts in Netinfo Manager. If you play with the /etc files you can use the automount.conf and fstab. But I never got that to work for me. I'm sure you know all this, but anyway this is all I know about the topic. -jesse _______________________________________________ macosx-unix mailing list macosx-unix@lesmuug.org http://beth.lesmuug.org/mailman/listinfo/macosx-unix -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. From bonsaime at gmail.com Fri Mar 21 11:48:50 2008 From: bonsaime at gmail.com (Jesse Callaway) Date: Fri Mar 21 11:49:02 2008 Subject: [macosx-unix] passing nfs mount options in finder In-Reply-To: <101493C8D3E439448F7A11A6A9FCEFA21721B843@NYWEXMB81.msad.ms.com> References: <20080320222940.GE32757@sunset.nomadlogic.org> <101493C8D3E439448F7A11A6A9FCEFA21721B843@NYWEXMB81.msad.ms.com> Message-ID: Well that's Leopard... You can get this effect using the 'net' option in Tiger. The access-time mounting is cool. It's not so cool when you have mounted and you lose the connection. It's quite slow to timeout, but on the good side it's clean and doesn't crash... just get this dumb message when Finder figures out that the volume's not there anymore. In my setup, I went into Netinfo mgr and have the following /mounts Property :: Value name :: raidbox.localdomain:/c/home/jesse type :: nfs opts :: net opts can have multiple values listed under it, for all the fstab-looking c-s-v options + the mac 'net' option -jesse On Fri, Mar 21, 2008 at 11:36 AM, Place, Robert (IT) wrote: > Mac OS X also runs amd by default. I find setting up the configs for that is best as it will only try and mount when you try to access it and if you stop accessing it will automatically unmount it for you. This is especially handy on laptops. > > Man amd for more details or have a look here for some good info on: > > http://jonathan.tron.name/articles/2008/01/26/automount-shared-directory-on-leopard > > > Robert Place, Executive Director > Morgan Stanley | Technology > 750 Seventh Avenue, 12th Floor | New York, NY 10019 > Phone: +1 212 762-2392 > Robert.Place@morganstanley.com > > > > > -----Original Message----- > From: macosx-unix-bounces@lesmuug.org [mailto:macosx-unix-bounces@lesmuug.org] On Behalf Of Jesse Callaway > Sent: Friday, March 21, 2008 10:37 AM > To: Pete Wright > Cc: macosx-unix@lesmuug.org > Subject: Re: [macosx-unix] passing nfs mount options in finder > > On Thu, Mar 20, 2008 at 6:29 PM, Pete Wright wrote: > > hey all - does anyone know how pass nfs mount options when connecting to > > an NFS volume in 10.4? the issue i'm seeing is that when i connect to a > > nfs volume via the finder in 10.4 it defaults to UDP, but i'd like to > > use TCP connections. from a command like i'd do a: > > mount_nfs -T server:/export /mnt/point > > > > can't seem to figure out a way to do that via the finder though... > > > > -p > > > > -- > > ~~oO00Oo~~ > > Peter Wright > > pete@nomadlogic.org > > www.nomadlogic.org/~pete > > 310.869.9459 > > > Hey Pete, > > To get all the options, I had to use Directory Services. I don't think > you can pass any options in the apple-k finder dialog. You can pass it > all the ... ah fer chrissake... Sorry it's in Netinfo Manager > application which... I don't know why it's two seperate utilities. > Anyway... I think you can only pass options via the shell command you > have below, or from setting it up in /mounts in Netinfo Manager. > If you play with the /etc files you can use the automount.conf and > fstab. But I never got that to work for me. > I'm sure you know all this, but anyway this is all I know about the topic. > > -jesse > > _______________________________________________ > macosx-unix mailing list > macosx-unix@lesmuug.org > http://beth.lesmuug.org/mailman/listinfo/macosx-unix > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. > From pete at nomadlogic.org Mon Mar 24 12:44:44 2008 From: pete at nomadlogic.org (Pete Wright) Date: Mon Mar 24 12:45:00 2008 Subject: [macosx-unix] passing nfs mount options in finder In-Reply-To: References: <20080320222940.GE32757@sunset.nomadlogic.org> <101493C8D3E439448F7A11A6A9FCEFA21721B843@NYWEXMB81.msad.ms.com> Message-ID: <20080324164444.GG32757@sunset.nomadlogic.org> thanks jesse! so yea, using netinfo for static mounts works for sure on our end. the problem is our current work flow has the users (editors who are not techincal) mounting nfs volumes via the finder. static mounts unfortunalty are not an option due to the sheer number of nfs volumes we have here... -pete On Fri, Mar 21, 2008 at 11:48:50AM -0400, Jesse Callaway wrote: > Well that's Leopard... You can get this effect using the 'net' option > in Tiger. The access-time mounting is cool. It's not so cool when you > have mounted and you lose the connection. It's quite slow to timeout, > but on the good side it's clean and doesn't crash... just get this > dumb message when Finder figures out that the volume's not there > anymore. > > In my setup, I went into Netinfo mgr and have the following > > /mounts > > Property :: Value > name :: raidbox.localdomain:/c/home/jesse > type :: nfs > opts :: net > > opts can have multiple values listed under it, for all the > fstab-looking c-s-v options + the mac 'net' option > > -jesse > > On Fri, Mar 21, 2008 at 11:36 AM, Place, Robert (IT) > wrote: > > Mac OS X also runs amd by default. I find setting up the configs for that is best as it will only try and mount when you try to access it and if you stop accessing it will automatically unmount it for you. This is especially handy on laptops. > > > > Man amd for more details or have a look here for some good info on: > > > > http://jonathan.tron.name/articles/2008/01/26/automount-shared-directory-on-leopard > > > > > > Robert Place, Executive Director > > Morgan Stanley | Technology > > 750 Seventh Avenue, 12th Floor | New York, NY 10019 > > Phone: +1 212 762-2392 > > Robert.Place@morganstanley.com > > > > > > > > > > -----Original Message----- > > From: macosx-unix-bounces@lesmuug.org [mailto:macosx-unix-bounces@lesmuug.org] On Behalf Of Jesse Callaway > > Sent: Friday, March 21, 2008 10:37 AM > > To: Pete Wright > > Cc: macosx-unix@lesmuug.org > > Subject: Re: [macosx-unix] passing nfs mount options in finder > > > > On Thu, Mar 20, 2008 at 6:29 PM, Pete Wright wrote: > > > hey all - does anyone know how pass nfs mount options when connecting to > > > an NFS volume in 10.4? the issue i'm seeing is that when i connect to a > > > nfs volume via the finder in 10.4 it defaults to UDP, but i'd like to > > > use TCP connections. from a command like i'd do a: > > > mount_nfs -T server:/export /mnt/point > > > > > > can't seem to figure out a way to do that via the finder though... > > > > > > -p > > > > > > -- > > > ~~oO00Oo~~ > > > Peter Wright > > > pete@nomadlogic.org > > > www.nomadlogic.org/~pete > > > 310.869.9459 > > > > > > Hey Pete, > > > > To get all the options, I had to use Directory Services. I don't think > > you can pass any options in the apple-k finder dialog. You can pass it > > all the ... ah fer chrissake... Sorry it's in Netinfo Manager > > application which... I don't know why it's two seperate utilities. > > Anyway... I think you can only pass options via the shell command you > > have below, or from setting it up in /mounts in Netinfo Manager. > > If you play with the /etc files you can use the automount.conf and > > fstab. But I never got that to work for me. > > I'm sure you know all this, but anyway this is all I know about the topic. > > > > -jesse > > > > _______________________________________________ > > macosx-unix mailing list > > macosx-unix@lesmuug.org > > http://beth.lesmuug.org/mailman/listinfo/macosx-unix > > -------------------------------------------------------- > > > > NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. > > -- ~~oO00Oo~~ Peter Wright pete@nomadlogic.org www.nomadlogic.org/~pete 310.869.9459 From pete at nomadlogic.org Mon Mar 24 12:46:21 2008 From: pete at nomadlogic.org (Pete Wright) Date: Mon Mar 24 12:46:31 2008 Subject: [macosx-unix] passing nfs mount options in finder In-Reply-To: <101493C8D3E439448F7A11A6A9FCEFA21721B843@NYWEXMB81.msad.ms.com> References: <20080320222940.GE32757@sunset.nomadlogic.org> <101493C8D3E439448F7A11A6A9FCEFA21721B843@NYWEXMB81.msad.ms.com> Message-ID: <20080324164621.GH32757@sunset.nomadlogic.org> Hi Robert - thanks for the link! I'll have to check this out and see if we can write a wrapper for these guys to take better advantage of the amd. -p On Fri, Mar 21, 2008 at 11:36:29AM -0400, Place, Robert (IT) wrote: > Mac OS X also runs amd by default. I find setting up the configs for that is best as it will only try and mount when you try to access it and if you stop accessing it will automatically unmount it for you. This is especially handy on laptops. > > Man amd for more details or have a look here for some good info on: > > http://jonathan.tron.name/articles/2008/01/26/automount-shared-directory-on-leopard > > > Robert Place, Executive Director > Morgan Stanley | Technology > 750 Seventh Avenue, 12th Floor | New York, NY 10019 > Phone: +1 212 762-2392 > Robert.Place@morganstanley.com > > > -----Original Message----- > From: macosx-unix-bounces@lesmuug.org [mailto:macosx-unix-bounces@lesmuug.org] On Behalf Of Jesse Callaway > Sent: Friday, March 21, 2008 10:37 AM > To: Pete Wright > Cc: macosx-unix@lesmuug.org > Subject: Re: [macosx-unix] passing nfs mount options in finder > > On Thu, Mar 20, 2008 at 6:29 PM, Pete Wright wrote: > > hey all - does anyone know how pass nfs mount options when connecting to > > an NFS volume in 10.4? the issue i'm seeing is that when i connect to a > > nfs volume via the finder in 10.4 it defaults to UDP, but i'd like to > > use TCP connections. from a command like i'd do a: > > mount_nfs -T server:/export /mnt/point > > > > can't seem to figure out a way to do that via the finder though... > > > > -p > > > > -- > > ~~oO00Oo~~ > > Peter Wright > > pete@nomadlogic.org > > www.nomadlogic.org/~pete > > 310.869.9459 > > > Hey Pete, > > To get all the options, I had to use Directory Services. I don't think > you can pass any options in the apple-k finder dialog. You can pass it > all the ... ah fer chrissake... Sorry it's in Netinfo Manager > application which... I don't know why it's two seperate utilities. > Anyway... I think you can only pass options via the shell command you > have below, or from setting it up in /mounts in Netinfo Manager. > If you play with the /etc files you can use the automount.conf and > fstab. But I never got that to work for me. > I'm sure you know all this, but anyway this is all I know about the topic. > > -jesse > _______________________________________________ > macosx-unix mailing list > macosx-unix@lesmuug.org > http://beth.lesmuug.org/mailman/listinfo/macosx-unix > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. -- ~~oO00Oo~~ Peter Wright pete@nomadlogic.org www.nomadlogic.org/~pete 310.869.9459 From louis at bertrandtech.ca Thu Mar 27 22:27:26 2008 From: louis at bertrandtech.ca (Louis Bertrand) Date: Thu Mar 27 22:27:31 2008 Subject: [macosx-unix] /usr/bin/cvs missing on 10.5? Message-ID: <47EC578E.2010405@bertrandtech.ca> Hi, I attempted to show one of my students how to use Terminal and ssh to connect to the cvs server I maintain for a course I teach (he's a rebel, the others use TortoiseCVS on XP). To my surprise, cvs is not in /usr/bin on his 10.5 Intel system, unlike my 10.4 PPC. Did they move it? He's going to download the Developer tools (xcode) to see if it's there. Where else would you get it? Darwin ports? Fink? Thanks --Louis -- Louis Bertrand From openxgroup at gmail.com Fri Mar 28 00:59:56 2008 From: openxgroup at gmail.com (OpenXGroup Inc.) Date: Fri Mar 28 01:00:02 2008 Subject: [macosx-unix] /usr/bin/cvs missing on 10.5? In-Reply-To: References: <47EC578E.2010405@bertrandtech.ca> Message-ID: Louis, I have the same system as you but no CVS by default in /usr/bin. Many folks keep it in /CVS or in /CVSROOT, but I prefer to keep it in my own Documents directory so that it'll be backed up frequently. (I back up my Documents daily but my entire UNIX system only infrequently.) Perhaps, --> * /usr/local/cvsrep* CVS comes with Mac OS X; so you don't need to install anything new *if you've installed the programs on the Xcode Tools CD or downloaded Xcode*from http://developer.apple.com/tools/. http://developer.apple.com/internet/opensource/cvsoverview.html A Review of CVS Clients for Mac OS X http://www.thecave.com/archive/2008/03/14/a_review_of_cvs_clients_for_mac_os_x.aspx I like SmartCVS the best. Cheers, David On Thu, Mar 27, 2008 at 10:27 PM, Louis Bertrand wrote: > Hi, > > I attempted to show one of my students how to use Terminal and ssh to > connect to the cvs server I maintain for a course I teach (he's a rebel, > the others use TortoiseCVS on XP). To my surprise, cvs is not in > /usr/bin on his 10.5 Intel system, unlike my 10.4 PPC. Did they move it? > > He's going to download the Developer tools (xcode) to see if it's there. > Where else would you get it? Darwin ports? Fink? > > Thanks > --Louis > > -- > Louis Bertrand > _______________________________________________ > macosx-unix mailing list > macosx-unix@lesmuug.org > http://beth.lesmuug.org/mailman/listinfo/macosx-unix > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://beth.easthouston.org/pipermail/macosx-unix/attachments/20080328/983f0a61/attachment.html