so, a new mac has replaced the one from 2011. That was snow-leopard which i really liked and never upgraded to anything until now having to deal with yô-xe-mại (yosemite). Since 2011 it seems mac has attempted lots of fancy things while removing your ability to do *very* simple things like split your own hard-drive or “save-as” a document!! So here’s a new set of links to deal with them:
a) how to enable “save-as”.
b) how to split your hard-drive, took me 4.5hrs!! but once i figured it out, it was quick…
c) contemplating what to do with quick-look and spot-light
d) HOORAAAH, this is a break through, as I was unable to uninstall the damn App-Store app itself and it kept sending nuisance to inform me updates on things i don’t care about: how to IGNORE update notification:
from terminal:

% softwareupdate –list (or -l)
Software Update Tool
Copyright 2002-2012 Apple Inc.

Finding available software
Software Update found the following new or updated software:
* RemoteDesktopClient-3.8.4
Remote Desktop Client Update (3.8.4), 7103K [recommended]
* RAWCameraUpdate6.06-6.06
Digital Camera RAW Compatibility Update (6.06), 7355K [recommended]
* OSXUpd10.10.5-10.10.5
OS X Update (10.10.5), 994094K [recommended] [restart]
* iTunesX-12.2.2
iTunes (12.2.2), 221488K [recommended]
% sudo softwareupdate –ignore RAWCameraUpdate6.06 (<– note you go until the first dash)
% sudo softwareupdate –ignore RemoteDesktopClient
% sudo softwareupdate –ignore OSXUpd10.10.5
% sudo softwareupdate –ignore iTunesX
% softwareupdate –list
Software Update Tool
Copyright 2002-2012 Apple Inc.

Finding available software
No new software available. 🙂 🙂 🙂

man page here
(e) man, excuse the language.. this damn yosemite crap is getting more on my nerve.. wasted 1/2 hour more before it can find my keyboard which snow leopard didn’t have trouble… here’s instruction for those in same boat.

so, just got a brand new shiny mac at work, have been working round the clock to get it up to speed.  just putting what i learn here in case people run into same problem / want same thing.

a) printing to PDF format on Mac OS 10.6:

1) Mac OS 10.6 disables the ability to print to PDF;
2) Installing Adobe Acrobat Professional does not solve the problem.
3) Upgrading to latest AdobePro does not solve problem (for me) despite what link above says.
4) Work around:

“To convert an Adobe form to a static version, save the form as a postscript file (*.ps). You can do that using either FILE>SAVE AS>Format:Postscript or FILE>PRINT>PDF>Save as Postscript… After creating the postscript file, open it and save as PDF (I’ve been using Preview to open the postscript file). It’s awkward but it works. ”

90% of the time, Apple “Preview” will work. However, for such a “dynamic” form:

Click to access pre_or_waiver_pgcolorchgform_6jul10.pdf

we need adobe to have the info calculated correctly (Preview can’t handle such form), then we need (4) above to print the form out for save.

b) run matlab from command line:
Jacob Duijnhouwer – 07 Dec 2004 10:09 GMT
Running matlab within the x11 terminal in Mac OS X,
or: improving the sad Matlab experience in Mac OS X in 4 steps

I recently spent some time trying to get matlab to run acceptably on
my apple laptop. I hope this information might of help to other.

Matlab commands can be input in the terminal, bypassing the incredibly
sluggish command window that build into Matlab. Apperently, Matlabs
commandwindow is build in Java. Java does not have to be start up this
way. Good! Perhaps best of all: improved startup time (From 60 to 15
seconds on my Powerbook550MHzG4, that’s with X11 already running in
both measurements).

Tested on Mac OS X 10.3.6 with Matlab 701

Chapters 0 thru 3:

====================== 0 =================
Start X11
Open a terminal (xterm)
From the prompt, type: /Applications/MATLAB701/bin/matlab -nojvm
Voila! Xterm Matlab.

Suggestions for a further improved Matlab in Apple’s X11 experience:
====================== 1 =================
Edit .bash_profile (in your home directory) to include the matlab in
your path:


Also, add to the following alias to your .bash_profile:

alias matlab=”matlab -nojvm”

Save the edited .bash_profile.

Important: To make your .bash_profile effective not only in the but also in the xterm of X11, from the commandline (of
one of these terminals) type:

ln .bash_profile .bashrc

This creates a link called .bashrc to your .bash_profile that is
called when the xterm starts up.

==================== 2 ====================

crtl-option click (and hold) in the xterm and select “enable
regards jacob

c) get xterm and mac-terminal to use same apple-c & apple-v for cut and paste:

1) open a mac-terminal
2) vi .Xresources (create one if none exists)
XTerm*VT100.Translations: #override \
Prior: scroll-back(1,page) \n\
Next: scroll-forw(1,page) \n\
Meta W: quit() \n\
Meta V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
3) Applications->Utilities->X11
now try apple-c and apple-v here.

d) some short-cuts:

fn-delele = windows delete

e) Still in progress: how to get wireless to work w/ darn WEP key…

f) Spectacularly unsuccessful so far: find alternative for to paste in xterm via VNC


installing ghostview (gv). instruction copied from here.

gv for Mac OS X

gv is useful for displaying Postscript files, such as those created with GMT, from the command line and can be included easily in plotting scripts.

gv requires the Xaw3d libraries and header files, which are not included in Apple’s Xcode developer suite. One must therefore install Xaw3d first.

Installing Xaw3d (version 1.6 and beyond)

The distribution of Xaw3d was recently taken over by The source code has been suitably updated as of version 1.6 so as not to require the antiquated imake (or xmkmf) utility. It may now be installed using a standard configure-and-make routine described below. Information for installing Xaw3d up to version 1.5E can still be viewed on the old page here.

There appears to be a problem with the latest Xaw3d source code versions (1.6.1 and 1.6.2) when opening gv, so I recommend installing version 1.6 for use with gv. The version 1.6 source code may be downloaded as a bzip’d or gzip’d tar-file. Unzip and expand the tar-file in an appropriate directory. Change to the newly created libXaw3d-1.6/ directory.

To avoid having to install and use the pkg-config utility, add explicit environment variables to the configure command to call the necessary X11 headers and libraries:

./configure X11_CFLAGS=’-I/usr/X11/include/X11′ X11_LIBS=’-L/usr/X11/lib -lX11 -lXext -lXmu -lXt’

followed by the usual sequence of make commands, e.g.

sudo make install
make clean

This will install Xaw3d headers in /usr/local/include/X11/Xaw3d/ and libraries in /usr/local/lib/, which should make these available through the system’s default paths.

Installing gv

With Xaw3d installed, one may now install gv from source. The source code is available here (latest version is 3.7.3). Unzip and expand the tar-file, and change to the newly created directory as before.

There seems to be an (easily corrected) error in the source code of Scrollbar.c. A patch report suggests a solution by editing src/Scrollbar.c at line 1009:

(*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);

to read

(*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);

On Mac, the configuration also seems to require the addition of the –enable-SIGCHLD-fallback flag (I also include the X libraries and includes although I don’t know if these are really necessary), e.g.

./configure –x-includes=/usr/X11/include/X11 –x-libraries=/usr/X11/lib –enable-SIGCHLD-fallback

followed by the usual sequence of make commands, e.g.

sudo make install
make clean

This will install gv in /usr/local/bin/, which should make gv available through the system’s default paths.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s