[Konsole-devel] how to emulate pressing 'new' button at cli?
Barry, Christopher
cbarry at infiniconsys.com
Fri Nov 8 17:50:48 UTC 2002
Hi again,
Any news on this topic? Waldo was scoping this out I *think*. If anyone has done this, and has a method I would really appreciate it. Ideally it could function something like this:
konsole --open-new-sessions <server-list-file>
where server-list-file could have a format similar to:
[global]
# overridden by new-session defs
# '-' is placeholder for default global value
# either local, telnet, rsh or ssh
conntype=ssh
# connect as... blank is current user
user=
# could be blank (causes prompt), *, or a real password
# * means use .rlogin or ssh cert
password=*
# a naming scheme
sessname=user at hostname
[new-sessions]
#<servername><starting dir><conntype><user> <password><sessname>
localhost /etc - root rootpwd -
server1 /data ssh dbadmin - Behemoth
server2 /home/cbarry ssh cbarry - MyHome
server3 /var/log ssh root - FW
...
serverN - rsh - - -
I *know* I'm asking a lot here, but from an admin perspective
this would *totally* kick-ass! Maybe even another field in the
conf file to run a command in the terminal once logged in...
Thanks, and thanks for already the GREATEST console ever!
--
Christopher Barry
Manager of Information Systems
InfiniCon Systems
http://www.infiniconsys.com
office:610.233.ISIS (4747)
direct:610.233.4870
cell:267.879.8321
> -----Original Message-----
> From: Barry, Christopher
> Sent: Wednesday, October 30, 2002 5:19 PM
> To: konsole-devel at mail.kde.org
> Subject: [Konsole-devel] how to emulate pressing 'new' button at cli?
>
>
> Hello All,
> I would like to run putty from my winbox to ssh into
> server 'A', running a command there that opens a konsole, and
> then opens a new session in that same window for a list of
> other servers. The script to open the others should be
> trivial if I could simply figure out how to create a new
> session in the same window. I would also like to be able to
> rename the sessions via a script. What switches to konsole
> (if any) allows a new session in the same window, and what
> renames sessions?
>
> Sorry if this is a basic question - I just could not find any
> info on it.
>
>
> Thanks!
>
> --
> Christopher Barry
> Manager of Information Systems
> InfiniCon Systems
> http://www.infiniconsys.com
> office:610.233.ISIS (4747)
> direct:610.233.4870
> cell:267.879.8321
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at mail.kde.org
> http://mail.kde.org/mailman/listinfo/konsole-devel
>
More information about the konsole-devel
mailing list