Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Search Forums > Search Results

Showing results 1 to 50 of 244
Search: Posts Made By: Gary Kerbaugh
Thread Thread Starter Last Post Replies Views Forum
Re: Apple, we have a problem... 1,668 Views / 20 Replies  
   There is precious little documentation on this at the moment but what I saw suggested that Gentoo will install files in their "classic" locations in system directories. This means...
Posted by Gary Kerbaugh, on Jul 25, 2004 at 09:04 AM, in macOS
Re: ssh only acct? 827 Views / 8 Replies  
   Secure Shell doesn't provide a chroot capability like ftp. However, you can get a similar effect by assigning these users "restricted" shells. You can check out a restricted form of...
Posted by Gary Kerbaugh, on Jul 16, 2004 at 09:41 PM, in macOS
Re: Move file to trash from Terminal 6,704 Views / 5 Replies  
   Scripts to move items to trash have already been written. I call my own rmm (http://kerbaugh.uncfsu.edu/rm/rm.html) because it emulates the behavior of rm. It supports all of the...
Posted by Gary Kerbaugh, on Jul 16, 2004 at 09:22 PM, in macOS
   I'm hesitant to suggest this... 754 Views / 10 Replies  
   I'm hesitant to suggest this because I do it too much. Despite that, I think it's a good suggestion. The shell with the most features, zsh, has a "where" builtin command that...
Posted by Gary Kerbaugh, on May 11, 2004 at 12:44 AM, in macOS
Re: fink install errors (lots of them): newbie question 669 Views / 9 Replies  
I've seen messages of this general type before. It's the results of the suite of tests that usually accompany a Perl module. What I don't understand is that it looks like it's Fink that's being...
Posted by Gary Kerbaugh, on Mar 16, 2004 at 07:16 PM, in macOS
Re: CLI command for view options 810 Views / 10 Replies  
Hi Kenneth,
   The command to change the view to column view is:

defaults write com.apple.finder ComputerOptions -dict-add ComputerViewStyle clnv

Unfortunately, the last "word",...
Posted by Gary Kerbaugh, on Mar 10, 2004 at 01:13 AM, in macOS
Re: unix start up 558 Views / 2 Replies  
   I'm sorry but that's incorrect. if you count the softlink, /etc -> /private/etc a file, which UNIX does. You are in "Single User Mode", which is an emergency repair mode. It's not...
Posted by Gary Kerbaugh, on Dec 28, 2003 at 09:27 AM, in macOS
   I might agree that it belonged... 943 Views / 16 Replies  
   I might agree that it belonged there if using only that "feature" put no more drain on the system than CPU Monitor. However, it uses almost 10% of my CPU in any configuration. Thus,...
Posted by Gary Kerbaugh, on Dec 13, 2003 at 01:38 PM, in macOS
Re: How to change bash environment? 733 Views / 6 Replies  
   My prompt is set in a separate script, which is available at http://kerbaugh.uncfsu.edu/prompt.tgz. It's multi-colored, displays the history number, which changes color depending...
Posted by Gary Kerbaugh, on Dec 10, 2003 at 11:59 PM, in macOS
Re: Editing .plist 535 Views / 3 Replies  
   As far as anyone I know has been able to determine, defaults can only edit at a limited depth. One can use defaults to read data into a script, edit it and write it back but at...
Posted by Gary Kerbaugh, on Dec 10, 2003 at 02:10 PM, in macOS
Re: postgres and php - getting them to work together 523 Views / 2 Replies  
I have no pgsql.so library and my PHP works just fine. I have a $PHP_HOME/lib/php/DB/pgsql.php file but I think that come with every PHP installation. The --with-pgsql directive you quoted is the...
Posted by Gary Kerbaugh, on Dec 4, 2003 at 02:35 AM, in macOS
Re: Installing Perl Modules via cpan 569 Views / 7 Replies  
   As far as DBI goes, I wouldn't have any idea how to change the default user for tests but who cares about tests? Just do a force install and test it with usage.
Posted by Gary Kerbaugh, on Dec 2, 2003 at 10:46 PM, in macOS
Hi guys,    I apologize for... 909 Views / 9 Replies  
Hi guys,
   I apologize for jumping in here late but I think I can offer a little help. THere are actually two separate issues referenced here. The first is the 25 man pages that are...
Posted by Gary Kerbaugh, on Dec 2, 2003 at 05:01 PM, in macOS
Re: Tab completion (missing) and dumb terminal settings (zuh?) 681 Views / 3 Replies  
   It's my guess that the "ExecutionString" key in the ~/Library/Preferences/com.apple.Terminal.plist preference file has had it's value set to a string that the Terminal thinks you...
Posted by Gary Kerbaugh, on Nov 27, 2003 at 10:32 AM, in macOS
Re: Re: Re: fink: system-xfree86 update? 676 Views / 5 Replies  
Hi Vegan,
   Sorry it's taking a long time to reply; this is the busiest time of the year for us. I think that the guys at Fink failed in the unusual task of upgrading a package with...
Posted by Gary Kerbaugh, on Aug 20, 2003 at 12:33 AM, in macOS
Re: fink: system-xfree86 update? 676 Views / 5 Replies  
Hi VEGAN!
   Long time, no "see"! I didn't realize that a placeholder needed updating because I don't use it. It's little more than a preinstall script that checks to guarantee that...
Posted by Gary Kerbaugh, on Aug 18, 2003 at 11:16 AM, in macOS
Re: Re: Re: perl expression matching 578 Views / 4 Replies  
Hi Paul,
   Me too. That's a very cool command! I don't think I'll ever get used to the fact that Perl executes the "if" clause before the command to which it applies even if it's...
Posted by Gary Kerbaugh, on Aug 17, 2003 at 10:09 PM, in macOS
Re: Re: shell programming: sed filter and \n 675 Views / 7 Replies  
Hi Paul,
   Very punny! :-} Actually the shell interpreter intercepts the backslash quote before sed sees it. A single quote will protect it from the shell, as does your pair of...
