[w3m-dev 01273] Re: SCM_NNTP

From: $B2,ED (okada@furuno.co.jp)
Date: Thu Oct 26 2000 - 06:55:50 CDT

  • Next message: Fumitoshi UKAI: "[w3m-dev 01274] Re: SCM_NNTP"

    $B2,ED$G$9!#(B

    From: knok@daionet.gr.jp (NOKUBI Takatsugu)
    Subject: [w3m-dev 01264] Re: SCM_NNTP
    Date: Thu, 26 Oct 2000 10:26:21 JST

    > $B;d$N$H$3$m$G$OMn$A$O$7$J$$$N$G$9$,!"(BCtrl-C $B$r2!$9$^$G5"$C$F$-$^$;$s!#(B
    > $B$G!"(BCtrl-C $B$r2!$7$?;~$K=PNO$5$l$kFbMF$r8+$k$H!":G8e$N(B ".\r\n" $B$^$GI=<((B
    > $B$5$l$k$N$G!"$3$NJU$N=*C<$rG'<1$7$F$$$J$$$N$+$J$!!"$H$$$&$h$&$J5$$,$7$F(B
    > $B$^$9!#(B

    $B$3$l$G$9$,!"(Bconfig.h $B$G(B #undef USE_NNTP $B$H$J$C$F$$$k$H$3$&$J$k$h$&$G$9!#(B

    url.c $B$r=$@5$7$F!"(B#undef USE_GOPHER $B$d(B #undef USE_NNTP $B$N$H$-$K$O(B
    gopther: $B$d(B news: $B$,F0:n$7$J$$$h$&$K$7$^$7$?!#$^$?!"(Bnntp: $B$bF0:n$7$J$$(B
    $B$h$&$K$7$^$7$?!#(B

    $B2C$($F!"(BGOTO URL $B$G(B mailto: $B$rF~NO$7$?$H$-$KF0:n$9$k$h$&$KJQ99$7$F$_$^(B
    $B$7$?!#$D$$$G$K!"%3%a%s%H$N4V0c$$$bD>$7$F$"$j$^$9!#(B

    From: Tsutomu Okada ($B2,ED(B $BJY(B) <okada@furuno.co.jp>
    Subject: [w3m-dev 01269] Re: SCM_NNTP
    Date: Thu, 26 Oct 2000 16:48:14 +0900

    okada> $B;d$N4D6-$G$O!"$3$N=$@5$r$7$J$$$H(B news:<Message-ID> $B$,F0$-$^$;$s(B
    okada> $B$G$7$?!#(B

    $B$3$NItJ,13$r=q$$$F$^$7$?!#$3$N=$@5$r$7$J$/$F$b!"(Bnews:<Message-ID> $B$OF0(B
    $B$-$^$7$?!#$?$@!"(Bhistory $B$KF~$kJ8;zNs$,$*$+$7$/$J$k$N$G!"(B[w3m-dev 1269]
    $B$OEv$F$?$[$&$,$$$$$H;W$$$^$9!#(B

    -- 
    Tsutomu Okada <okada@furuno.co.jp>
    

    --- main.c.dist Thu Oct 26 10:01:25 2000 +++ main.c Thu Oct 26 20:34:21 2000 @@ -2763,8 +2763,18 @@ } } + if (!strncasecmp(url, "mailto:", 7)) { + /* invoke external mailer */ + Str tmp; + tmp = Strnew_m_charp(Mailer, " ", quoteShell(url + 7)->ptr, NULL); + fmTerm(); + system(tmp->ptr); + fmInit(); + displayBuffer(Currentbuf, B_FORCE_REDRAW); + return; + } #ifdef USE_NNTP - if (!strncasecmp(url, "news:", 5) && + else if (!strncasecmp(url, "news:", 5) && strchr(url, '@') == NULL) { /* news:newsgroup is not supported */ disp_message("news:newsgroup_name is not supported", TRUE); @@ -3242,7 +3252,7 @@ "ftp://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./=_+@#,\\$]*", #ifdef USE_NNTP "news:[^<> ][^<> ]*", -#endif /* not USE_NNTP */ +#endif /* USE_NNTP */ NULL, }; int i; --- url.c.dist Thu Oct 26 16:13:23 2000 +++ url.c Thu Oct 26 20:34:40 2000 @@ -1341,6 +1343,7 @@ write_from_file(sock, request->body); } break; +#ifdef USE_GOPHER case SCM_GOPHER: if (non_null(GOPHER_proxy) && !Do_not_use_proxy && @@ -1367,6 +1370,8 @@ } write(sock, tmp->ptr, tmp->length); break; +#endif /* USE_GOPHER */ +#ifdef USE_NNTP case SCM_NEWS: p = getenv("NNTPSERVER"); r = getenv("NNTPMODE"); @@ -1410,7 +1415,9 @@ fclose(f); fclose(fw); return uf; +#endif /* USE_NNTP */ case SCM_UNKNOWN: + default: return uf; } uf.stream.f = fdopen(sock, "rb");



    This archive was generated by hypermail 2b29 : Thu Oct 26 2000 - 07:05:42 CDT