9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <andrey@lanl.gov>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] cursor problems with GeForce4 [was: South bridge not found]
Date: Tue, 22 Oct 2002 00:40:10 -0600	[thread overview]
Message-ID: <20021022002237.N30430-100000@fbsd.acl.lanl.gov> (raw)
In-Reply-To: <a98bb4ef65b77e244cdd7cb8bdef0b11@granite.cias.osakafu-u.ac.jp>

On Tue, 22 Oct 2002 okamoto@granite.cias.osakafu-u.ac.jp wrote:

>
> I forgot to write to this list...
>
> >One of the problem is that the shape of cursor, which is strange and difficult
>
> The problem is the left-half and right-half of the cursor are interchanged
> each other, that is right-half and then left-half of the cursor.   I don't know
> how to solve this problem, of course, we can change the cursor shape to
> adujust just for this card...
>

I had the same problem when trying to modify the rio cursors for 9wm (the unix
rio/8.5 clone). though, in my case, the problem had nothing to do with the hardware.

after some quite unscientific play on my part, i got the correct cursor to show in
9wm by reversing each pair in the cursor struct definition:

% cat << _END_ | awk '{print $2 $1 $4 $3 $6 $5 $8 $7}'
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
     0xFF, 0xFF, 0x1F, 0xF8, 0x1F, 0xF8, 0x1F, 0xF8,
     0x1F, 0xF8, 0x1F, 0xF8, 0x1F, 0xF8, 0xFF, 0xFF,
     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF

_END_
%

and then doing the same for the mask (the values are in data.h and screen.h)...

I know that's not the proper way of solving the problem, but when one cannot think one has to
resolve to other methods :)

andrey



      reply	other threads:[~2002-10-22  6:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22  6:24 [9fans] South bridge not found okamoto
2002-10-22  6:40 ` andrey mirtchovski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021022002237.N30430-100000@fbsd.acl.lanl.gov \
    --to=andrey@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).