Posted by Gary Kerbaugh, on Aug 17, 2003 at 09:49 PM, in macOS
Re: shell programming: sed filter and \n 675 Views / 7 Replies  
   "\n" isn't a newline, it's a group of characters that many languages understand should be replace with an actual new line character when parsed. Not so sed. The keyboard actually...
Posted by Gary Kerbaugh, on Aug 17, 2003 at 09:31 PM, in macOS
Re: perl expression matching 578 Views / 4 Replies  
   Your regular expression worked although the question marks are redundant. I would use a character class to keep that match out of the tags. "Greedy" matching can get you in trouble...
Posted by Gary Kerbaugh, on Aug 17, 2003 at 09:01 PM, in macOS
   Ah, let me think ... igneuronce... 3,543 Views / 18 Replies  
   Ah, let me think ... igneuronce and stupididity? Actually, I originally posted this for someone who had followed my suggestion to install Fink's zsh. Before Jaguar, Apple's version...
Posted by Gary Kerbaugh, on Aug 16, 2003 at 10:21 PM, in macOS
Re: Re: Unix Programming 101...question inside 616 Views / 3 Replies  
   Just to make my point a little more strongly, here's a python script that makes a similar list of filenames but the arguments are a little different. The first is the number of 6...
Posted by Gary Kerbaugh, on Aug 12, 2003 at 08:24 PM, in macOS
Re: Unix Programming 101...question inside 616 Views / 3 Replies  
   As Arkham_c points out, this is what Perl's Date::Parse module is for but if you want a raw solution in bash, you can use the following sh functions. Repeated calls to the inc_hour...
Posted by Gary Kerbaugh, on Aug 12, 2003 at 03:18 PM, in macOS
   In a browser, yes, of course.... 1,413 Views / 27 Replies  
   In a browser, yes, of course. I misspoke, sorry. I meant to say highlight a URL instead of link. I was thinking of something that worked in any application. BigCat Scripts don't...
Posted by Gary Kerbaugh, on Aug 11, 2003 at 09:51 AM, in macOS
   Properly???? Wow! I was... 1,413 Views / 27 Replies  
   Properly???? Wow! I was wondering who decided that! Since, we now know, I have a few bones to pick with you. Could you get that link that link to work "properly" and keep my version...
Posted by Gary Kerbaugh, on Aug 11, 2003 at 09:02 AM, in macOS
   I do like that! Even nicer... 1,413 Views / 27 Replies  
   I do like that! Even nicer would be to put it in a "do shell script" AppleScript statement in a script that captured the selection from the frontmost app and which was invoked from...
Posted by Gary Kerbaugh, on Aug 10, 2003 at 02:36 PM, in macOS
   I'm sure you mean that curl is... 1,413 Views / 27 Replies  
   I'm sure you mean that curl is great. curl and wget are both great and which is better depends on usage. For my purposes, wget is usually better. If you want to download multiple...
Posted by Gary Kerbaugh, on Aug 10, 2003 at 11:37 AM, in macOS
   I see the subject of the... 959 Views / 22 Replies  
   I see the subject of the httpd.conf file has come up. When I first read this, I didn't think about the failure to configure apache for https. It took me a bit of study to learn that...
Posted by Gary Kerbaugh, on Aug 9, 2003 at 07:20 PM, in macOS
Re: Os X - Irix 647 Views / 4 Replies  
   NFS does come with the operating system, as does an automounter. The only trick is configuring them to mount exports of specific machines. The simplest way to do this is get a...
Posted by Gary Kerbaugh, on Aug 9, 2003 at 01:02 PM, in macOS
   Why is the semi-colon in... 3,543 Views / 18 Replies  
   Why is the semi-colon in braces?
Posted by Gary Kerbaugh, on Aug 9, 2003 at 02:08 AM, in macOS
   Oh where to begin! zsh has been... 3,543 Views / 18 Replies  
   Oh where to begin! zsh has been accused of "feature bloat" because it does so much. I guess that things like it's builtin ftp program would fall into that category and its spell...
Posted by Gary Kerbaugh, on Aug 9, 2003 at 01:46 AM, in macOS
   Sorry it took me so long to... 3,543 Views / 18 Replies  
   Sorry it took me so long to answer but my machine has been down all day with disk problems. Anyway, to change the name of all of the .html files to ones with .php suffixes, you can...
Posted by Gary Kerbaugh, on Aug 8, 2003 at 05:23 PM, in macOS
Re: Re: Zend Optimizer 647 Views / 5 Replies  
   No it's not! /usr/local is not a symlink and there is no /var/private. /var is a symlink to /private/var but that has nothing to do with this. I assumed that this was a permissions...
Posted by Gary Kerbaugh, on Aug 7, 2003 at 12:00 PM, in macOS
   Port 20 should be opened for... 770 Views / 10 Replies  
   Port 20 should be opened for active ftp but you say that you have specified passive ftp. I have no reason to expect that the Network/Proxies preferences will apply to Fetch but you...
Posted by Gary Kerbaugh, on Aug 6, 2003 at 09:22 PM, in macOS
   Is your window manager trm?... 638 Views / 4 Replies  
   Is your window manager trm? That looks like the /usr/X11R6/etc/xinit/xinitrc, not your ~/.xinitrc. If that's all you have then it isn't your problem and I don't really know what the...
Posted by Gary Kerbaugh, on Aug 6, 2003 at 01:21 AM, in macOS
Re: XDarwin Problems. 638 Views / 4 Replies  
   The default window manager for Apple's X11 doesn't work in full screen mode. Of course if you were completely successful in purging Apple's X11, this wouldn't be an issue, but you...
Posted by Gary Kerbaugh, on Aug 4, 2003 at 02:25 PM, in macOS
Re: help me write a script to run in Terminal 581 Views / 2 Replies  
   I believe that the commands you're looking for are AppleScript's "do shell script" and "do script" commands. The first executes the string argument (shell command(s)) in a Bourne...
Posted by Gary Kerbaugh, on Aug 4, 2003 at 01:54 PM, in macOS
Re: Learning About LDAP 607 Views / 5 Replies  
   I wouldn't mind knowing if there were one or two books that were head and shoulders above the rest but I learned most of what I learned from the web. Aside from the great stuff at...
