Konsole has builtin code to manually write out line characters. There
are certain reasons why this might not be desired. This adds a profile
option to use the fonts line characters. The default is as-is today
using the builtin code.
BUG: 364992
(cherry picked from commit a4de3feb16)
Due to various issues outside the scope of Konsole, some monospaced
fonts are not allowed to be selected. The default is still to only
allow system found monospaced fonts but users can bypass to allow any
font to be picked. There is a warning about issues when doing this.
CCBUG: 349350
(cherry picked from commit fa5f32f13f)
Adds faint intensity, strikeout, conceal and overline support.
echo -e 'D\e[2mD\e[9mD\e[53mD\e[8mD'
Thanks to Antonio Russo antonio e russo gmail com for patch
REVIEW: 128405
BUG: 362171
(cherry picked from commit 84b43dfb21)
This should update filters less often, and also hopefully fix the issue
where underlined links get stuck while scrolling.
The idea is to not to do it on all mouse updates, only when needed on
mouse updates, and also not display the filters if they are out of date.
The only thing that should happen on screen changes now is setting the
_filterUpdateRequired variable to true, which leads to the filters not
being displayed until re-processed, which happens the next time the
mouse moves, unless I fucked something up.
REVIEW: 128393
(cherry picked from commit f3ce85b9ef)
According to the bash maintainer sending EOF is the appropriate way of
telling e. g. bash to quit:
http://permalink.gmane.org/gmane.comp.shells.bash.bugs/12602
I wasn't able to get KPtyProcess to send that in a nice way (calling
setStandardInputFile(QProcess::nullDevice(), for example), so we fetch
the EOF character manually with tcgetattr and send that.
BUG: 185140
REVIEW: 128416
Add a new string replacement %U for remote tabs, which evaluates
to _user@ if user is non-empty, and the empty string otherwise.
Patch by Tobias Berner tcberner gmail com
Part of REVIEW 127525
When using 'ssh server command args', try to gather the command args
for use in the tab titles. This doesn't work 100% and suggest using
quotes around the ssh command.
Patch by Tobias Berner tcberner gmail com
Part of REVIEW 127525
* FreeBSD's readArguments() implementation was broken:
It read the wrong sysctl.
Also the string processing did not work as expected.
* FreeBSD's readEnvironment() was not implemented.
This provides an implementation using libprocstat's
procstat_getenvv
Tested on my system w/ FreeBSD 11.0-CURRENT
Patch by Tobias Berner tcberner gmail com
Part of REVIEW 127525
Reset was always called with clearScreen = true, so no point in having
that variable. We can probably also remove Screen::clear() and
Screen::home(), they're not used anymore, and weren't really useful
before this either.
We still preserve the scrollback history when resetting, which is not
what other terminal emulators do (http://stackoverflow.com/a/5367075),
but we do have a separate action for it, so I think it is a nice extra
feature to preserve it.
REVIEW: 128389
Port away from using QRegExp to QRegularExpression. The result is a bit
better performance, a bit more readable code (imho) and also no more
relying on mutable state in static objects (like in the keyboard
translator parser).
REVIEW: 128346
When looking backwards to combine into a character, it didn't take into
account characters with two column width. It also assumed that all
characters that needed to be combined were in the Mn unicode character
category, while the Hangul starting consonants are in the Lo category.
Implements a feature from e. g. good old Konqueror/KHTML, where you got
a number overlaid all links when pressing ctrl, and then you could press
ctrl+number to activate that link.
REVIEW: 128348
Implements support for the OSC 7 "standard" for tracking open
directories in the terminal (e. g. for bookmarks).
From the bug report, this is apparently what the osx terminal, iterm and
gnome terminal uses to keep track of stuff. I kept the existing tracking
as a fallback.
REVIEW: 128351
BUG: 336618
An updated version of the patch by Adam Treat <treat@kde.org>:
Implement a new file filter using POSIX Portable Filename Character
Set along with KDE's mimetype database of file extension blobs that
filters text matching a POSIX portable pathname and underlines it
very much like links.
REVIEW: 128241
REVIEW: 114376
debian policy for reasons beyond my apprehension wants a -T option to
set the window title (like in xterm).
to make debian's (and derivate's) life easier let's support a no-op
-T option but hide it. this option will not appear in --help output
but be accepted by the parser all the same.
this enables Debian and friends to drop a long standing useless patch
and at the same time prevents us from introducing a conflicting -T in
the future.
REVIEW: 128299