Die Steuerung funktioniert nicht in iTerm 2, wenn das Programmierer-Dvorak-Tastaturlayout verwendet wird

Ich verwende das Programmierer-Dvorak-Tastaturlayout und habe festgestellt, dass die Strg-Taste in iTerm 2 nicht funktioniert. Emacs ist daher unbrauchbar, und ich kann Prozesse nicht mit Strg-C unterbrechen. Interessanterweise ist die einzige Sache, die ich gefunden habe, zu tun, dass Strg-Z immer noch SIGTSTP sendet.

Ich habe die Strg- und die Feststelltaste auf Mac-Ebene vertauscht, aber das Rückgängigmachen hat keine Auswirkung. Ich verwende zsh, aber das Ausführen von bash hilft nicht. Im Terminal funktioniert alles einwandfrei.

Wie bekomme ich einen funktionierenden Steuerschlüssel?

PS: Das Zurücksetzen auf QWERTY behebt das Problem, aber das ist nicht wirklich eine Option.

Es ist sicherlich kein häufiges Problem, daher vermute ich, dass Ihre benutzerdefinierte Zuordnung mit diesem Problem zusammenhängt. Wie hast du deine Schlüssel neu gebunden? Welche Tastatur verwendest du?
Systemeinstellungen->Tastatur->Zusatztasten. Ich verwende die integrierte Macbook Pro-Tastatur mit dem Programmierer-Dvorak-Layout.
Das Ändern des Tastaturlayouts hat das Problem behoben, aber der Grund, warum ich iTerm verwenden möchte, ist derselbe wie der Grund, warum ich Programmer Dvorak verwenden möchte.

Antworten (1)

Bearbeiten: Es gibt jetzt eine neue Version von Programmer Dvorak , die mit Tastenkombinationen wie ⌃A funktioniert, sodass die folgenden Anweisungen nicht mehr benötigt werden.

◊ Optionsmodifikator ist derzeit nicht funktionsfähig. Außerdem können Sie ein standardmäßiges Roman-Layout nicht durch dieses ersetzen. Die Steuertasten sollten jetzt funktionsfähig sein.

Die Option funktionierte überall, wo ich sie getestet habe, also könnte nicht funktionieren nur bedeuten, dass Zustände unter der Option keine Nicht-ASCII-Zeichen ausgeben. Wenn Sie alle anderen Eingabequellen deaktivieren möchten, können Sie die HIToolBox plist bearbeiten .

