The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Mac OS X 10.5 Leopard’ Category

To force-quit Mac Applications: the Mac equivalent of “Ctrl Alt Delete” (via: eHow.com): Option-Command-Esc

Posted by jpluimers on 2014/02/03

Once every while, a full screen app on your Mac hangs, and there is no way to Command-Tab to another application.

PC addicts then press Ctrl+Alt+Del, to either get to the Task Manager, or to logoff/reboot.

For a Mac, there are two:

  1. Force Quit Read the rest of this entry »

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

How to Keep Alive SSH Sessions (getting rid of the “Write failed: Broken pipe”)

Posted by jpluimers on 2014/01/25

Getting rid of the dreaded “Write failed: Broken pipe”.

Note the difference of ServerAliveInterval/ServerAliveCountMax and ClientAliveInterval/ClientAliveCountMax.

For Mac, Linux and CygWin: Read the rest of this entry »

Posted in *nix, Apple, Cygwin, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, SuSE Linux | Leave a Comment »

7za in the OS X Terminal on your Mac

Posted by jpluimers on 2014/01/25

On both Windows and OS X, I use 7zip a lot. Usually the GUI versions (currently 7z920 on Windows and Keka 1.0.4 on OS X).

But for some purposes (for instance: compressing .lnk files) the 7za command-line version is a must (it has lots of options).

Note that the Windows 7za command-line version is 32-bit.

If you handle really large files on Windows, you might want to use the 64-bit 7z.exe that is in `%ProgramFiles%\7-Zip\7z.exe`.

There are a few ways to install the 7za console version on a Mac so you can access 7za from the Terminal in OS X. Read the rest of this entry »

Posted in 7zip, Apple, Compression, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

Happy 30th birthday Mac!

Posted by jpluimers on 2014/01/24

Being away from a computer sometimes means you forget about events.

So before I forget: happy 30th birthday Mac!

For me, real programming started 31 years ago on an Apple II at high school, soon followed by a II+ and a //e. At first, I was programming in both Integer Basic and AppleSoft Basic, then with Apple Pascal (which was based on UCSD Pascal, but way too slow), and finally with Turbo Pascal 1.0 (after they installed a Microsoft Z-80 softcard in a few of the machines which allowed it to run CP/M).

Back then me, nor my parents could afford a computer like a Mac, but I was lucky enough to keep on people at the “close by” (30 minutes by bicycle) University to use one and program in hyper card and various Pascal dialects (and later Delphi).

