This forum has been archived. All content is frozen. Please use KDE Discuss instead.

konsole not accepting dashes

Tags: None
(comma "," separated)
mj17
Registered Member
Posts
6
Karma
0

konsole not accepting dashes

Sat Aug 08, 2020 10:11 pm
Hi,

I'm on Ubuntu 16.04 running:

Qt: 5.5.1
KDE Frameworks: 5.18.0
Konsole: 15.12.3

I think after a recent upgrade to my system, something changed with
konsole and I can no longer enter dashes on the command line. For
example, if I type "a-", what I get is: "A(arg: 5) a".

Please let me know if there is a solution to this phenomenon.
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: konsole not accepting dashes

Sun Aug 09, 2020 7:50 pm
Hello!

The (arg: ) is an escape command. If you type ESC 5 a it will output aaaaa. Perhaps you've changed keyboard layout or numpad? (Numlock on/off), use a Compose key, CapsLock or similar?

btw: Kubuntu 16.04 is without support since april. Upgrade to 20.04 asap.
mj17
Registered Member
Posts
6
Karma
0

Re: konsole not accepting dashes

Sun Aug 09, 2020 11:08 pm
Thank you for your reply.

To my knowledge, I have not changed the keyboard layout or anything. I know the system has done some minor upgrades, but nothing major. So this "new" behavior is a bit of a mystery.

By the way, ESC 5 a does not output aaaaa for me. ESC 5 changes the prompt to "(arg: 5) " but after I type 'a' the prompt changes back to PS1. In any case, I simply mention that for informational purposes. I will use a different terminal emulator until I get the system updated to at least 18.04 .

Thanks again.
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: konsole not accepting dashes

Mon Aug 10, 2020 3:46 pm
Changing back to the default prompt is correct. But there should be 5 a's, as you had typed them.

So it looks like this:
Code: Select all
# just changed folder and typed nothing
usr@pnd[~]› cd /tmp
usr@pnd[/tmp]›

# having typed ESC and 5 looks like:
usr@pnd[~]›
(arg: 5)

# after typing shift-a as an example
usr@pnd[~]› cd /tmp
usr@pnd[/tmp]› AAAAA

# which is the same as writing:
printf '%c\e[%db' A 5
# %c = character ESC represented by \e[


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell