Muli Ben-Yehuda's journal

October 14, 2005

inspirational Linux posters

Filed under: Uncategorized — Muli Ben-Yehuda @ 11:48 PM

Your favorite distro’s motivational poster is available at

October 12, 2005

Filed under: Uncategorized — Muli Ben-Yehuda @ 11:18 AM

The latest Everybody Loves Eric Raymond is awesome as usual.

Filed under: Uncategorized — Muli Ben-Yehuda @ 11:05 AM

Happy 60’th Birthday IBM Research!

(it’s cool, awe inspiring and somewhat frightening to be a part of something this big. Mostly cool, though.)

October 11, 2005


Filed under: Uncategorized — Muli Ben-Yehuda @ 2:19 PM

Just heard on a conference call:
Q: “Can you guys understand me?” (on a line with horrible audio quality)
A: “No!”

Filed under: Uncategorized — Muli Ben-Yehuda @ 1:09 PM

Cites You Like is neat. You can find cites I like under ‘muli’, or via this RSS feed: (citesmulilikes on lj).

October 10, 2005

adventures with emacs printing

Filed under: Uncategorized — Muli Ben-Yehuda @ 1:24 PM

When I started working at HRL, one of the first things I set up was
printing from Linux. It turned out to be pretty simple: create
postscript, and use a proprietary “pdpr” program on Linux to send the
postscript file to the printer. All was good and well, until while I
was abroad, new printers were installed that didn’t work with pdpr any
more, thus leading me to experiment with printing the modern
way. After installing the necessary packages and running a script to
set everything up (all thoughtfully provided by our system team!)
printing from mozilla, openoffice and the command line worked. I was a
happy camper.

Then I decided to go all the way and get printing from (x)emacs
working directly (rather than C-u M-x ps-print-buffer -> create a .ps
file -> print from the command line). A couple of hours spent
debugging ps-print.el, I had a script called “emacsprint”
which worked. Its contents?

muli@rhun:~$ cat bin/emacsprint

lpr $*

That’s all. Naturally, just calling lpr directly did not work. I
decided to leave it for the night and wait for
inspiration. Inspiration came today.

Compare and contrast:

"lpr" "-P [printername]"


"lpr" "-P[printername]"

If it’s not obvious, consider:

"lpr" "-P" "[printername]"

“-P [printername]” was getting passed to lpr as one argument, rather
than two, which lpr then did not know what to do with. When expanding
it via the wrapper script and $*, it was properly passed as two

October 3, 2005

Filed under: Uncategorized — Muli Ben-Yehuda @ 12:39 AM

It’s good to be home!

« Previous Page

Blog at