* [9fans] drawterm prints blanks instead of characters
@ 2004-03-11 11:51 David Tolpin
2004-03-11 14:37 ` andrey mirtchovski
0 siblings, 1 reply; 9+ messages in thread
From: David Tolpin @ 2004-03-11 11:51 UTC (permalink / raw)
To: 9fans
Hi,
Sometimes, drawterm begins to print blanks instead of
glyphs. This happens with X11 drawterm with some hardware
and drivers.
It happens because Xfree86 drivers for some video cards assume that
masks (stipples) must have height equal to a multiple of 8. This
causes drawterm to display blanks instead of glyphs with some fonts.
To use drawterm with these drivers, the patch at
http://ftp.davidashen.net/misc/drawterm-stipple.diff
can be applied to the source (/sys/src/cmd/unix/drawterm).
drawterm will become slightly slower, but will not loose glyphs
any more.
Use ape/patch to apply the diff.
David Tolpin
http://davidashen.net/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] drawterm prints blanks instead of characters
2004-03-11 11:51 [9fans] drawterm prints blanks instead of characters David Tolpin
@ 2004-03-11 14:37 ` andrey mirtchovski
2004-03-11 14:50 ` David Tolpin
2004-03-12 5:57 ` Russ Cox
0 siblings, 2 replies; 9+ messages in thread
From: andrey mirtchovski @ 2004-03-11 14:37 UTC (permalink / raw)
To: 9fans
David,
The patch/* code should be used to submit patches to the Plan 9
developers. see patch(1) for more information.
I see how you could've missed it -- the man page isn't indexed so lookman
doesn't show it, but it's really simple to find binaries if you just list
recursively (scripts available in the archives) /bin.
With the disappearance of the gajillion [s]bin directories the need for
programs like 'locate' becomes non-existent :)
andrey
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] drawterm prints blanks instead of characters
2004-03-11 14:37 ` andrey mirtchovski
@ 2004-03-11 14:50 ` David Tolpin
2004-03-12 5:57 ` Russ Cox
1 sibling, 0 replies; 9+ messages in thread
From: David Tolpin @ 2004-03-11 14:50 UTC (permalink / raw)
To: 9fans
> The patch/* code should be used to submit patches to the Plan 9
> developers. see patch(1) for more information.
I saw it a long time ago. I clearly understand its purpose and
its purpose does not meet my intents.
> I see how you could've missed it
I didn't. I am not submitting a patch to the Plan 9 developers.
Plan 9 developers should figure a way to adjust the pixmap size so
that it works with all drivers properly, and check for Xlib status.
What I have sent is a fully working, but temporary solution, aimed
at temporary disabling buggy code. It should not be included into
the source tree, and should not become the only solution to the
problem.
When/if I'll find time and desire to re-write pixmap-related code
so that it is actually working, I'll submit the patch using appropriate
tools.
Sincerely,
David Tolpin
http://davidashen.net/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] drawterm prints blanks instead of characters
2004-03-11 14:37 ` andrey mirtchovski
2004-03-11 14:50 ` David Tolpin
@ 2004-03-12 5:57 ` Russ Cox
2004-03-12 5:19 ` andrey mirtchovski
2004-03-12 6:37 ` David Tolpin
1 sibling, 2 replies; 9+ messages in thread
From: Russ Cox @ 2004-03-12 5:57 UTC (permalink / raw)
To: 9fans
> The patch/* code should be used to submit patches to the Plan 9
> developers. see patch(1) for more information.
buh? Last I checked this still didn't work since there
is no publically writable Plan 9 server.
Russ
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] drawterm prints blanks instead of characters
2004-03-12 5:57 ` Russ Cox
@ 2004-03-12 5:19 ` andrey mirtchovski
2004-03-12 6:34 ` David Tolpin
2004-03-12 6:37 ` David Tolpin
1 sibling, 1 reply; 9+ messages in thread
From: andrey mirtchovski @ 2004-03-12 5:19 UTC (permalink / raw)
To: 9fans
>> The patch/* code should be used to submit patches to the Plan 9
>> developers. see patch(1) for more information.
>
> buh? Last I checked this still didn't work since there
> is no publically writable Plan 9 server.
>
> Russ
nemo has been submitting patches there, i thought you've enabled it:
home% 9fs sources
post...
home% cd /n/sources
home% ls -l /n/sources
...
d-rwxrwxrwx M 60 glenda sys 0 Mar 3 09:51 patch
...
home% ls -l patch
d-rwxrwxr-x M 60 nemo sys 0 Mar 3 00:39 patch/defaultmkfile
d-rwxrwxr-x M 60 nemo sys 0 Mar 3 09:51 patch/httplength
d-rwxrwxr-x M 60 nemo sys 0 Jan 15 08:45 patch/manfix
d-rwxrwxr-x M 60 nemo sys 0 Jan 14 02:48 patch/stats
d-rwxrwxr-x M 60 nemo sys 0 Jan 23 00:43 patch/test
home%
andrey
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] drawterm prints blanks instead of characters
2004-03-12 5:57 ` Russ Cox
2004-03-12 5:19 ` andrey mirtchovski
@ 2004-03-12 6:37 ` David Tolpin
1 sibling, 0 replies; 9+ messages in thread
From: David Tolpin @ 2004-03-12 6:37 UTC (permalink / raw)
To: 9fans
> > The patch/* code should be used to submit patches to the Plan 9
> > developers. see patch(1) for more information.
>
> buh? Last I checked this still didn't work since there
> is no publically writable Plan 9 server.
just
9fs sources
bind -bc /tmp /n/sources/patch
then the patch archive is in /tmp and can be delivered to Bell Labs
through other paths.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-03-12 7:23 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-11 11:51 [9fans] drawterm prints blanks instead of characters David Tolpin
2004-03-11 14:37 ` andrey mirtchovski
2004-03-11 14:50 ` David Tolpin
2004-03-12 5:57 ` Russ Cox
2004-03-12 5:19 ` andrey mirtchovski
2004-03-12 6:34 ` David Tolpin
2004-03-12 5:48 ` andrey mirtchovski
2004-03-12 7:23 ` Fco.J.Ballesteros
2004-03-12 6:37 ` David Tolpin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).