This patch allows pasting URLs of the form <address> and <URL:address>
to lynx: useful when it is not easy to choose address without
surrounding <> or <URL:>.
Enjoy,
Ilya
--- ./src/LYMainLoop.c-ppre Mon Feb 17 14:33:40 2003
+++ ./src/LYMainLoop.c Tue Feb 18 18:47:08 2003
@@ -6975,6 +6975,11 @@ new_cmd: /*
s++;
while (s < e && strchr(" \t\n\r", e[-1]))
e--;
+ if (s[0] == '<' && e > s && e[-1] == '>') {
+ s++; e--;
+ if (!strncasecomp(s,"URL:", 4))
+ s += 4;
+ }
if (s >= e) {
HTInfoMsg("No URL in the clipboard.");
break;
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]