Mac OS X tips/reminders

3 simple tips/reminders for stuff I had to deal with while using Mac OS X the last two days…

To get arrows working while inside vim in a remote server one needs to change Mac OS X’s terminal type.
$ cat .profile
TERM=linux

If you use push "redirect-gateway" option in an openvpn server configuration file, you need to add redirect-gateway def1 in your client’s configuration file when using openvpn’s Mac OS X client (Tunnelblick) or else when you close the VPN the previous default route is not restored.

To check on the signal quality of nearby Access Points get AP Grapher.

9 Responses to “Mac OS X tips/reminders”

  1. July 6th, 2008 | 19:15
    Using Mozilla Firefox Mozilla Firefox 3.0 on Linux Linux

    Psonises apple?

  2. July 6th, 2008 | 21:11
    Using Mozilla Firefox Mozilla Firefox 3.0 on Mac OS X Mac OS X 10

    Το δανείστικα γιατί το laptop που είχα εγώ αποφάσισε να πηδήξει από το γραφείο στο πάτωμα. Ο ασθενής έζησε, αλλά έχασε το φως του (μαύρισε η οθόνη). Προς το παρόν πειραματίζομαι με το Mac…

  3. July 7th, 2008 | 10:27
    Using Safari Safari 525.18 on Mac OS X Mac OS X 10.4.11

    Never had to do anything to get arrows working on remote servers in vim or vi. Certainly I wouldn’t set $TERM to linux :-p

    Alex:~ betabug$ echo $TERM
    vt102

    For checking on access points I use KisMAC.

  4. July 7th, 2008 | 13:39
    Using Mozilla Firefox Mozilla Firefox 3.0 on Mac OS X Mac OS X 10

    Thanks for the tips 🙂

  5. July 24th, 2008 | 16:15
    Using Safari Safari 525.20.1 on Mac OS X Mac OS X 10.5.4

    KisMAC works good if have an Atheros or 3rd party WiFi card, not with Airport extreme.

    Just one question, the laptop you mentioned runs Leopard or Tiger?
    The Terminal.app UTF-8 support is greatly improved in Leopard. As for Tiger you could give a look to iTerm.

    As for the arrows under vim. For both Tiger & leopard works fine when I ssh to my linux box without setting the term to Linux.

  6. July 31st, 2008 | 17:35
    Using Mozilla Firefox Mozilla Firefox 3.0.1 on Linux Linux

    The most important of all: Can Mac OS X run VIM? 😛

  7. October 29th, 2008 | 02:54
    Using Safari Safari 525.20.1 on Mac OS X Mac OS X 10.5.5

    Why would someone want to use vim in 2008 when there’s TextMate? It’s like having emacs on steroids 🙂

  8. November 15th, 2008 | 09:05
    Using Mozilla Firefox Mozilla Firefox 3.0.4 on Mac OS X Mac OS X 10

    Just to begin with, it’s neither free nor open source, vim is. There’s no chance I’ll be paying for a good text editor when there’s vim around.

  9. February 14th, 2009 | 03:29
    Using Safari Safari 525.27.1 on Mac OS X Mac OS X 10.5.6

    Last login: Fri Feb 13 21:17:37 on ttys000
    Angel:~ atma$ uname
    Darwin
    Angel:~ atma$ vim –version
    VIM – Vi IMproved 7.2 (2008 Aug 9, compiled Nov 11 2008 17:20:43)
    Angel:~ atma$ sudo port search vim
    Password:
    ctags @5.7 (devel)
    Reimplementation of ctags(1)

    hs-plugins @20050407 (devel)
    A plugin library for Haskell

    p5-text-vimcolor @0.11 (perl)
    syntax color text in HTML or XML using Vim.

    txt2regex @0.8 (sysutils)
    Converts human sentences to regexes

    vim @7.2.093 (editors)
    Vi “workalike” with many additional features

    vim-app @7.2.093 (editors)
    Vim.app is a GUI version of the famous editor vim.

    vim2html @1.46 (textproc)
    vim2html converts any Vim-editable file into well-formed HTML

    yi @0.1.0 (editors)
    the extensible Yi text editor

    Found 8 ports.
    Angel:~ atma$

    taraaaaam UNIX means magic!

Leave a reply