Re: Default Beep
> difference between my puter and everyone elses at work!).
In the interests of helping /even/ those who like to use vi in text-
only modes ;), a look at drivers/char/console.c and an strace of
setterm -blank 20 shows the following:
Set the pitch of the beep:
E[10;1000]
where 'E' is an escape, the brackets are regular square brackets, the
'10' is the command to set the beep, and '1000' is the hz of the beep
tone.
(E.g.:
% perl -e 'print "\033[10;1000]";'
% (now console has a different beep)
)
If you wish to change the duration of the beep, the command is 11
instead of 10, and its argument is the duration in milliseconds.
Happy beeping,
--
Pete Harlan
harlan@pointofchoice.com
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: