Subject: Re: bad format `p'
To: Rhialto <>
From: Adrian Portelli <>
List: port-amd64
Date: 11/24/2007 16:27:45
Rhialto wrote:
> On Sat 10 Nov 2007 at 13:36:31 +0000, Adrian Portelli wrote:
>> For a while I've seen this issue on amd64 (NetBSD-4 RC2) if I launch
>> screen then irssi or mutt I see "bad format `p'" printed all over the
>> terminal.  In the case of irssi it basically renders it useless.  I can
>> get round this in irssi by setting colors = "no" in the config file.
>> Anyone else seen this or know of a fix ?
> Sounds similar to a bug I found a long time ago. Can you check if the
> configure script of those 3 programs detects curses versus termcap
> correctly? I fixed a 64-bit problem in screen's configure script once,
> iirc. I think patch-aj and -ak are supposed to fix it.
>> I can't replicate this on i386.
>> thanks,
>> adrian.
> -Olaf.


Is that PR# 33808 that you're talking about ?  I tried the patches in
the PR and they work great if, as stated in the PR, TERM=vt100.