[Konsole-devel] Review Request: Patch for command-line option to read tab titles and tab commands from file
Thomas Dreibholz
dreibh at iem.uni-due.de
Mon Aug 3 15:06:14 UTC 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1079/
-----------------------------------------------------------
(Updated 2009-08-03 15:06:14.154939)
Review request for Konsole.
Changes
-------
Added printing of error message when opening the tabs file fails.
Summary
-------
The attached patch introduces the new command line option "-tabsfromfile <filename>" to konsole. On startup, konsole reads the file which contains one line for each tab to be created. Syntax is "<tab title>: <command> <args> ..."; comment lines start with '#'. This new option can e.g. be used to conveniently open ssh connections to a pool of PCs; with one tab for each PC. Such a configuration file could look like this:
# SSH sessions to all Network Testbed PCs
Control: ssh -CX user at control.my-domain.org
West: ssh -CX user at west.my-domain.org
North: ssh -CX user at north.my-domain.org
South: ssh -CX user at south.my-domain.org
East: ssh -CX user at east.my-domain.org
Diffs (updated)
-----
trunk/KDE/kdebase/apps/konsole/src/Application.h 1006332
trunk/KDE/kdebase/apps/konsole/src/Application.cpp 1006332
trunk/KDE/kdebase/apps/konsole/src/main.cpp 1006332
Diff: http://reviewboard.kde.org/r/1079/diff
Testing (updated)
-------
Tested against SVN revision 1006358. No problems found with Valgrind.
Thanks,
Thomas
More information about the konsole-devel
mailing list