Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 11:05:46 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD Questions <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: C-A-Del? /usr/src/sys/i386/conf/LINT
Message-ID:  <20020407110546.A11527@student.uu.se>
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
References:  <20020407001319.Q1121-100000@66-75-1-142.san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407110546.A11527>