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

A GUI app for UNIX scripts UNIX
After trying out all the suggestions for running scripts (Perl, bash, tcsh, etc.) in the GUI and finding them less than satisfying, I decided to write my own app to do it the right way. I'm looking for a few folks to help give it a once-over prior to releasing it for general availability.

If you're interested in giving it a try and willing to give me a thorough critique, you can download it from my mac.com homepage. The code has been tested thoroughly on my own TiBook, but I'd like some "thumbs up" from independent third parties before I release it.

[Editor's note: I downloaded and ran Charles' program, and it seems to do exactly what he claims - it puts a nice GUI (and basic editor!) around your UNIX scripts. I have not extensively tested it, but it ran the three simple scripts I threw at it without any problems. Definitely worth a look, and Charles is looking for feedback if you give the program a trial run...]
  Post a comment  •  Comments (6)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,619 views] Email Article To a Friend View Printable Version
Hidden games in Mac OS X UNIX
Those of you who lust after the good old days of the text adventure may find this tip useful. The default installation of Mac OS X includes Emacs 20.7.1. Emacs is a very powerful tool, and includes the ability to retrieve/post news or mail, act as a calendar/diary application and has powerful text editing features. It also includes a few amusing games, most of which need to be executed within Emacs itself, except for one... dunnet. Using the following command at the shell will execute the game without opening up Emacs directly:
emacs -batch -l dunnet
For anyone familiar with text-based adventure games you will find most of the usual commands work (north, east, south, west, get, look, help, quit...). The following two commands allow you to save and restore your game to or from a specific file:
save [filename]
restore [filename]
Have fun!
  Post a comment  •  Comments (1)  
  • Currently 5.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[11,058 views] Email Article To a Friend View Printable Version
Debugging help for supported USB printers System
Over on the MacFixIt forums, "Impish" has posted a step-by-step guide explaining how he got his supported printer (an Espon 888) to work in OS X, OS 9, and Classic.

If you're having difficulties with your supposedly supported printer, you should read the thread on MacFixIt for some ideas on ways to solve your problem.
  Post a comment  •  Comments (0)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,160 views] Email Article To a Friend View Printable Version
Selecting and deleting items in mail Apps
I know some of you know this, but I guess most of you who do know this will get it wrong most of the time.

When you are selecting items in the mailbox in Mail, you drag the mouse downwards or upwards; to drag it to the trash, you drag it sideways until the envelope icon comes up and then drop it on the 'deleted messages' folder.

[Editor's note: There are a multitude of ways to do both of these (select, delete) tasks in mail; these are just two of the more interesting ones. The behavior that seems most unusual to me is the up/down drag select; I keep expecting it to move the item!]
  Post a comment  •  Comments (0)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[1,851 views] Email Article To a Friend View Printable Version
Caution - Xmorph security hole... System
There's a big security hole if you're using Xmorph [Editor: a theme-switcher for OS X]. Look in ~/Library/Preferences/Xmorph Preferences. If you've authenticated once, you should be looking right at your admin password. The author insists that this is a "feature." Feature or not, no password should ever be stored in plain text. Another Real Basic app...

[Editor's note: See the comments - this 'hole' is completely optional and at the user's discretion. Seems like a reasonable balance of ease-of-use and security - you choose whether or not you'd like your admin password saved in cleartext.]
  Post a comment  •  Comments (3)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,164 views] Email Article To a Friend View Printable Version
Shell-based file and directory manager UNIX
Demos Commander is a great shell utility for directory browsing and file management including viewing, copying, editing, and moving. This is a Unix app similar to Norton Commander for DOS. You can find the source for it at: ftp://ftp.cronyx.ru/cronyx/deco/deco383.tgz.

Mike Stolove
Toronto, Canada

[Editor's note: I downloaded and installed this package, and it does exactly what Mike claims - it brought back instant memories of working in the the Norton DOS Commander back in the early 1980's! If you dislike typing 'mv' and 'cp' commands in the shell, this is a great utility! Read the rest of the article for full installation instructions. You'll need to have the dev tools installed.]

[UPDATE: I've made a pre-compiled binary version available on my mac.com home page for those that don't have the dev tools or don't want to muck around with compiling. Read the rest of the article for the brief instructions to get the pre-compiled binary working.]
read more (311 words)   Post a comment  •  Comments (2)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[7,364 views] Email Article To a Friend View Printable Version
Disconnect users from the terminal System
A question on the Macaddict forums asked how to disconnect other users from an OS X machine using the terminal. One method, courtesy of an experienced UNIX-using friend of mine, is as follows:

1) Type ps aux | grep username, where username is the short name of the user you wish to disconnect.

2) Look for the shell process for the user in question in the 'ps' output. If your users use the standard (tcsh) shell, the process name will be -tcsh (tcsh).

3) Note the process number in the second column. For this example, assume it's 123.

4) Type kill -15 123, where 123 is the actual process number you found in step two. My admittedly poor interpretation of this step is that it attempts to nicely end the processes associated with the user. I'm sure that's not completely correct, but it is the general idea.

5) Type kill -9 123, where 123 is the actual process number from step two. This will end the user's session for certain.

I haven't tried this one myself yet, but I fully expect it will work. Are there other (easier, cleaner?) ways to log out a user from the terminal?
  Post a comment  •  Comments (7)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[10,071 views] Email Article To a Friend View Printable Version
Tomb Raider Chronicles demo released Apps
Alongside Quake3, Tomb Raider is probably one of the more popular Mac action games. I noticed tonight that Aspyr has released a demo of the new Tomb Raider Chronicles for both OS 9 and OS X. After downloading and playing with the new OS X demo, I have to say I'm impressed. I was never a Tomb Raider fan, but the demo runs very smoothly on my box (admittedly a high-end machine), even at 1024x768 in 32-bit color.

I found the demo for downloading on CNET's new OS X Downloads page. For more info, or to download the demo, visit CNET's Tomb Raider Chronicles page.

Check it out if you're interested in seeing how the latest installment of the Tomb Raider product runs in OS X.
  Post a comment  •  Comments (0)  
  • Currently 4.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[6,031 views] Email Article To a Friend View Printable Version
Revise the date display in mail.app Apps
[Editor's note: Submitted by Moldy on July 8th.]

I figured out a way to edit Mail.app's date and time system. I got pissed off at how it looked, with Month/Day/Year format and 12 hour time, so I decided to change it to how I want it.

Here is how to do it. Note: Later on, I will add in more info on how to change it to even more formats.
  Post a comment  •  Comments (0)  
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,190 views] Email Article To a Friend View Printable Version
Make a completely transparent dock Desktop
Although it's relatively simple (by editing three PDF files) to change the background of the dock, it still retains a dark-colored border line. There's been some discussion on various forums about how to eliminate the border, and it appears that this has now been accomplished!

'kfel' has posted TransparentDock, which will give you three different transparency settings for your dock, including completely transparent. Make sure you visit kfel's home page for some important notes about TransparentDock, as well as some links to other useful utilities he (she?) has written.
  Post a comment  •  Comments (6)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[13,039 views] Email Article To a Friend View Printable Version