Marcus Habermehl wrote:
Ich hätte gerne, dass in einer Konsole ein Befehl mit einer bestimmten Tastenkombination ausgeführt wird.
Kann mir jemand von euch helfen?
Wenn ich's richtig mitbekommen habe, moechtest du die Screen Tastenkombi fuer "Windowliste anzeigen" aendern. "man screen" birgt in dem Abschnitt "DEFAULT KEY BINDINGS" folgenden ersten Absatz: 'As mentioned, each screen command consists of a "C-a" followed by one other character. For your convenience, all commands that are bound to lower-case letters are also bound to their control character counterparts (with the exception of "C-a a"; see below), thus, "C-a c" as well as "C-a C-c" can be used to create a window. See section "CUSTOMIZATION" for a description of the command.' CUSTOMIZATION wiederrum folgenden Satz: 'When screen is invoked, it executes initialization commands from the files "/usr/local/etc/screenrc" and ".screenrc" in the user's home directory.' wenn du nun also in die /home/marcus/.screenrc die folgende Zeile einsetzt, sollte die Liste auch bei einer anderen Kombi auftauchen: bind y windowlist -b bind ^y windowslist -b -- Have fun, Peter