Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Listserv for X or X server UNIX
Does anyone know of a listserv (mailing list) program that will work under MacOS X, X Server 10.0, or Darwin? If there's not one with a GUI, I'm more than willing to configure and install one under the terminal if necessary, but I want to stay out of Classic for this.
  Post a comment  •  Comments (2)  
  • Currently 3.50 / 5
  You rated: 5 / 5 (6 votes cast)
 
[2,709 views]  View Printable Version
View internet cache file Internet
Is there a way to view the IE5 disk cache (or OmniWeb cache)? Most downloaded images and multimedia files are temporary stored in this cache while browsing the web, so I was wondering as to how I can view and extract files from this cache. Any help would greatly be appretiated.
  Post a comment  •  Comments (3)  
  • Currently 2.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[8,117 views]  View Printable Version
Automatically mount servers at login Network
Question: how can I automatically mount a server at login? I've got two machines both running OS X, and I want one to always access the other as a server when I log in, but can't for the life of me figure out how to do that.
  Post a comment  •  Comments (8)  
  • Currently 3.00 / 5
  You rated: 2 / 5 (3 votes cast)
 
[4,116 views]  View Printable Version
Quick fix for list view opening below files Desktop
A friend and myself have run into this one at different times...

if you have a window in list view, with a large number of items, scroll down (page down, whatever) to near the bottom, close the window, the next time you open it, it remebers where you were, which is good. now if you trash or move most of these files, close the window, then open it again (sometimes or all the time), it opens with no files visible, and you have to scroll up/page up to see the files

I've found a fix to get it sorted out again...change how it's sorted (instead of by name, change it to by date) after you have scrolled up to where you want it to open (for example, at the top of the list), now close the window. next time you open it, it should open where you last set it to.

I've seen this bug happen in both my downloads folder, and my mp3 folder, in both MacOS X 10.0.3 and 10.0.4. If this isn't clear, just ask me to try and re-explain it again =)
  Post a comment  •  Comments (0)  
  • Currently 2.67 / 5
  You rated: 1 / 5 (3 votes cast)
 
[3,185 views]  View Printable Version
Shortcut key to start under X System
I don't know if this has been already documented but it seems that pressing X at startup will force the Mac to start under MacOS X if the startup system folder is set to MacOS 9 (at least if your MacOS 9 system folder is on the same partition as X). I had to use this trick a couple of times because I couldn't start under MacOS 9 which always crashed during startup for an unknown reason.

Note: if you press L at startup, you won't start Linux nor Lisa (well, actually I haven't checked !) ;-)

[Editor's note: I haven't tested this on my machine, as my OS 9 partition is on a separate hard drive. I also don't know which Macs it may or may not work on, as I have not seen this documented elsewhere.]
  Post a comment  •  Comments (4)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,798 views]  View Printable Version
Deleting IE's preferences Apps
Reader Tom Ransom wrote in with a problem and a solution -- how do you delete the Internet Explorer preferences in OS X? He was unable to download from any passive FTP hosts via IE, and thought trashing the preferences might cure the problem.

The typical method would be to trash com.microsoft.explorer.plist from ~/Library/Preferences and that should do the trick. Tom tried this, but it had no affect on his problem. Through some detective work in the Terminal (since prefs files are now text-based XML and easily browsable), he determined that IE's prefs are actually stored in the file com.apple.internetconfig.plist in your Preferences directory.

So if you're having trouble with passive FTP, try trashing that file (perhaps along with com.microsoft.explorer.plist) and relaunching IE. It worked for Tom!
  Post a comment  •  Comments (5)  
  • Currently 2.75 / 5
  You rated: 3 / 5 (4 votes cast)
 
[3,415 views]  View Printable Version
Managing BBEdit backup files Apps
I have long been a fan of BBEdit's backup option, but have loathed cleaning up after it. If you've used it, you know that it doesn't take long for literally thousands of files to accumulate. Fortunately OS X makes this a breeze with the aid cron and a shell script.

I use the following to perform a daily cleanup:
#!/bin/sh
cd /path/to/bbedit_backups
mydate=`date +%Y%m%d`
mkdir $mydate
find . -name "200*" -type d -prune -o -type f -exec mv {} $mydate \;
find /path/to/BBEdit/BBEdit\ Support/FTP\ Temp -type f -exec mv {} $mydate \;
find . -type d -ctime +20 -exec rm -rf {} \;
Basically, this script goes into your backup folder, makes a new (sub)folder, and moves all of the backup files for that day into it. The FTP line moves all of the files in the FTP Temp folder into the newly created folder. Finally, the script removes any subfolder over 20 days old. (Alter to your own preference). Note that you must change the "/path/to" lines to match your setup.

[Editor: Remember that the script must be made executable (chmod 755 name_of_script) to run, and getting it working via 'cron' is left as an exercise for the reader -- there are tips posted elsewhere here on configuring cron. -rob.]
  Post a comment  •  Comments (0)  
  • Currently 1.00 / 5
  You rated: 1 / 5 (3 votes cast)
 
[5,650 views]  View Printable Version
Random words from the terminal UNIX
Here's a nifty but somewhat useless quickie that will pick random words from the built-in dictionary file:
perl -e 'open IN, "</usr/share/dict/words";rand($.) < 1 && ($n=$_) while <IN>;print $n'
Notes:
  • Inspired by an example in the 'Camel' book and the fact that I couldn't come up with a non-Bash way to generate random numbers from the shell. (Any ideas why there's no /dev/random? It kinda seems that this was a design decision rather than an oversight...)
  • The /usr/share/dict/words exists on most Unix systems. Curiously, the words seem to be different from that of the system-wide spellchecker service built into OSX.
  • You can use the standard backtick operator to plop the word into another cmd-line program.
  • DO NOT *EVER* USE THIS [OR ANY DICTIONARY] TO GENERATE PASSWORDS!
[To the editor: I admit this is sort of off-topic as far as Mac OSX is concerned. Perhaps you can use it when there's a dry spell in hints or as a 'stupid shell tricks' feature.]

[From the editor: Hey, it is a bit slow with everyone awaiting 10.1's arrival, and this is an interesting trick. There are some strange words in the dictionary!]
  Post a comment  •  Comments (4)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[8,748 views]  View Printable Version
Installation tutorial for xspim UNIX
I have spent the last few days trying to get xspim (a MIPS emulator) to work with OS X and have finally got it going. After spending many frustrating hours on it I figured that I would post how to get it working for the few who might need it (unless you are really into assembler or need it for class or work there is really no point). fyi: download spim from here

Read the rest of the article for detailed installation instructions...
read more (319 words)   Post a comment  •  Comments (1)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[8,547 views]  View Printable Version
Script to stay online at all times Internet
Is there a way for me to let a script (or something similar) always check whether I'm online and to re-connect when I'm not? I have a dsl flat and would like my ftp and webserver to stay online. my isp tends to disconnect if after some idle time, and i'd rather not do a permanent ping which is good for "faking" user activity.

Looking forward to your hints
;-) maciana
  Post a comment  •  Comments (12)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[3,980 views]  View Printable Version