So entfernen Sie den Signalton in der Octave 3.8.0-Benutzeroberfläche unter Windows 7

677
Roland

Die experimentelle Benutzeroberfläche von Octave 3.8.0 gibt in der Konsole einen Warnton aus, wenn z. B. die Tabulatortaste gedrückt wird und der eingegebene Befehl nicht eindeutig fortgesetzt werden kann. Wie kann ich diesen Signalton deaktivieren?

Unter 3.6.4 scheint dies zu funktionieren set bell-style none, aber dieser Befehl produziert nur

error: invalid conversion from string to real N-d array error: set: expecting graphics handle as first argument 
0

2 Antworten auf die Frage

0
wahhhhh

The same question has been confirmed as a bug and was answered in this Octave Bug tracker post, which redirects to this forum post. Quoting the answer given by JasonNicholson as-is:

The key is that the environment variable "bell-style" must be set to "none" for MSYS which comes with Octave. There is two other options "audible" and "visible". Note that the "visible" setting seems to produce the same result as "audible" with Octiave 3.6.4 compiled with visual studio and msys/bin/sh.exe version 3.1.17(1)-release (i686-pc-msys).

1- You need to edit Octave-3.6.4\share\octave\3.6.4\m\startup\inputrc
2- Add this to the end of inputrc:

## Disable the beep!
set bell-style none

3- Restart Octave and check that it is disabled.

I know in coming years some will find this thread and the procedure will be a little different. I bet the key will be finding the "inputrc" file.

Am besten kopieren Sie die relevanten Teile der Antwort und fügen Sie den Link hinzu. Andernfalls kann Ihre Antwort unbrauchbar werden, wenn der Link jemals bricht. Unsigned vor 10 Jahren 1
0
dkeck

Wenn Sie keinen Piepton benötigen und das oben beschriebene nicht für Sie funktioniert, können Sie es im Geräte-Manager vollständig deaktivieren (Sie müssen "verborgene Geräte anzeigen" markieren, um den Nicht-PNP-Treiber zu sehen).