wood burning stoves 2.0*
The moose likes Mac OS and the fly likes Terminal exit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Terminal exit" Watch "Terminal exit" New topic
Author

Terminal exit

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10355
    
    8

In the terminal, if I type exit I get logout [Process Completed] but the terminal window is still visible. Of course I can no longer type anything in the window.
I would have expected the terminal window to be disposed like on Ubuntu.
Why does it behave this way?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11460
    
  94

Terminal -> Preferences

In the "Settings" tab, choose the "Shell" sub-tab. There you will find the option for what should happen when the shell exits.

As to why anyone would want this as the default - me not know.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10355
    
    8

Thanks Andrew.
It is really strange, the default behavior. But as long as it configured it's OK I guess.

Update:
It closes the window but does not quit the application.
Ah well.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41815
    
  62
As an aside, I haven't used Terminal in years - check out http://iterm.sourceforge.net/ and its successor http://sites.google.com/site/iterm2home/ for better (IMO) alternatives.


Ping & DNS - my free Android networking tools app
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10355
    
    8

Thanks Ulf.
The iTerm2 says alpha. Do I try that one or iTerm
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41815
    
  62
I'm using iTerm 1 myself, but the iTerm 2 site says many people use it regularly already. See http://sites.google.com/site/iterm2home/iterm2-vs-iterm, particularly the top and the bottom.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10355
    
    8

Download iTerm2. Looks good.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Terminal exit