start gnu screen with existing running program [closed] - gnu-screen

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Say I forget to run screen at the beginning of login, I've started up a program like emacs, have many files open, now I want to attach this to a session of screen. Is there any way to do this? Or do I have to exit emacs, run screen, then run emacs again, opening up my work from the beginning?
Thanks for your help.

This post from ServerFault might be useful: https://serverfault.com/questions/24425/can-i-nohup-screen-an-already-started-process

reptyr works if you're on linux

I don't believe this is possible - your emacs session is a child process of your shell, and I believe that a secure OS is pretty strict about making changes to the process tree from outside the process.

Related

How to stop the individual programs that are specified in supervisord.conf file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I want to manage few process using supervisor.I have made the changes in the supervisord.conf file.I want to stop a few programs later
I tried using "supervisorctl stop program_name" command but I get the following
Sorry, supervisord responded but did not recognize the supervisor namespace commands that supervisorctl uses to control it. Please check that the [rpcinterface:supervisor] section is enabled in the configuration file (see sample.conf).
Can somebody guide me?
Thanks in advance
Add this to your /etc/supervisord.conf:
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
And restart supervisord:
sudo /etc/init.d/supervisord restart

Intellij keys registration [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
As a life long eclipse IDE user, i decided to try Intellij at work. I requested for activation keys and received them. Thing is, the registration process to upgrade from a trial version to a full version is very confusing. Any pointers over this issue will help.
Thanks
You should use the Help | Register dialog to enter the key for IDEA Ultimate. If the Help Register is disabled then you might be using EAP(Early Access Program) version of the product.
Note that Help menu is not available from the welcome screen, so you need to create/open some project first.
To access registration dialog from the Welcome Screen use the Find Action shortcut (Ctrl+Shift+A), type Register..., press Enter:
If OK button remains disabled, refer to this document.

Recovery of SSH session after system crash [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I was editing a file over SSH when my computer crashed and I got the BSOD. I was SSHing through Putty. I would really like to recover if possible. I don't know if there is anyway to restore the SSH session and save from there. Any help would be appreciated.
No, there is no way to restore your session, unless you used something like screen.
But there might be a way to restore your file, but that depends on the editor you used. Editors like Vim and Emacs store the changes of unsaved files, and will notify you the next time you open the file.
Thus all you have to do in this case is open the same file again. In other cases the changes might just be gone.

How can i prevent explorer.exe from loading at startup? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can i disable explorer.exe from startup?
(need it to boost my only-gaming pc)
Thanks!
EDIT :
I need to diable explorer.exe, the game starts automatically on startup!
If i want explorer back, i can simpely press: Cntrl + Alt + Del, start Task Manager, Click on New Task, and type: "explorer.exe", it should work like that.
EDIT 2:
To make it On Topic, Maybe i can do this with an Batch-file?
I dont know enough of .bat files for making one, what i need to write in the batch-file?
In Windows, explorer.exe is the main file manager application that is required for the windows gui to function. Theoretically, there is a way to navigate your files (e.g., in order to open up your games) through the command line, though I believe that you will need explorer as the parent process for many of the popular games. Someone who has access to the MSDN would be able to tell you more definitively.
Long story short, unless you are booting into command line mode, explorer.exe will load on startup.

How to automate SHH commands using PuTTY [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am trying to automate connecting to UNIX using PuTTY and sending commands. My team use this to execute a series of processes that can get really repetitive.
I have already accomplished this using autoit v3, however I can only send commands to the putty window but not read anything from it, which doesn´t allow me to change the flow of the script based on command responses and to know exactly when a specific command executed (currently using Sleep())
Check out Plink on this page: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
You can use Run, StdoutRead and StdinWrite to write input and read output.