Now I own a few Macs (most more portable than the //c) bought a //e and //c last summer and collecting some extension cards to make life easier.

Just look at the B&N magazine rack how popular the Apple stuff is today:

image

So again: happy 30th birthday Mac!

Without you, I wouldn’t be a software developer.

–jeroen

via: Apple bracht eerste Mac-computer 30 jaar geleden uit – Computer – Nieuws – Tweakers.

Posted in //e, Apple, Apple Pascal, Delphi, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Object Pascal, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Pascal, Power User, Software Development, Think Pascal, Turbo Pascal, UCSD Pascal | 1 Comment »

Mac function keys (F1-F12) in remote desktop (Windows RDP/MSTSC) – MacRumors Forums

Posted by jpluimers on 2014/01/24

The F keys on a Mac still perform the Mac OS X specific function, even in a full screen RDP session, but you can get their Windows functionality back with ease as MacRumors user blindzombie shows:

I got it to work with fn – command – F9

or just command – F9 if you set your keyboard preferences to use F1, F2, etc as standard function key

–jeroen

via function keys (F1-F12) in remote desktop – MacRumors Forums.

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook-Air, OS X 10.8 Mountain Lion, Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows | Leave a Comment »

*nix networking – lsof: How to tell what process has a specific port open on Linux (via: Server Fault)

Posted by jpluimers on 2014/01/10

I usually used netstat with some grep filter for this, but Brandon Titus showed at StackOverflow that the lsof command is much easier to use:

lsof command should be able to do this just fine. Just use this:

lsof -i :<port_number>
lsof -i udp:<port_number>
lsof -i tcp:<port_number>

and all of the processes should come up.

The lsof commands work on SUSE, Max OS X, CygWin and many other environments.

(update 20160304: added more arguments and links)

Two other commands I use often:

netstat -tulpn | sort

(for connected and listening tcp/udp ports it shows processes and port numbers; see the netstat parameters for more details, note that -u includes udp and -l adds listening sockets)

rpcinfo -p ; rpcinfo -s

(shows the ports used by rpcbind)

Note that one day I’ll learn the iproute2 equivalents (many of which have non descriptive 2 letter names like ip, iw, ss, tc, maybe because iproute2), but as OS X still doesn’t have iproute2, I’m hesitating. Anyway, that day:

–jeroen

via

Posted in *nix, Apple, Cygwin, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User, SuSE Linux | 1 Comment »

Thanks OSXDaily: Install wget in Mac OS X Without Homebrew or MacPorts

Posted by jpluimers on 2013/12/23

wget is immensely useful tool to download files using ftp, http and https, especially as it allows recursive downloads and mirroring with some very nice options.

Mac OS X doesn’t come with wget, and curl – the alternative for wget – cannot do recursion, so you need wrapper scripts for that.

Basically there are two ways to get wget installed on Mac OS X:

  1. Compile it from the source, then install it like Install wget in Mac OS X Without Homebrew or MacPorts.
  2. Download a prebuilt version like wget – Prebuilt binary for Mac OSX Lion, Snow Leopard and Mountain Lion | Tech Tach.

For both ways you need to remember that they won’t automatically update. So: keep an eye on wget security vulnerabilities, and update as soon as new ones have been found.

The first way (build from source) needs you to download and install Xcode first. Since I’m a Mac OS X developer, I already have that.

Luckily Install wget in Mac OS X Without Homebrew or MacPorts had instructions for the most current version when writing this blog entry. The binary from Tech Tach was outdated.

That, and the my feel for greater influence on the built proces makes me like the first way more.

Below are the commands I used (thanks OSXDaily!).

Check http://ftp.gnu.org/gnu/wget/ to make sure you downloaded the most current wget sourcecode. Read the rest of this entry »

Posted in *nix, Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OpenSSL, OS X 10.8 Mountain Lion, Power User, Security, wget | Leave a Comment »

Garmin Forerunner 305 GPS – Mac data analysis and blogging | Jon Worth

Posted by jpluimers on 2013/12/02

Indeed, the TrailRunner software is much nicer than the Garmin stuff. It needs the Garmin stuff (in order to download the data from the ForeRunner), and for that you need to have a good quality USB cable, otherwise the Forerunner will charge, but not transfer data).

So if you have a Mac, download TrailRunner – Mac OS X route planning and journaling for iPhone, Nike+ SportBand, Garmin ForeRunner GPS.

–jeroen

via: Garmin Forerunner 305 GPS – Mac data analysis and blogging | Jon Worth.

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

Mac: Restarting the Mac OS X Dock, Finder, Spaces or Menubar | Stefan Ernst

Posted by jpluimers on 2013/11/29

Only a few more posts left in my “Missed Schedule” backlog. This one was from September 28, and I just needed it again today as Spotlight had some visual leftovers on one of my VMware Fusion desktops.

Thanks to Stefan Ernst:

The Finder crashed:

killall -KILL Finder

The Dock,  DashBoard Widgets, or Spaces (on 10.5/10.6 – Leopard/Snow Leopard) crashed:

killall -KILL Dock

The Menubar crashed/refuses to be clickable, Spotlight misbehaves or some Menu Extra popup does not disappear:

killall -KILL SystemUIServer

One that I found myself: Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SpotLight | Leave a Comment »

MacMost Now 256: Using the Text Editors Hidden in Terminal (Pico, Nano, VI, Emacs)

Posted by jpluimers on 2013/11/11

Great video that shows the console text editors Pico, Nano, Vi and Emacs on Mac OS X.

Many Mac users don’t know how powerful the console terminal can be, but since it is BSD based, it has a very broad set of commands available on the console.

If you need a text editor like Joe, then you can install it from the THE GNU MAC OS X Public Archive using this as a download page: PROJECT DETAIL for Joe’s Own Editor.

More info about joe:

–jeroen

via MacMost Now 256: Using the Text Editors Hidden in Terminal.

Posted in Apple, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User | Leave a Comment »