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.6 Snow Leopard’ Category

Apple Mac OS X / OS X / macOS versions and history graphs – Wikipedia

Posted by jpluimers on 2020/01/03

Based on [WayBack]ย macOS – Wikipediaย and follow-up ofย OS X โ€“ the versions and their names โ€“ as I always forget themย andย osx โ€“ How to find out Mac OS X version from Terminal? (via: Super User)

Release historyย (with release dates):

The graph with Apple Mac OS X / OS X / Mac OS versions cannot do without a graph showing the BSD and Unix inheritance.

Graph origins:

More complete Mac OS X / OS X / Mac OS and Unix timelinesย are below fromย macOS version history – Wikipedia.

–jeroen

Read the rest of this entry »

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, macOS 10.12 Sierra, macOS 10.13 High Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

Setting Up a New Mac: Should You Migrate or Do a Clean Installation? | The Mac Security Blog

Posted by jpluimers on 2019/10/07

Interesting read: [WayBack]ย Setting Up a New Mac: Should You Migrate or Do a Clean Installation? | The Mac Security Blog

–jeroen

Posted in Apple, iMac, 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, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

logging – Where is “/var/log/messages” on mac-osx? – Server Fault

Posted by jpluimers on 2019/07/29

logging – Where is “/var/log/messages” on mac-osx? – Server Fault

TL;DR: because most of it is in /var/log/system.logย which is configured in /etc/asl.conf, but the documentation example aboutย syslog.confย never got updated.

Long read

The example in syslog.conf is wrong atย WayBack: Mac OS X Manual Page For syslog.conf(5)ย and man syslog.conf:

EXAMPLES
     A configuration file might appear as follows:
...
     # Log anything (except mail) of level info or higher.
     # Don't log private authentication messages!
     *.info;mail.none;authpriv.none          /var/log/messages
...
FILES
     /etc/syslog.conf  The syslogd(8) configuration file.

It still is when writing thisย [WayBack]syslog.conf(5) Mac OS X Manual Page, so you have to look at /etc/syslog.confย on a live system:

# Note that flat file logs are now configured in /etc/asl.conf

install.*                       @127.0.0.1:32376

which means the actual configuration is in /etc/asl.conf:

# Rules for /var/log/system.log
> system.log mode=0640 format=bsd rotate=seq compress file_max=5M all_max=50M
? [= Sender kernel] file system.log
? [<= Level notice] file system.log
? [= Facility auth] [<= Level info] file system.log
? [= Facility authpriv] [<= Level info] file system.log

Documentation atย [WayBack] asl.conf(5) Mac OS X Manual Pageย indicates this:

NAME
     asl.conf -- configuration file for syslogd(8) and aslmanager(8)

DESCRIPTION
     The syslogd(8) server reads the /etc/asl.conf file at startup, and re-reads the file when it receives a HUP signal.  The aslmanager(8) daemon reads the file when it starts.  See the
     ASLMANAGER PARAMETER SETTINGS section for details on aslmanager-specific parameters.

Source

Based on [WayBack]ย logging – Where is “/var/log/messages” on mac-osx? – Server Fault:

Q:

When you read the man pages on Mac OS X, there are references to /var/log/messages, but if you look for the file, it doesn’t exist:

$ ls -l /var/log/messages
ls: /var/log/messages: No such file or directory

A:

2009 era:ย If you look at the actual /etc/syslog.conf instead of the man page, you see *.notice;authpriv,remoteauth,ftp,install.none;kern.debug;maiโ€Œโ€‹l.crit /var/log/system.log

–jeroen

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, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

ssh from Mac OS X to ESXi: “WARNING: terminal is not fully functional”

Posted by jpluimers on 2019/03/29

When connecting from my Mac to my ESXi rig, some commands (especially less) show this output:

WARNING: terminal is not fully functional

So I created this alias to connect from my Mac to the internal address of my ESXi rig:

alias ssh-esxi-X10SRH-CF-internal='TERM=xtermย ssh -p 22 root@192.168.71.91'

The trick is the bold part:ย TERM=xtermย (which you can also replace byย export TERM=xterm;ย if you want future ssh sessions to use the same [wayback] TERM setting).

The reason is that the Mac defines the TERM variable as containing xterm-256ย which is defined on the Mac itself, but ESXi has a hard time coping with it.

Some Mac OS and Xcode combinations had a problem with xterm-256ย not being present ([WayBack]ย macos – Terminal strangeness after installing Xcode on Lion – Super User), but this isn’t the case on my system:

