[konsole] [Bug 483176] Cannot type special characters in the terminal

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Mar 12 00:49:44 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=483176

ninjalj at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ninjalj at gmail.com

--- Comment #1 from ninjalj at gmail.com ---
The AltGr+# and AltGr+@ are interpreted by bash's readline:

(https://www.gnu.org/software/bash/manual/bash.html#index-insert_002dcomment-_0028M_002d_0023_0029)
> insert-comment (M-#)
>    Without a numeric argument, the value of the comment-begin variable is inserted at the beginning of the current line. If a numeric 
> argument is supplied, this command acts as a toggle: if the characters at the beginning of the line do not match the value of comment-
> begin, the value is inserted, otherwise the characters in comment-begin are deleted from the beginning of the line. In either case, the line 
> is accepted as if a newline had been typed. The default value of comment-begin causes this command to make the current line a shell
> comment. If a numeric argument causes the comment character to be removed, the line will be executed by the shell.

(https://www.gnu.org/software/bash/manual/bash.html#index-complete_002dhostname-_0028M_002d_0040_0029)
> complete-hostname (M-@)
>    Attempt completion on the text before point, treating it as a hostname.

(M is the Meta key from ancient Lisp keyboards, which in emacs and readline is
usually emulated by using the Alt key on modern keyboards).

You can disable the above with:

bind -m emacs-meta -r '@'
bind -m emacs-meta -r '#'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list