Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

Executing shell commands on local host #393

Open
artmartz opened this issue Nov 24, 2014 · 2 comments
Open

Executing shell commands on local host #393

artmartz opened this issue Nov 24, 2014 · 2 comments

Comments

@artmartz
Copy link

First the background, I am using Final Term on Ubuntu 14.10 on my laptop to execute the following command: "telnet-ssl serverhost 992 -z ssl -S character". I am running database programs on "serverhost" (not the real name). I need the database pgms to be able to execute a command on my laptop, such as a meld. With help from Philipp, I was able to get the following working just fine if I executed the following command on my local host inside of Final Term: echo -ne '\e]133;H;RUN_SHELL_COMMAND "pwd"\a'. This indeed returned the output from a "pwd" command on my laptop.

The problem is when I execute the same command (\e]133;H;RUN_SHELL_COMMAND "pwd"\a) from one of my database pgms. Final Term does execute the command, but it executes on my database server, not my local host, where I need it. It seems the shell command is misdirected to the telnet-ssl session instead of my local host. Is there anything that can be done to get the shell command to actually execute on the local host, even if I do have an ssl session open?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@p-e-w
Copy link
Owner

p-e-w commented Dec 7, 2014

Not currently, but we might consider adding such a command in the future.

@artmartz
Copy link
Author

It looks like the current command comes real close to what I need. If we could just tweak where the output goes.....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants