[X-Unix] Quit Terminal on exit

James Bucanek subscriber at gloaming.com
Sat Mar 13 08:12:37 PST 2004


Marley Graham wrote on Friday, March 12, 2004:

>I think I misunderstood; when you said "your solution", I thought you 
>were talking about the way I currently have it set up. You were 
>probably referring to my imagined solution that would quit Terminal, 
>right?

At this point, I'm not sure what I was referring to.

>My current setup works, but leaves Terminal running after closing the 
>window. My imagined solution would, obviously close all Terminal 
>windows as a result of quitting Terminal. I recognize the potential 
>hazard, but for the users I have in mind, there is no valid reason for 
>them to have other Terminal windows open.

What I thought you wanted was a simple solution to close the entire Terminal application at the end of the user's ssh session.  I suggested that you insert an osascript command that would quit the Terminal into your .term file.  This would close the Terminal application once the user had finished with their ssh connection.

[ Actually, I gave an example of how I do this in a script.  I assumed you could make the conceptual leap from a script to a list of commands in a .term file. ]

______________________________________________________
James Bucanek       <mailto:privatereply at gloaming.com>



More information about the X-Unix mailing list