From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,35e0f3855e5c76e3 X-Google-Attributes: gid111c93,public From: Tim Rowley Subject: Re: Better TGA Driver? Date: 1998/10/17 Message-ID: #1/1 X-Deja-AN: 402271252 Sender: tor@boojum References: <703f66$ot6@flatt.cs.colostate.edu> Organization: Brown University Computer Science Department Newsgroups: comp.os.linux.alpha Paul J Jarosz writes: > Could you email me the TGA documentation, I would be interested in helping > out with this. These TGA cards are really nice, it would be a shame to > have to scrape it. ftp://ftp.netbsd.org/pub/NetBSD/misc/dec-docs/ec-n0683-72.ps.gz > > > 1. In "regular" text mode (i.e., before running X), the cursor > > > appears one space AFTER the actual cursor position (i.e., there > > > appears to be a space between the last character typed and the > > > cursor). This doesn't happen in Xterms, so it's no big deal, > > > but... > > > > It appears to be an interaction between MILO and the console > > code. A small change to the terminal driver fixes it for MILO, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > but then the cursor is offset to the left for SRM/aboot ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > configurations. The newer fbcon development kernels don't have ^^^^^^^^^^^^^^^ > > this problem (namely by not using the hardware cursor), so I > > haven't investigated what was happening. > > > > Actually the problem is in the kernel source code in the file "tga.c". > The problem is in tga_set_cursor on the line where it said > "col = idx % 80" > it should read > "col = idx % 80 - 1" That's the obvious fix, but as I mentioned, this moves the cursor too far to the left for SRM/aboot configurations. -tor