plumbing extension

Marc Lehmann schmorp at schmorp.de
Fri Oct 26 01:51:43 CEST 2007


On Wed, Oct 24, 2007 at 10:13:51PM +0800, sqweek <sqweek at gmail.com> wrote:
>  Probably very few people here are familiar with plumbing, but I've
> written an urxvt extension to tie in with the plumber from p9p[1].

The url you referenced says nothing about plumbing, so its not really
helpful.

> It's available at http://sqweek.dnsdojo.org/wmii/plumb.txt (.txt
> because lighttpd sucks).

A far better way to communicate about the workign directory would be to use a
window property. I use this, for example:

   set_prop () {
      { builtin echo -ne "\033]3;$1=$2\007" >/dev/tty 2>/dev/null; } >/dev/null 2>&1
   }

   set_prop _X_CWD "$PWD"

Very useful, and unlike window titles (which need to be in some proper
encoding that might not be able to represent the cwd at all) it even works
correctly.

>  Briefly, the plumber is an IPC daemon which waits for plumbing

Wiouldn't it be more efficient to contect that daemon directly?

> your shell set the window title following the p9p convention[2] for

This looks like a file on your machien, which is inaccessible to the rest
of the world.

In any case, from what little I can understand from your mail, it looks
very interesting, and clearly falls within the sort of applications I
imagined people would eventually create for urxvt :)

> [1] http://plan9.us
> [2] /home/sqweek/-nightingale

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      pcg at goof.com
      --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE




More information about the rxvt-unicode mailing list