about photos bookshelf portfolio blog home
Begin main content

Motorola: Addressing The Need for Integrated VoIP Solutions [broadband.motorola.com]

This stuff is freakin fantastic. If Motorolla can make Mobile/WiFi/Voip as seamless as they are promising, we might finally have the products we all saw on Beyond 2000!

(For non-Australian readers, Beyond 2000 was a Science/Tech TV show focussing on cool new science and tech. It aired on TV in the late 80s, early 90s. It has recently re-emerged in a similar format: http://www.beyond2000.com/ )

05:42 PM, 04 Jan 2006 by Mark Aufflick Permalink | Comments (0)

Get emacs to set your xterm title

I very rarely have an xterm open that's not running emacs (I run my shells inside emacs, except on production logins), so an xterm title of 'xterm' doesn't really help distinguish between windows).

First you need xterm-frobs.el from Noah Friedman's emacs lisp code. Place it in your site-lisp directory or wherever you keep custom lisp.

Then add the following code in whatever block your .emacs executes when you're in an xterm:

(require 'xterm-frobs)
(defun my-set-xterm-title ()
(xterm-set-window-title
(concat (getenv "HOSTNAME") "- emacs - " (buffer-name))))

(let ((term (getenv "TERM")))
(when (and (not window-system)
(or (string= term "xterm")
(string= term "rxvt")))
(require 'xterm-frobs)
(add-hook 'window-configuration-change-hook 'my-set-xterm-title)
(add-hook 'emacs-startup-hook 'my-set-xterm-title)))

(I came up with this code based on the following urls:
http://www.macosxhints.com/article.php?story=20041008195252133
http://www.splode.com/~friedman/software/emacs-lisp/
http://paste.lisp.org/display/3528
)

03:31 PM, 04 Jan 2006 by Mark Aufflick Permalink | Comments (0)

XML

Blog Categories

software (4)
  ..heads up 'tunes (4)

Notifications

Icon of Envelope Request notifications

Syndication Feed

XML

Recent Comments

  1. Mark Aufflick: all good ideas
  2. Unregistered Visitor: Excellent!
  3. Mark Aufflick: Hey thanks
  4. Unregistered Visitor: Fantastic entry
  5. Mark Aufflick: Bah - dashboard widgets
  6. Unregistered Visitor: Nice
  7. Mark Aufflick: elegant maths (as opposed to elegant rabbit)
  8. Unregistered Visitor: Does that really matter?
  9. Mark Aufflick: Inspiration
  10. Unregistered Visitor: Perhaps...