$ ls -alh `find /usr/share/terminfo | grep 'xterm-256color'`
-rw-r--r-- 1 root wheel 3.2K Jul 30 2016 /usr/share/terminfo/78/xterm-256color

On the Mac you really want to use xterm-256colorย as it looks way better than xterm-colorย or xterm:ย [WayBack]ย linux – What is the difference between xterm-color & xterm-256color? – Stack Overflowย (thanks [WayBack] Chris Page!)

It seems I already did something similar on ESXi itself to get esxtopย working:ย ESXi: when esxtop shows garbage.ย That was on the ESXi side and works as well for this problem too.

However, it is a bit harder to have a script run during ESXi boot time that sets this, so it is easier to fix this on the Mac side.

It works for all OS X and ESXi versions I’ve tested so far.

–jeroen

Posted in *nix, Apple, ESXi5.1, ESXi5.5, ESXi6, ESXi6.5, iMac, 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, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

TigerVNC on Mac OS X with homebrew to check why a Screen Sharing.app connection fails.

Posted by jpluimers on 2019/01/18

Two installation options for TigerVNC:

The [WayBack]ย TigerVNCย  viewer gives a bit more details on failing VNC connections than the stock OSX Screen Sharing.appย does: after performing the logon, the connection would just stall, butย TigerVNC would should ย “write broken pipe (32)”ย after the logon. Most of the linked search results indicated the VNC server was having a state problem.

So I restarted the VNC server, after which connections could be made again in both tools.

I actually prefer the stock Screen Sharing.appย as:

–jeroen

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, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, VNC/Virtual_Network_Computing | 2 Comments »

Restoring files from OS X Time Machine with Terminal.app

Posted by jpluimers on 2017/12/01

cd /Volumes/Backup/Backups.backupdb/Joshua\ Priddleโ€™s\ MacBook\ Pro/Latest/Macintosh\ HD/Users/priddle

tmutil restore -v secret_docs.txt ~/

Learned from [WayBack]ย Restoring files from OS X Time Machine with Terminal.app:

  • do not use cpย as it will give you wrong permissions
  • do use tmutil

More elaborate steps (including finding the backup in the first place) is atย [WayBack]ย Commandline restoration of a file in Time Machine on OS X | Hacks for Macs

–jeroen

Posted in Apple, iMac, 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, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

How-To: Automatically change your Macโ€™s display resolution when running specific apps [Video] – via: 9to5Mac

Posted by jpluimers on 2017/08/11

Yet another reason I love SwitchResX: : How-To: Automatically change your Macโ€™s display resolution when running specific apps [Video] | 9to5Mac

A few years ago,ย SwitchResX helped me switch my Mac machine to 1360ร—768 and 1888ร—1062 ยซ The Wiert Corner โ€“ irregular stream of stuff

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, 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, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks | Leave a Comment »

OS X – the versions and their names – as I always forget them

Posted by jpluimers on 2017/04/03

I always forget which OS X versions there are and which names they use.

So via: OS X – Wikipedia, the free encyclopedia, I made this list where the first item points to the table in the above article and each subsequent item to the individual article on the version. I tried to find EOL dates, but that’s hard despite the overview atย Apple security updates – Apple Support:

None of this would be noteworthy if Apple, like Microsoft and a host of other major software vendors, clearly spelled out its support policies. But Apple doesn’t, leaving users to guess about when their operating systems will fall off support. | Computerworld

–jeroen

PS: EOL dates are as of 20160403.

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.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 1 Comment »

iMovie on a 2010 iMac was starting and running slow: 2 simple steps solved that

Posted by jpluimers on 2017/02/27

iMovie on a 2010 iMac was starting and running slow. During startup, it wasn’t using much memory, but during editing it did: less than 2 gigabyte out of 8 gigabyte free memory left.

The hard-disk was like 30% full, there wasn’t much in the cache, few processes were auto-starting and the recycle bin was almost empty.

So my first thought was adding more RAM (which is easy): duplicating it to 16 megabyte was easy and not expensive when you look at the Amazon prices for it.

After that it was faster, but not really fast: especially the loading was still slow (less slow than before, but still taking minutes).

Then I scanned for permission issues and there were quite a few as the machine had been getting updates since 2010. So I repaired the permissions using disk utility.

Now iMovie loaded much faster as well: in under a minute.

So out ofย 17 Ways to Speed Up Mac OS X Lion – ChrisWrites.com, only 2 steps were really needed so far.

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

Managing WIFI connections using the Mac OSX…

Posted by jpluimers on 2017/02/10

These links:

Made me add this to my ~/.bash_profile:

Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.9 Mavericks, Power User | Leave a Comment »