Urlview -- a command-line url parser which allows you to choose what application to launch. [source ]

Urlview's selection confirmation annoyed me. I whacked the above source to disable this annoyance. Just run the following patch on source and add "NOASK" to your ~/.urlview config file.

Update 2007-05-27:
I've given up on urlview and rewrote it in python. This entry is hit #4 on google for 'urlview', so I figured I'd just say that I've given up on urlview and now use UrlViewWithPython

--- urlview-0.9.orig/urlview.c 2000-07-04 10:14:30.000000000 +0000 +++ urlview-patrick/urlview.c 2007-01-15 00:00:38.000000000 +0000 @@ -176,6 +176,7 @@ int is_filter = 0; int expert = 0; + int do_not_ask_user = 0; if (!argv[optind]) is_filter = 1; @@ -198,6 +199,10 @@ { if (buf[0] == '#' || buf[0] == '\n') continue; + if (strncmp ("NOASK", buf, 5) == 0) { + do_not_ask_user++; + continue; + } if (strncmp ("REGEXP", buf, 6) == 0 && isspace (buf[6])) { pc = buf + 6; @@ -501,7 +506,7 @@ strncpy (buf, url[current], sizeof (buf)); buf[sizeof (buf) - 1] = 0; mvaddstr (LINES - 1, 0, "URL: "); - if (mutt_enter_string (buf, sizeof (buf), LINES - 1, 5, 0) == 0 && buf[0]) + if (do_not_ask_user || (mutt_enter_string (buf, sizeof (buf), LINES - 1, 5, 0) == 0 && buf[0])) { free (url[current]); url[current] = strdup (buf);

I forwarded the patch to the maintainer. we'll see what happens.


Not that you have to do anything about it, but since you are using css with pre tucked in there for code, formatting doesn't make it to bloglines rss. So it's all one stream. I don't mind terribly since I can just click the link and take a look when you post code, but I thought you might like to know. -- Nathan
Yeah, XML::RSS doesn't have a nice hook for linking in the stylesheet. I'll hack it in and forward back to the developers. Thanks for the tip!
Stylesheets get applied to XML, not to RSS. Implementing lame hack-around. -- Patrick.