osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Konsole select into primary clipboard


On 10 November 2017 at 21:31, Xen <list at xenhideout.nl> wrote:
>
> I think a better system than a menu is when you decide the buffer at the end
> of your action.

MS-Word does that. It drives me crazy.

> You could hold down a key combination (e.g.  ctrl-c) and if you hold it down
> for longer than a second a menu pops up with a choice of 1 2 3 and 4.
>
> Bit hard to paste that way though.

Ew! Sounds horrid. As before -- happy for anyone to use it if they
want, but I'd like the main OS and standard apps to use the normal way
that everyone's used since 1984, please.


> The Vim system doesn't work all that bad but Vims biggest problem is that
> you can't delete any text while overwriting your ordinary save buffer.
>
>
>
> Vim only has ctrl-x, no "del" button.
>
> This constantly risks overwriting your save buffer and makes the program
> unusable.

I didn't know that. Thanks, I've learned something today! :-)

> Well I mean make left-shift + right alt the compose key by default.
>
> Interferes with nothing.

As you wish. I use Right Alt, AltGr.

> Now how to tell people...

The world missed a big chance in 1982 or so.

IBM's Enhanced Keyboard layout took inspiration from a DEC terminal
keyboard. I'm not sure which DEC device was first -- it might have
been a VT-220:

https://en.wikipedia.org/wiki/VT220

IBM first introduced this layout with the 3161 terminal in 1985:

https://en.wikipedia.org/wiki/IBM_3101#IBM_3161.2F3163

... then it came to the later-model PC AT and the PS/2 range.

Look at the IBM and DEC layouts. The function keys across the top in
groups of 4. The cursor keys between the main QWERTY block and the
numeric keypad. The cursor keys in an inverted-T layout, directly
below the other editing keys.

IBM copied DEC.

But IBM didn't copy the DEC Compose key. Sun did, IBM left it out.

And so had to produce dozens of different variants for languages with
extra letters than the US ASCII A-Z, 0-9, $ set. French, German, all
the Scandinavian and Nordic languages -- all rich countries who bought
PCs and all needed their own keyboards.

Result: chaos.

If they'd given everyone a Compose key, supported it in DOS and said
"if you want é, press Compose+e+'..." then we'd all have the US layout
and a lot of pain would have been avoided.

A sad loss.

> I could use AltGr as compose but how to type â?¬ then?

Compose + E + =

â?¬

There you go. :-)

> You're missing the point. I'm not telling you to use Vim.

No, I know, but I would be resistant to anything from Vim's weird
old-fashioned (even anachronistic) UI being made more widespread. It
exists in its own little world and I'm happy to leave it there!

> Even the most worthless thing in existence has something good to it.

Definitely, yes.

>
> Or as Cruijff said: Elk nadeel heb ze voordeel.
>
> (Every disadvantage has its advantage).
>
> (As a football strategist).
>
> So even though Vim is a pain in the ass to use.
>
> It does have multiple buffers.

Fair enough. But you can't just delete!


> You don't understand what "Just because you don't like to eat an orange, you
> can still use orange paint" means.
>
> I'm not telling you to use Vim.
>
> I'm not telling you to eat the orange.
>
> I'm just saying there might be some ideas in the editor that are worth
> considering if they could be implemented in something else that is actually
> a bit more userfriendly.

Oh, definitely, yes, and I did get that.

A couple of editors I would _love_ to see re-implemented on modern hardware:

Ted Nelson's JOT:

http://fileformats.archiveteam.org/wiki/JOT

https://archive.org/details/jot_0.53_ted_nelson

Jef Raskin's SwyftCard:

https://en.wikipedia.org/wiki/Jef_Raskin#Pioneering_the_information_appliance

And the Canon Cat:

https://en.wikipedia.org/wiki/Canon_Cat


> Just because in general the interface is worthless doesn't mean it is
> completely devoid of good ideas.

Agreed, strongly.

> Where did I tell you to use vi?

No no, it's OK, I get it!

> Right. Should fix things a little bit. Although I'm comfortable with dead
> keys.

It is probably possible to combine both.

> I would rather stay with dead keys in Linux as long as they are the same as
> in Windows.
>
> Which is only annoying for " and ', but you get used to the rhythm.

The thing I notice here in Czechia is this.

The Czechs don't consider the diacritical marks as "accents" over a
normal letter. Like the Scandinavians, they are extra letters, tagged
on the end of the alphabet.

Norwegian: A-Z, Ã?, Ã?, Ã?
Swedish: A-Z, Ã?, Ã?, Ã?

Czech: A-Z, Ã?, Ã?, Ä?, Å?, Å , Ž

(I may have the order wrong.)

So, no dead keys. They need their own special keys, because they are
not combinations, they are single letters.

But there are dead keys in the International layout in Windows, and
people use an accent on its own -- ´ -- instead of an apostrophe.

"Liam´s book" instead of "Liam's book". If you look, it takes much
more space. The gap between M and S is bigger with the accent than an
actual apostrophe. This drives me _crazy_.

> But as usual in Linux there are only useless options to choose from (as far
> as I have discovered).

Compose is a wonderful one. Once you get used to it, you will wonder
how you ever lived without it, I promise you!


-- 
Liam Proven â?¢ Profile: https://about.me/liamproven
Email: lproven at cix.co.uk â?¢ Google Mail/Talk/Plus: lproven at gmail.com
Twitter/Facebook/Flickr: lproven â?¢ Skype/LinkedIn/AIM/Yahoo: liamproven
UK: +44 7939-087884 â?¢ Ä?R/WhatsApp/Telegram/Signal: +420 702 829 053