Processes are unable to fully discard their controlling terminal
Max Bowsher
maxb@ukf.net
Wed Jun 11 17:02:00 GMT 2003
Some time ago I (Max Bowsher) wrote:
> I can now successfully share an ssh-agent between all
> my shells, with it
> starting with the first one, and ending with the last,
> and no zombie windows
> if I end shells in the wrong order.
Matt wrote:
> I would like ssh-agent to function like you say it is
> for you... but i can't understand what you did besides
> obtain the latest versions which i should have.. what
> else do i need to do?
Some shell scripting.
Attached are the shell scripts I *source* from my .bash_profile and
.bash_logout.
It's not a perfect system (if a shell is killed in such a way that
.bash_logout doesn't execute, an agent process can remain), but it seems to
work well for the most part.
Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: agent_refcount_start
Type: application/octet-stream
Size: 871 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030611/454f0ca6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: agent_refcount_stop
Type: application/octet-stream
Size: 556 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030611/454f0ca6/attachment-0001.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list