- More than 10,000 bookmarks at http://Del.icio.us/Deflexion.com/OSX
-
Subscribe to
OSX
deflexions
or all
deflexions
NetNewsWire and Animated Sorting
Libellés : animation, apps, browsers, cool, email, feeds, fun, gratis, osx, releases
Using Alpine in an X11 Terminal
Important: These instructions worked on Leopard, but will probably not work on Tiger (or earlier) because the X11 configuration is significantly different in Leopard than in earlier versions of OS X. Details about X11 on Leopard are here and here.
- Install the latest Alpine. For details, see my blog item titled Building and Installing Alpine (Apache-Licensed Pine).
- In a Terminal.app window, run
xterm -e alpine &
- In Alpine, go to Main > Setup > Config (MSC) and set this feature:
[X] Enable Mouse in Xterm
Read Alpine's built-in Help about Enable Mouse in Xterm (by typing Ctrl-G or ?), but note that in Leopard you should not explicitly set the DISPLAY environment variable. Instead, it will be set automatically when xterm runs. This is one of the changes in Leopard. - Read the built-in Help about the following two features and decide if you would like to set them. Here are the settings that I use:
[X] Enable Newmail in Xterm Icon
[ ] Enable Newmail Short Text in Icon - In Alpine, go to Main > Setup > Kolor (MSK) and set
Color Style
After you set the color style, use the Space and - keys to navigate the SETUP COLOR screen and choose colors that you like.
Set Rule Values
--- ----------------------
( ) no-color
( ) use-termdef
( ) force-ansi-8color
( ) force-ansi-16color
(*) force-xterm-256color - Save your settings and quit Alpine.
- Quit X11.
- In a Terminal.app window, run
xterm -e alpine &
and check that the mouse and colors are working. - If you plan to run Alpine in an X11 Terminal regularly, set up an alias in your ~/.bashrc (or ~/.bash_profile) that you can use to launch xalpine with the xterm settings (fonts, geometry, etc.) that you like. For example, here is the alias that I'm currently using:
alias xal='xterm -fa DejaVu\ Sans\ Mono -fs 18 -geometry 116x32+0+0 -e alpine &'
Tip 1: The DejaVu fonts, which include the DejaVu Sans Mono font that I use in my 'xal' alias above, are libre and include many Unicode characters. To see if the DejaVu fonts are installed on your system, view this DejaVu Testing page in your web browser.
Tip 2: Cmd-double-clicking anywhere on a URL in an xterm will send it to your default web browser.
Tip 3: To select text in xalpine, you need to hold down the Shift key while using the mouse to select the text. After the text is selected, Cmd-C can be used to copy the text.
Tip 4: To paste text into xalpine, you need to first type Ctrl-\ to turn off Alpine's Xterm mouse tracking, then middle-click (Alt-click) at the location where you would like the text to be pasted. Note that in order for this to work you need to go to X11 > Preferences > Input and check 'Emulate three button mouse'.
Please post any tips, suggestions, or questions you have about using Alpine in an X11 Terminal.
Libellés : alpine, bash, email, fonts, imap, mouse, nntp, osx, unicode, x11, xterm
Using MacVim Almost Everywhere in Mac OS X
- Click the Blogger "Edit Html" tab.
- From the Safari Edit menu, choose Edit in MacVim.
- Use MacVim to edit the HTML and then use the Vim command :wq to write and quit.
- The focus returns to the Blogger blog item text box, which now contains the text that MacVim wrote out.
:set ft=htmlOr put this line in your .vimrc:
autocmd BufRead *.safari setfiletype htmlThis autocmd works because Safari uses the extension .safari for the name of the temporary file that is read by MacVim.
Libellés : blogger, html, macvim, osx, safari, vim
Blogging with MarsEdit
So far I like it. I especially like that:
- I can make the MarsEdit post editor window font whatever size I want; this is not the case in Flock.
- I can launch an alternate editor, such as vim, from the MarsEdit post editor.
- Assigning labels to a post is simple -- just check them off in the Options/Categories sidebar.
Libellés : blogger, blogging, marsedit, osx, software
1Password and Browser Independence
As you can read about on the 1Password site and blog, 1Password has won many awards and is a nominee for one of the Macworld 2007 Readers' Choice Awards.
See Also: Dancing With the Web Browsers, where I discuss strategies I use to make it easy to switch between browsers, and IUseThis: Social Networking for Nerds, where I discuss why I use IUseThis.
Libellés : 1password, browsers, iusethis, osx
IUseThis: Social Networking for Nerds
To learn about social networking, see:
- Social network service at Wikipedia.org
- Social Network Sites: Definition, History, and Scholarship by danah m. boyd and Nicole B. Ellison
- Social Network Transitions by Fred Stutzman
Libellés : apps, iusethis, osx, socialsoftware, software, terminology, web2.0, webservices
Building and Installing Alpine (Apache-Licensed Pine)
Here is what I did to build and install Alpine on my Mac OS X system.
- If you have not done so already, download and install the latest Xcode package from the Apple Developer Center.
- Backup any Pine and Alpine files that are in /usr/local/bin. These will be replaced by Step 12 below.
- Go to ftp.cac.washington.edu/alpine and get the latest alpine-x.xx.tar.bz2 (where x.xx is the version number). I prefer to get the .bz2 file because it is smaller than the .Z and .gz files.
- Put this tarball in your build directory, for example in ~/Build.
- Open a Terminal window.
- To change to your build directory, type:
cd ~/Build
- To check the MD5 checksum of the tarball, run one of the following commands:
/sbin/md5 /absolute/path/to/alpine-x.xx.tar.bz2
I recommend that you specify the absolute path to both the command and the tarball to ensure you are not specifying trojans. The MD5 checksum should match the MD5 checksum that is in the x.xx release announcement message in the alpine-alpha mailing list.
/usr/bin/openssl md5 /absolute/path/to/alpine-x.xx.tar.bz2 - To unbzip2 and untar the tarball, type:
tar jxvf alpine-x.xx.tar.bz2
- To change to the newly created alpine-x.xx directory, type:
cd alpine-x.xx
- To read the README and the configuration help, type:
less README
./configure --help |less - To build Alpine, type the following (which are discussed in the README):
./configure
make - After the build is finished, type:
sudo make install
You will be prompted for your Mac OS X password. - To check that Alpine was built and installed correctly, type:
man alpine
Make sure that these two commands invoke the correct version (x.xx). If these commands do not work, you probably need to add /usr/local/man to your MANPATH environment variable and /usr/local/bin to your PATH environment variable. For details, see the man page for your shell (man bash, man tcsh, etc.). To determine your shell, run finger -l.
alpine
- man alpine
- alpine -h | less
- Alpine Release Notes, which can be viewed by typing MR (Main > RelNotes) in Alpine
- Alpine's built-in context-sensitive Help, which can be viewed by typing ^G (Get Help) or ? in Alpine
- Alpine-alpha list archives
- All About Pine: POP, IMAP, NNTP, & ESMPT Client for Unix, MS Windows, and Mac OS X
- Power Pine: Getting the Most Out of Unix-, Mac-, and PC-Pine
Tip 1: You should be able to use a modified version of these instructions to build Alpine on any Unix-like system. For example, I used Steps 3-11 to build Alpine on my DreamHost shared hosting account, which runs Debian Linux.
Tip 2: The Alpine FTP site includes pre-built versions of Alpine for MS Windows (PC-Alpine): alpine-x.xx-wnt.zip and setup_alpine_x.xx.exe. Details are in ftp://ftp.cac.washington.edu/alpine/README
See Also: Paul Heinlein's Pine and Alpine on Mac OS X, which includes notes on building and running Pine or Alpine under Mac OS X.
Libellés : alpine, email, imap, nntp, osx, sysadmin
Each item © Nancy McGough
Each comment © the author of the comment
Deflexion.com web site hosted
by DreamHost.com
←
More deflexions & reflexions, & feeds
available via the sidebar
top
&