kern/71142: vesa [1024x768] mode support
Cyrille Lefevre
cyrille.lefevre at laposte.net
Mon Aug 30 16:10:04 PDT 2004
The following reply was made to PR kern/71142; it has been noted by GNATS.
From: "Cyrille Lefevre" <cyrille.lefevre at laposte.net>
To: "gnats-submit @FreeBSD.org" <FreeBSD-gnats-submit at freebsd.org>
Cc:
Subject: Re: kern/71142: vesa [1024x768] mode support
Date: Tue, 31 Aug 2004 00:57:16 +0200
Hi,
please, apply the following script to the above patch, sorry :(
ex. : qp2txt patch.eml | patch
cat << EOF > qp2txt; chmod +x qp2txt
#!/usr/bin/awk -f
BEGIN { hex = "0123456789ABCDEF" }
function qp2txt(old, new, n, c1, c2) {
while (n = index(old, "=")) {
c1 = index(hex, substr(old, n+1, 1)) - 1
if (c1 < 0) {
new = new substr(old, 0, n-1)
getline old
} else {
c2 = index(hex, substr(old, n+2, 1)) - 1
new = new substr(old, 0, n-1) sprintf("%c", c1*16+c2)
old = substr(old, n+3)
}
}
return new old
}
{ print qp2txt($0) }
EOF
or apply http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/26005
and use : unvis -q patch.eml | patch
Cyrille Lefevre.
--
home: mailto:cyrille.lefevre at laposte.net
More information about the freebsd-bugs
mailing list