Version: (using Devel) Installed from: Compiled sources Patch and info http://reviewboard.kde.org/r/1079/ 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@control.my-domain.org West: ssh -CX user@west.my-domain.org North: ssh -CX user@north.my-domain.org South: ssh -CX user@south.my-domain.org East: ssh -CX user@east.my-domain.org
Created attachment 43056 [details] Patch against trunk to read from file I changed a few things: a) ;; is used as a seperator to simplify parsing b) separate the functions
SVN commit 1121586 by hindenburg: Allow tab commands and their titles to be read from a file on the command line. # Examples below: title Heading to earth;; command: ssh earth title Top this!;; top Original patch by Thomas Dreibholz; hacking/changes/bugs are all mine. BUG: 235410 M +112 -2 Application.cpp M +2 -0 Application.h M +1 -0 main.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1121586