Re: Programmstart nach Login

From: Gregor Bittel <Gregor.Bittel(at)gmx.de>
Date: Sat, 23 Dec 2000 13:11:09 +0100

>> - Wie kann ich Tasten(-kombinationen) wie ctrl-c oder den Affengriff
>> per Skript oder in einem C-Programm abstellen ??
>
>Affengriff weiss ich jezt nicht.
>In einem C-Programm kannst Du einen Signal-handler setzen, der einfach
>nichts tut.
>In einem Script bin ich überfragt :) -- ich glaube, es geht nicht,
>aber man lernt ja nie aus.

Moin,
also ctrl-c weiß ich nicht, aber den Affengriff kann man (muß?) im Kernel
abstellen, da habe ich das jedenfalls gemacht (soweit ich das jetzt
verstehen konnte, dürfte das die gesuchte Option sein, ein Affengriff liefert
doch sonst immer einen Reboot, oder?).
Das wurde jedenfalls letztens entweder hier oder in de.comp.os.unix.bsd
erst gepostet. (Danke).
Die Optionen stehen in LINT ganz gut beschrieben drin, suche
da mal nach syscons, da steht noch mehr drinne ;-)
Ich schreib jetzt einfach mal, was ich alles über syscons drinstehen habe:

# syscons is the default console driver, resembling an SCO console
device sc0 at isa?
options SC_DISABLE_REBOOT # disable reboot key sequence
options SC_HISTORY_SIZE=200 # number of history buffer lines
# The following options will let you change the default coors of syscons.
options SC_NORM_ATTR="(FG_GREEN|BG_BLACK) "
# 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

Das wars soweit, good luck.

-Gregor.

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 23 Dec 2000 - 13:10:58 CET

search this site