On 1/29/2020 10:37 AM, Bruce Dubbs via blfs-support wrote:
On 1/29/20 11:11 AM, Alan Feuerbacher via blfs-support wrote:
I'm beginning to use KDE and its Konsole terminal emulator to build
more BLFS programs. With the terminal in Fedora and with xterm in the
twm environment, I've been using the vi editor to edit my build
scripts. Typically, I'll copy some text from the BLFS book into a vi
session, edit it, and then copy commands into another terminal window
for execution.
This has worked fine for years, but I've not used KDE before. At
least, not in the LFS environment. So I don't quite know what to
expect with regard to behavior different from the desktop
environments I'm used to.
Now I've discovered that KDE Konsole behaves unexpectedly when I
copy/paste into vi from a BLFS book webpage. If I copy "normal text"
into vi, it works as expected. However, when I copy highlighted
"command text" (like ./configure ... make) into vi, Konsole pops up a
little window titled "Filter -- Konsole" containing the message:
###########
The text you're trying to paste contains hidden unprintable
characters, do you want to filter them out?
Other unprintable character (\xd)
Remove unprintable :: Confirm paste :: Cancel paste
###########
I've never seen this message before, and I can find no useful
information with Google.
If I select "Remove unprintable", the text pastes into vi OK. If I
select "Confirm paste", extra junk appears.
If I then copy/paste commands into another Konsole window, with the
"Remove unprintable" selection the commands execute as expected ; I
get garbage with the "Confirm paste" selection.
It's easy enough to work around this, but it requires dealing with
the Konsole popup and so is a pain. Doing this hundreds of times is a
REAL pain.
If I open an xterm in a Konsole window ("xterm&"), and do copy/paste
from the BLFS book into a vi session, it acts as expected.
I'm guessing that Konsole, unlike xterm and the Fedora terminal, is
not automatically filtering out unprintable characters from the BLFS
webpage. I've looked all through the "Settings" menu in Konsole, with
nothing useful.
Any suggestions for changing Konsole's behavior?
I've used konsole for about 15 years and do not recall the behavior
you describe. What browser are you using? I suspect that the copy
part is causing the problem.
I'm using Firefox, which I built as part of my BLFS installation.
Also, you do not need to use Ctrl-C/Ctrl-V. Just drag the mouse over
the text you want to copy and then use the middle mouse button in vi
to paste.
That's exactly what I do.
I'll also note that I use a mouse without a scroll wheel to
facilitate pasting. They are a little hard to find any more.
I haven''t seen one of those in a very long time.
Another thing, you do not need to use kde/plasma to use konsole. You
can use it in any graphical environment. I use xfce.
Ok, I'll try that when I next fire up twm.
As for xfce, I vaguely recall liking it several years ago. My current
plan is to try out all of the window managers and DEs in BLFS.
Alan
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page