lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Using lynx2.8.4dev.8 "damages" (ai)xterm


From: Thomas Dickey
Subject: Re: lynx-dev Using lynx2.8.4dev.8 "damages" (ai)xterm
Date: Thu, 31 Aug 2000 19:48:14 -0400
User-agent: Mutt/1.2i

On Thu, Aug 31, 2000 at 05:06:45PM -0400, Ismael Cordeiro wrote:
> I'm also having apparently related problems. In my .mailcap I have
> 
> application/zip;unzip -v %s | $PAGER -S
> 
> which gives me the directory of a zip pile. With dev.8 I get
> 
> | Getting file://localhost/home/ismael/Mail/qwkp9811.zip
> | unzip -v %s | $PAGER -S
> | unzip:  cannot find %s, %s.zip or %s.ZIP.

I see my error - when I implemented the chunk in src/HTFWriter.c for
handling stdin when no %s is given, I lost the fragment that handled
the %s when it is present.

I just added the clause for 's' around line 540 in that file:

                if (s[1] == 't') {
                    repl = pres->rep->name;
                    skip = 1;
                } else if (s[1] == 's') {
                    repl = fnam;
                    skip = 1;
                } else if (!strncasecomp(s+1, "{charset}", 9)) {

(for the rest - compiler warnings, I'll run a set of compiles before I
checkin a patch)

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]