Posted by Gary Kerbaugh, on Aug 1, 2003 at 01:12 AM, in macOS
No. To begin with function return values don't go... 931 Views / 5 Replies  
No. To begin with function return values don't go STDOUT. However, the return value of the last command can found in the shell variable $?. (at least in a Bourne type shell) Next, -n is a string test...
Posted by Gary Kerbaugh, on Aug 1, 2003 at 12:08 AM, in macOS
   Ah, that's it. I love the Perl... 1,106 Views / 20 Replies  
   Ah, that's it. I love the Perl script but my router doesn't seem to have a status page of any type. It has only a web config page that's "so fancy" it only works on Windoze. :-( I...
Posted by Gary Kerbaugh, on Jul 22, 2003 at 01:14 PM, in macOS
   ipconfig is installed by the... 1,106 Views / 20 Replies  
   ipconfig is installed by the Essentials.pkg installer package in /usr/sbin/ipconfig and ping is installed by the BaseSystem.pkg installer package in /sbin/ping. Therefore the...
Posted by Gary Kerbaugh, on Jul 22, 2003 at 11:34 AM, in macOS
Hi gatorparrots,    Forgive the... 1,106 Views / 20 Replies  
Hi gatorparrots,
   Forgive the late reply; I check this list less frequently than my normal haunt. (and you know where that is) I've had no problems but I don't use it regularly....
Posted by Gary Kerbaugh, on Jul 22, 2003 at 11:26 AM, in macOS
   Yes, simply execute the... 1,106 Views / 20 Replies  
   Yes, simply execute the following:

curl -s http://simple.showmyip.com
Posted by Gary Kerbaugh, on Jul 20, 2003 at 10:09 AM, in macOS
   awk can do it all by it's... 1,106 Views / 20 Replies  
   awk can do it all by it's lonesome. Try the following:

ifconfig en0 | awk '/inet /{print $2}'
Posted by Gary Kerbaugh, on Jul 18, 2003 at 07:50 PM, in macOS
   It looks to me like an "open... 858 Views / 13 Replies  
   It looks to me like an "open square bracket" test command is being included in the path because there is no space after it. Putting in the space should fix that problem.
...
Posted by Gary Kerbaugh, on Jul 14, 2003 at 09:19 PM, in macOS
Re: stupid ?: how do i put a pic as either my xterm background or terminal.app background 1,062 Views / 9 Replies  
   Eterm not only does pictures, it comes with a bunch of it's own and will start with a new picture, chosen at random, each time it opens. However, if you want to add your own...
Posted by Gary Kerbaugh, on Jul 13, 2003 at 02:37 AM, in macOS
Re: Re: using expect 640 Views / 5 Replies  
   I actually use expect all the time but not on my Mac. I administer 30 Linux machines and so I wrote scripts that ssh to each machine in turn, logs in and executes the commands that...
Posted by Gary Kerbaugh, on Jul 13, 2003 at 01:39 AM, in macOS
Re: Problems with the terminal (and fink?) 641 Views / 5 Replies  
   This is a relative common problem with Apple's Terminal. In your Terminal preferences file, ~/Library/Preferences/com.apple.Terminal.plist, there is key called ExecutionString. A...
Posted by Gary Kerbaugh, on Jul 13, 2003 at 12:54 AM, in macOS
   A good man page (I have seen... 867 Views / 5 Replies  
   A good man page (I have seen them) correctly explains that -L causes ls to provide the information for target of a symlink but not the name. Every system does have a mechanism for...
Posted by Gary Kerbaugh, on Jul 13, 2003 at 12:38 AM, in macOS
   The way one sets up their shell... 2,272 Views / 17 Replies  
   The way one sets up their shell is a person thing and I wouldn't try to convince anyone to do something they didn't want to do. However, for the benefit of readers that don't know,...
Posted by Gary Kerbaugh, on Jul 12, 2003 at 09:39 PM, in macOS
Showing results 1 to 50 of 244
 
Top
Privacy Policy
All times are GMT -4. The time now is 02:07 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,