Anleitung für ältere Versionen von Programmer Dvorak:

  1. Offen/Library/Keyboard Layouts/Programmer Dvorak.bundle/Contents/Resources/Programmer Dvorak.keylayout
  2. Und füge das hinzu modifierMap:

    <keyMapSelect mapIndex="3">
      <modifier keys="control anyOption? anyShift?"/>
    </keyMapSelect>
    
  3. Fügen Sie dies hinzu keyMapSet:

    <keyMap index="3">
      <key code="0" output="&#x0000;"/>
      <key code="1" output="&#x0000;"/>
      <key code="2" output="&#x0000;"/>
      <key code="3" output="&#x0000;"/>
      <key code="4" output="&#x0000;"/>
      <key code="5" output="&#x0000;"/>
      <key code="6" output="&#x0000;"/>
      <key code="7" output="&#x0000;"/>
      <key code="8" output="&#x0000;"/>
      <key code="9" output="&#x0000;"/>
      <key code="10" output="&#x0000;"/>
      <key code="11" output="&#x0000;"/>
      <key code="12" output="&#x0000;"/>
      <key code="13" output="&#x0000;"/>
      <key code="14" output="&#x0000;"/>
      <key code="15" output="&#x0000;"/>
      <key code="16" output="&#x0000;"/>
      <key code="17" output="&#x0000;"/>
      <key code="18" output="&#x0000;"/>
      <key code="19" output="&#x0000;"/>
      <key code="20" output="&#x0000;"/>
      <key code="21" output="&#x0000;"/>
      <key code="22" output="&#x0000;"/>
      <key code="23" output="&#x0000;"/>
      <key code="24" output="&#x0000;"/>
      <key code="25" output="&#x0000;"/>
      <key code="26" output="&#x0000;"/>
      <key code="27" output="&#x0000;"/>
      <key code="28" output="&#x0000;"/>
      <key code="29" output="&#x0000;"/>
      <key code="30" output="&#x0000;"/>
      <key code="31" output="&#x0000;"/>
      <key code="32" output="&#x0000;"/>
      <key code="33" output="&#x0000;"/>
      <key code="34" output="&#x0000;"/>
      <key code="35" output="&#x0000;"/>
      <key code="36" output="&#x0000;"/>
      <key code="37" output="&#x0000;"/>
      <key code="38" output="&#x0000;"/>
      <key code="39" output="&#x0000;"/>
      <key code="40" output="&#x0000;"/>
      <key code="41" output="&#x0000;"/>
      <key code="42" output="&#x0000;"/>
      <key code="43" output="&#x0000;"/>
      <key code="44" output="&#x0000;"/>
      <key code="45" output="&#x0000;"/>
      <key code="46" output="&#x0000;"/>
      <key code="47" output="&#x0000;"/>
      <key code="48" output="&#x0000;"/>
      <key code="49" output="&#x0000;"/>
      <key code="50" output="&#x0000;"/>
      <key code="51" output="&#x0000;"/>
      <key code="52" output="&#x0000;"/>
      <key code="53" output="&#x0000;"/>
      <key code="64" output="&#x0000;"/>
      <key code="65" output="&#x0000;"/>
      <key code="66" output="&#x0000;"/>
      <key code="67" output="&#x0000;"/>
      <key code="69" output="&#x0000;"/>
      <key code="70" output="&#x0000;"/>
      <key code="71" output="&#x0000;"/>
      <key code="72" output="&#x0000;"/>
      <key code="75" output="&#x0000;"/>
      <key code="76" output="&#x0000;"/>
      <key code="77" output="&#x0000;"/>
      <key code="78" output="&#x0000;"/>
      <key code="79" output="&#x0000;"/>
      <key code="80" output="&#x0000;"/>
      <key code="81" output="&#x0000;"/>
      <key code="82" output="&#x0000;"/>
      <key code="83" output="&#x0000;"/>
      <key code="84" output="&#x0000;"/>
      <key code="85" output="&#x0000;"/>
      <key code="86" output="&#x0000;"/>
      <key code="87" output="&#x0000;"/>
      <key code="88" output="&#x0000;"/>
      <key code="89" output="&#x0000;"/>
      <key code="91" output="&#x0000;"/>
      <key code="92" output="&#x0000;"/>
      <key code="96" output="&#x0000;"/>
      <key code="97" output="&#x0000;"/>
      <key code="98" output="&#x0000;"/>
      <key code="99" output="&#x0000;"/>
      <key code="100" output="&#x0000;"/>
      <key code="101" output="&#x0000;"/>
      <key code="102" output="&#x0000;"/>
      <key code="103" output="&#x0000;"/>
      <key code="104" output="&#x0000;"/>
      <key code="105" output="&#x0000;"/>
      <key code="106" output="&#x0000;"/>
      <key code="107" output="&#x0000;"/>
      <key code="108" output="&#x0000;"/>
      <key code="109" output="&#x0000;"/>
      <key code="110" output="&#x0000;"/>
      <key code="111" output="&#x0000;"/>
      <key code="112" output="&#x0000;"/>
      <key code="113" output="&#x0000;"/>
      <key code="114" output="&#x0000;"/>
      <key code="115" output="&#x0000;"/>
      <key code="116" output="&#x0000;"/>
      <key code="117" output="&#x0000;"/>
      <key code="118" output="&#x0000;"/>
      <key code="119" output="&#x0000;"/>
      <key code="120" output="&#x0000;"/>
      <key code="121" output="&#x0000;"/>
      <key code="122" output="&#x0000;"/>
      <key code="123" output="&#x0000;"/>
      <key code="124" output="&#x0000;"/>
      <key code="125" output="&#x0000;"/>
      <key code="126" output="&#x0000;"/>
    </keyMap>
    
  4. Führen Sie es sudo touch /Library/Keyboard\ Layouts/aus und melden Sie sich ab und wieder an

Ich wünschte, ich wüsste, was das bewirkt, aber es funktioniert. Danke vielmals!