Date: Sat, 7 Sep 1996 04:50:57 +0200 (MET DST) From: Mikael Karpberg <karpen@ocean.campus.luth.se> To: marcs@alive.ampr.ab.ca (Marc Slemko) Cc: FreeBSD-stable@FreeBSD.org, FreeBSD-hackers@FreeBSD.org Subject: Re: interest in syscons cut&paste patches for 2.1.5? Message-ID: <199609070251.EAA04801@ocean.campus.luth.se> In-Reply-To: <Pine.BSF.3.95.960906185245.198A-100000@alive.ampr.ab.ca> from Marc Slemko at "Sep 6, 96 07:13:33 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, going to take two mails in one here... Mail 1: ------- [About me failing to build the 2.1.5 patches to get mouse cut'n'paste] > > Ideas how to proceede? > > Maybe... > > #define FONT_NONE 0 > > ... in syscons.h? > > More like '#define FONT_NONE 1' in syscons.h. The patch for syscons.h > _does_ include that define. Check for a syscons.h.rej file in the > i386/isa directory to see if any parts of the patch failed. If you can't > figure it out, send me a copy of your syscons.h. Ok, so I'm new to this, and didn't read everything patch screamed at me. Sorry. *blush* This was almost too easy to find, looking in the .rej file. The patch included a line with "#define HISTORY_SIZE 100*80", and guess what? As I actually mentioned in the other mail, too, I had set my HISTORY_SIZE to 500*80, to increase the default number of lines in the scrollback history. No wonder poor little patch barfed. I copied console.h, and syscons.* from /sys and changed 500*80 to 100*80, and ran patch again. No errors. :-) Mail 2: ------- > [...] > > The mouse pointer seems to work, but it's NOT good looking. I can move four > > characters around, and these cover what I put them over, and are not > > "see through" as I expected. In these four chars there are traces of a good > > looking pointer, split up and spread around. :-) > > As Soren already said, and as my message that crossed yours in the mail > said, it should be defined as 1. I am interested in knowing why the patch > didn't take in your syscons.h. When you get it right, it looks like a > nice graphical pointer covering a part of a single character. > > [...] > > > *sigh* One thing is annoying me TERRIBLY about syscons. That the beep is > > not global amoung all ttys! If you get a talk or so on one of the ttyvXX > > screens and you are working on another, or in X, you wont notice a thing. > > VERY frustrating. A friend said that was fixed in 2.2. True? How would I > > go about making it work in 2.1.5? Maybe add that to the syscons patch for > > 2.1.5, if you make a new version, Marc? Or someone, let me in on how to > > do it? > > Only beeping if the active VC beeps is a feature, not a bug. That said, > it annoyed me too and I was intending to fix it once I remembered it. It > is changed in -current, as of revision 1.140. It really isn't that hard > to pull such changes out of the CVS repository (the one for the mouse > support does take a little bit to make; the one below is quite easy). I > would strongly recommend that anyone with an interest in FreeBSD > development start taking a look at the CVS repository. A good way to get > started. Unfortunately, I don't know of any documents with a good > introduction to using CVS and RCS as it applies to the FreeBSD source > tree. > > If you are using the syscons driver with my patch applied, the following > diff should work. If you are using the 2.1.5-RELEASE driver, change > 'configuration' to 'flags' each place that it appears below _before_ > applying the patch. [patch removed] Great! Thanks a lot! Applied smoothly as far as I could tell. Compiled fine too. Now we'll see if my computer reboots after this *grin* It's too late to do kernel hacking, even if you're just applying patches... /Mikael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609070251.EAA04801>