Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ziggy (25)

ziggy
  (email not shown publicly)
AOL IM: ziggyatpanix (Add Buddy, Send Message)

Journal of ziggy (25)

Tuesday December 10, 2002
07:51 PM

Another WindowMaker hack

[ #9369 ]
Here's a hack for bringing up w3m in an xterm. The trick was identifying that %a(title,prompt) brings up a dialog box to enter a command. (See the Run... menu entry for an example.)

Then, add a new menu item like this:

rxvt -fn fixed +sb -geometry 80x40 -e w3m -cookie %a(w3m,Enter URL to open:)

And that's it! The URL is entered in the dialog box, and replaces the %a(...) sequence in the command above. The URL needs to be fully formed, of course. Perfect for reading a journal entry, or a quick news article.

Oh, there's a side benefit. When entering data into textareas, w3m brings up $EDITOR. So I can now enter journal entries using vi. ;-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.