Michael Cardell Widerkrantz | 14 Mar 2012 14:06
Picon
Favicon

Customized alert for tmux

Hello,

A while ago I started using tmux [1] instead of screen. I wrote this to
get alerts from emacs-jabber in tmux. Feel free to include it in
emacs-jabber.

----------------- 8< -----------------
(defun jabber-tmux-message (msg)
  "Show MSG in tmux"
  (call-process "tmux" nil nil nil "display-message" msg))

; Automatically defines jabber-{message,muc,presence,info}-tmux
; functions.
(define-jabber-alert tmux "Show a message through the tmux terminal multiplexer"
  'jabber-tmux-message)
----------------- 8< -----------------

[1] http://tmux.sourceforge.net/

--

-- 
http://hack.org/mc/
Warning! Plain text e-mail, please. HTML e-mail deleted unread.
OpenPGP: 673B 563E 3C78 1BA0 6525  2344 B22E 2C10 E4C9 2FA5

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

Gmane