From owner-freebsd-questions Sun Apr 7 1: 6: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hamberg.it.uu.se (hamberg.it.uu.se [130.238.9.198]) by hub.freebsd.org (Postfix) with ESMTP id 5C33737B416 for ; Sun, 7 Apr 2002 01:05:53 -0800 (PST) Received: (from ertr1013@localhost) by hamberg.it.uu.se (8.8.5/8.8.5) id LAA12322; Sun, 7 Apr 2002 11:05:46 +0200 (MET DST) Date: Sun, 7 Apr 2002 11:05:46 +0200 From: Erik Trulsson To: Peter Leftwich Cc: FreeBSD Questions Subject: Re: C-A-Del? /usr/src/sys/i386/conf/LINT Message-ID: <20020407110546.A11527@student.uu.se> References: <20020407001319.Q1121-100000@66-75-1-142.san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020407001319.Q1121-100000@66-75-1-142.san.rr.com>; from Hostmaster@Video2Video.Com on Sun, Apr 07, 2002 at 12:19:09AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 12:19:09AM -0800, Peter Leftwich wrote: > In my box's /usr/src/sys/i386/conf/LINT file I see: > options SC_DISABLE_REBOOT # disable reboot key sequence > > How -- other than my pressing Control-Alt-Delete -- can I tell if this > option was compiled (used) in the currently booted kernel? Other than looking at the configuration file for the running kernel, no, I don't think so. > > Ya know what, I think I just answered my own question: > /usr/src/sys/i386/conf/GENERIC If you are running GENERIC then that option is not used. > > However, this spawns a new question... If I make changes to the file above, > must I build a new kernel or simply restart the computer? What is the > command to 'make world' and where (cd to where) must I execute the command? > Yes, you need to rebuild the kernel. Read the handbook for details on how to do that. ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html ) If you have not updated your sources a full 'make world' is not necessary. > options SC_HISTORY_SIZE=200 # number of history buffer lines > > I gots to crank this up to like 1000. With 512mb RAM should I worry? No need to worry. I have that set to 1200 and I have only 32MB RAM. No problems. > > # The following options will let you change the default colors of syscons. > options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" > options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" > options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" > options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" > > These lines look fun :) The same effect can be obtain by use of vidcontrol(1) if you wish to experiment to find out what combination you prefer. > > # If you have a two button mouse, you may want to add the following option to use the right button of the mouse to paste text. > options SC_TWOBUTTON_MOUSE > > Innnnnteresting. I thought this would only need be handled by the moused > binary, no? Why not? [Last posting tonight.] Peace all, This can be handled by the moused daemon. Look at the manpage for moused[8) in the CAVEATS section for details. Having this in the kernel mostly just changes the default mapping of the mouse buttons. I would recommend getting a real 3-button mouse and thus not having to worry about this. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message