ich arbeite unter Ubuntu 9.10 mit GNOME-Terminal 2.28.1.
Problem: Will ich auf der Shell einen Prozess mit Ctrl-Z stoppen,
erscheint immer nur [^Y. Drücke ich Ctrl-Y wird der Prozess gestoppt.
Bei normalen Eingaben (ohne Ctrl) ist y aber y und z ist z. What´s going
on here?
Ciao,
Bernhard
> Problem: Will ich auf der Shell einen Prozess mit Ctrl-Z stoppen,
> erscheint immer nur [^Y. Drücke ich Ctrl-Y wird der Prozess gestoppt.
mit "stty" kannst Du das einstellen:
ms@bpc212:/home/ms> stty susp ^Z
ms@bpc212:/home/ms> stty -a
speed 38400 baud; rows 55; columns 127; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 =
<undef>; swtch = <undef>; start = ^Q; stop = ^S;
susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time =
0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon
-ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
ms@bpc212:/home/ms>
tschau Michael
--
echo "zvpunry....@zngrean.qr" | tr A-Za-z N-ZA-Mn-za-m
Danke. Das scheint aber korrekt eingestellt zu sein:
> stty -a
speed 38400 baud; rows 52; columns 157; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2
= M-^?; swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W;
[..]
Bernhard
> ich arbeite unter Ubuntu 9.10 mit GNOME-Terminal 2.28.1.
>
> Problem: Will ich auf der Shell einen Prozess mit Ctrl-Z stoppen,
> erscheint immer nur [^Y. Dr�cke ich Ctrl-Y wird der Prozess gestoppt.
>
> Bei normalen Eingaben (ohne Ctrl) ist y aber y und z ist z. What�s going
> on here?
Was passiert in einem anderen Terminalemulator, z.B. xterm;
in anderen shells (sh vs bash vs dash);
nachdem "cat" aufgerufen wurde ("cat<enter>yz" bzw. mit ctrl-y/z);
teilt "xev" bzw. "xmodmap -pke" etwas unerwartetes mit?
z :)
Was sagt
xmodmap -pke | grep Z
? Bei mir:
keycode 29 = z Z z Z leftarrow yen leftarrow
Wie war noch gleich die Reihenfolge?
- Ohne Modifikator
- Mit Shift
- k.A.
- k.A. 2
- Mit ISOLevel3Shift (AltGr)
- Mit Shift und ISOLevel3Shift
- k.A. 3
Tschö,
Markus
--
Progress (n.): Process through which USENET evolved from smart people in
front of dumb terminals to dumb people in front of smart
terminals.
--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---
Danke für den Tipp. Weiß jetzt nicht mehr genau, was angezeigt wurde
aber auf jedenfall gab "xmodmap -pke | grep Z" das hier aus:
keycode 29 = y Y z Z leftarrow yen leftarrow
keycode 52 = [....]
Unter Ubuntu hat folgendes Abhilfe gebracht: System -> Einstellungen ->
Tastatur -> Belegung -> Auf Vorgabewerte zurücksetzen"
Gruß,
Bernhard