Update the tab title to current program running.
Martin, this "if" was committed in
79ca76a946. For now, I removed the "if"
CCBUG: 368785
(cherry picked from commit 3747ecfde0)
The only processes that are "safe" or require us to send an EOF to
terminate cleanly are shells, so verify that people didn't run with -e
tmux or similar.
REVIEW: 128791
BUG: 367746
(cherry picked from commit ce4ab92249)
The old method of checking it has unnecessary overhead (doing a full
process info update), and wasn't very reliable.
Instead just get the original shell PID from QProcess (via KProcess),
and the foreground process from the PTY.
CCBUG: 367746
REVIEW: 128789
(cherry picked from commit 79ca76a946)
Session management would start 2 konsole windows upon login.
Thanks John Stanley (jpsinthemix gmail com) for patch
BUG: 367447
(cherry picked from commit 5b11fd593b)
Instead of manually deleting the output suspended label let the QObject
cleanup handle it.
Now it is first deleted manually by us, leading to a potential crash,
and afterwards the QObject cleanup runs, but luckily it doesn' try to
destroy it again.
REVIEW: 128667
BUG: 366706
(cherry picked from commit b2b852cfd7)
It's apparently not possible to set WA_TranslucentBackground after
show(). The MainWindow constructor calls applyKonsoleSettings() which
calls KMainWindow::setAutoSaveSettings() which in turn calls
setVisible(true), which makes any calls to setTransparency() from the
Application::newMainWindow() irrelevant, even if updateUseTransparency()
is called from it.
REVIEW: 128669
BUG: 366368
(cherry picked from commit a28902e912)
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