* [gentoo-user] Terminal emulator to replace Konsole
@ 2024-03-22 20:01 Dale
2024-03-22 20:14 ` Jack
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Dale @ 2024-03-22 20:01 UTC (permalink / raw
To: gentoo-user
Howdy,
I've been using Konsole, part of KDE, for command line stuff ever since
I started using Linux. Linux is all I've ever used. No windoze. ;-)
While Konsole is good enough for almost everything, there is one feature
I wish it had. The ability to edit with the mouse. I don't know of a
way to make it do this. The only way I know of to edit a command, left
arrow to what you want to edit and change it. I'd like to find one
where I can use the mouse to place the cursor and edit from there. Even
maybe highlight and replace. As far as I know, Konsole doesn't have
that ability.
I looked in x11-terms and there is a few options, I think. I tried
looking at home pages and such but none of them mention a feature like
this but it may have it. I was wondering if anyone knows of a terminal
emulator that allows the mouse to place the cursor to edit parts or
whole sections of a command. Some of my commands are really long and it
seems the part I want to edit is always at the beginning. :/
Hoping for some ideas.
Thanks.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Terminal emulator to replace Konsole
2024-03-22 20:01 [gentoo-user] Terminal emulator to replace Konsole Dale
@ 2024-03-22 20:14 ` Jack
2024-03-23 10:47 ` Mickaël Bucas
2024-03-23 14:33 ` [gentoo-user] " Ionen Wolkens
2 siblings, 0 replies; 6+ messages in thread
From: Jack @ 2024-03-22 20:14 UTC (permalink / raw
To: gentoo-user
On 2024.03.22 16:01, Dale wrote:
> Howdy,
>
> I've been using Konsole, part of KDE, for command line stuff ever
> since
> I started using Linux. Linux is all I've ever used. No windoze.
> ;-)
> While Konsole is good enough for almost everything, there is one
> feature
> I wish it had. The ability to edit with the mouse. I don't know of a
> way to make it do this. The only way I know of to edit a command,
> left
> arrow to what you want to edit and change it. I'd like to find one
> where I can use the mouse to place the cursor and edit from there.
> Even
> maybe highlight and replace. As far as I know, Konsole doesn't have
> that ability.
>
> I looked in x11-terms and there is a few options, I think. I tried
> looking at home pages and such but none of them mention a feature like
> this but it may have it. I was wondering if anyone knows of a
> terminal
> emulator that allows the mouse to place the cursor to edit parts or
> whole sections of a command. Some of my commands are really long and
> it
> seems the part I want to edit is always at the beginning. :/
>
> Hoping for some ideas.
I don't remember how I initially set it up, but I can use emacs
commands (not sure if it was related to konsole or bash) so I can use
up and down arrows or Ctl-p/Ctl-n to move back and forth in previous
commands, then Ctl-a to go to the beginning of the line, etc. I
suspect you can get vim style keys to do the same, if that's your
preference.
Sorry, but I have no idea how to tell if any terminal emulator is truly
a gui, where clicking on a character in the middle of the window
actually sets the cursor at that point, to be recognized by both the
terminal and the shell you are running.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Terminal emulator to replace Konsole
2024-03-22 20:01 [gentoo-user] Terminal emulator to replace Konsole Dale
2024-03-22 20:14 ` Jack
@ 2024-03-23 10:47 ` Mickaël Bucas
2024-03-23 14:05 ` [gentoo-user] " Grant Edwards
2024-03-23 14:33 ` [gentoo-user] " Ionen Wolkens
2 siblings, 1 reply; 6+ messages in thread
From: Mickaël Bucas @ 2024-03-23 10:47 UTC (permalink / raw
To: gentoo-user
Le ven. 22 mars 2024 à 21:02, Dale <rdalek1967@gmail.com> a écrit :
>
> Howdy,
>
> I've been using Konsole, part of KDE, for command line stuff ever since
> I started using Linux. Linux is all I've ever used. No windoze. ;-)
> While Konsole is good enough for almost everything, there is one feature
> I wish it had. The ability to edit with the mouse. I don't know of a
> way to make it do this. The only way I know of to edit a command, left
> arrow to what you want to edit and change it. I'd like to find one
> where I can use the mouse to place the cursor and edit from there. Even
> maybe highlight and replace. As far as I know, Konsole doesn't have
> that ability.
>
> I looked in x11-terms and there is a few options, I think. I tried
> looking at home pages and such but none of them mention a feature like
> this but it may have it. I was wondering if anyone knows of a terminal
> emulator that allows the mouse to place the cursor to edit parts or
> whole sections of a command. Some of my commands are really long and it
> seems the part I want to edit is always at the beginning. :/
>
> Hoping for some ideas.
>
> Thanks.
>
> Dale
>
> :-) :-)
>
Hi
I think it's not a terminal emulator feature, but rather a shell feature.
Some terminal programs are designed to interact with the mouse, but
bash command line, based on readline, doesn't react to mouse clicks.
I've tried Midnight Commander in Konsole and xterm, and it actually
moves the cursor to the click position in its own command line !
Maybe there's an extension or set of parameters for bash or other
shells to handle mouse clicks, but I'm not aware of it.
Best regards
Mickaël Bucas
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Terminal emulator to replace Konsole
2024-03-23 10:47 ` Mickaël Bucas
@ 2024-03-23 14:05 ` Grant Edwards
0 siblings, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2024-03-23 14:05 UTC (permalink / raw
To: gentoo-user
On 2024-03-23, Mickaël Bucas <mbucas@gmail.com> wrote:
> I think it's not a terminal emulator feature, but rather a shell
> feature.
>
> Some terminal programs are designed to interact with the mouse, but
> bash command line, based on readline, doesn't react to mouse clicks.
Agreed.
> I've tried Midnight Commander in Konsole and xterm, and it actually
> moves the cursor to the click position in its own command line !
>
> Maybe there's an extension or set of parameters for bash or other
> shells to handle mouse clicks, but I'm not aware of it.
I vaguely recall that there was some sort zsh hack/addon/module that
added extra mouse functionality, but I don't recall the details (I was
never a zsh user).
--
Grant
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Terminal emulator to replace Konsole
2024-03-22 20:01 [gentoo-user] Terminal emulator to replace Konsole Dale
2024-03-22 20:14 ` Jack
2024-03-23 10:47 ` Mickaël Bucas
@ 2024-03-23 14:33 ` Ionen Wolkens
2024-05-28 20:13 ` Dale
2 siblings, 1 reply; 6+ messages in thread
From: Ionen Wolkens @ 2024-03-23 14:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]
On Fri, Mar 22, 2024 at 03:01:44PM -0500, Dale wrote:
> Howdy,
>
> I looked in x11-terms and there is a few options, I think. I tried
> looking at home pages and such but none of them mention a feature like
> this but it may have it. I was wondering if anyone knows of a terminal
> emulator that allows the mouse to place the cursor to edit parts or
> whole sections of a command. Some of my commands are really long and it
> seems the part I want to edit is always at the beginning. :/
>
x11-terms/kitty can do this since it added some shell integration
features (requires bash, zsh, or fish and a rc file to be loaded which
is done by default), aka you can click anywhere in the command and
it'll place the cursor there.
The shell integration bits can also do things like open the output of
the last command in a pager even if haven't done e.g. "... | less" or
instantly copy it for pasting without awkwardly scrolling to select
everything.
Has quite a vast amount of features and configuration options, albeit
it may come as a bit quirky and with a learning curve if coming from
konsole (e.g. it does not even have a context menu and can only be
configured by editing the .conf file directly), and is mostly intended
for use with various keyboard binds than with pretty menus.
--
ionen
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Terminal emulator to replace Konsole
2024-03-23 14:33 ` [gentoo-user] " Ionen Wolkens
@ 2024-05-28 20:13 ` Dale
0 siblings, 0 replies; 6+ messages in thread
From: Dale @ 2024-05-28 20:13 UTC (permalink / raw
To: gentoo-user
Ionen Wolkens wrote:
> On Fri, Mar 22, 2024 at 03:01:44PM -0500, Dale wrote:
>> Howdy,
>>
>> I looked in x11-terms and there is a few options, I think. I tried
>> looking at home pages and such but none of them mention a feature like
>> this but it may have it. I was wondering if anyone knows of a terminal
>> emulator that allows the mouse to place the cursor to edit parts or
>> whole sections of a command. Some of my commands are really long and it
>> seems the part I want to edit is always at the beginning. :/
>>
> x11-terms/kitty can do this since it added some shell integration
> features (requires bash, zsh, or fish and a rc file to be loaded which
> is done by default), aka you can click anywhere in the command and
> it'll place the cursor there.
>
> The shell integration bits can also do things like open the output of
> the last command in a pager even if haven't done e.g. "... | less" or
> instantly copy it for pasting without awkwardly scrolling to select
> everything.
>
> Has quite a vast amount of features and configuration options, albeit
> it may come as a bit quirky and with a learning curve if coming from
> konsole (e.g. it does not even have a context menu and can only be
> configured by editing the .conf file directly), and is mostly intended
> for use with various keyboard binds than with pretty menus.
I have been playing with this a bit. I kinda like it. It's starting to
grow on me. LOL The one thing I can't figure out, the scroll thing on
the side of the window it's in. On most things, web browsers and such,
there is a scroll thing on the right side. You can left click and hold
and scroll rather quickly to a certain spot. When there is a long page
of info, it can come in handy. It is a LOT faster than using the mouse
wheel or the page up/down keys. I can't figure out how to work the one
in Kitty tho. I see the little bar but when I left click on it, it
doesn't do anything. If I try to scroll with it, it just highlights
text in the window. Also, usually the mouse pointer changes when I'm
over that little scroll part. With Kitty, it doesn't change. It stays
a little text bar like it does when over text. It's there but it
doesn't allow the mouse to make use of it.
I've been through the config file a few times and found scroll things
but I'm not seeing the part that controls it. All the other windows I
use, web browsers, Konsole, file mangers etc work as they should. I
don't think it is a KDE window setting since everything else works. I
can't find anything with Kitty either tho.
You have any idea what controls that behavior? Maybe it is called
something I don't realize that is what it is or something.
Oh, it is all controlled by the config file like you said. It has no
settings or preference menu anywhere. Heck, there's no menu at all.
ROFL Thing is, once set up, it doesn't matter.
Thanks.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-05-28 20:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-22 20:01 [gentoo-user] Terminal emulator to replace Konsole Dale
2024-03-22 20:14 ` Jack
2024-03-23 10:47 ` Mickaël Bucas
2024-03-23 14:05 ` [gentoo-user] " Grant Edwards
2024-03-23 14:33 ` [gentoo-user] " Ionen Wolkens
2024-05-28 20:13 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox