New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Can You Help? I've Messed Up Terminal.app Login


Post Reply New Thread Subscribe

 
Thread Tools
mac57

 
mac57's Avatar
 
Member Since: Apr 29, 2006
Location: St. Somewhere
Posts: 4,560
mac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant future
Mac Specs: iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM

mac57 is offline
Oh boy! In my efforts to get the Terminal.app window to close when I exited the VE text editor (see my previous post about THAT topic) I created a bash shell script that just ran VE and then did "exit". I reasoned that if typing exit into shell windows manually closed the window, perhaps this would do the trick. It didn't.

When I right clicked in now dormant window and selected Windows Settings, which brings up the Terminal Inspector window, I noticed that for some reason the "When Shell Exits" - "Close This Window" radio button wasn't selected, even though it is my Terminal.app default.

So, next time I started VE by double clicking on the icon, I started Terminal Inspector again, selected the "Close This Window" radio button and then pressed the "Use Settings as Defaults" button at the bottom of Terminal Inspector.

MAJOR mistake! neye: Now, whenever I start Terminal.app, I don't get a shell window anymore, I get VE. When I quit VE, the window goes away! I have lost access to Terminal.app. Ackkkk.

Does anyone know where this is controlled from? How did I inadvertantly cause Terminal.app to execute VE every time, and how can I reset it back to just executing WHATEVER it was doing before? Thanks!

My Macs: iMac 27" 3.4 GHz, Mac Pro 3.2 GHz, PowerMac G5 Quad 2.5 GHz, G4 Cube with 1.2 GHz Upgrade
My iStuff: 64GB iPhone 5, 64GB iPad4, 30GB iPod Video, 16GB iPod Touch
My OS': Mac OS X Lion, Mac OS X Snow Leopard, Mac OS X Tiger, Mac OS 9.2.2, openSUSE 10.3
I was on the Mac-Forums honor roll for September 2007
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
I believe that you will need to start your system in single user mode and back out the changes you have made. After reading some of hte things you have done, i believe that you should have enough unix skill to remove your additions.

After that is done, you may want to look at an Apple script will open a terminal session, along with your VE editor. Whch will closes evrything upon the exit of the VE editor.

What I don't understand is, why is it so difficult about quitting the terminal application after you finish editing.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
mac57

 
mac57's Avatar
 
Member Since: Apr 29, 2006
Location: St. Somewhere
Posts: 4,560
mac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant future
Mac Specs: iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM

mac57 is offline
Thanks rman. After Googling various and sundry terms (no pun intended!) I discovered that by simply deleting ~/Library/Preferences/com.apple.Terminal.plist, I could eliminate the startup of VE and get back to normal. I had to re-establish all my Terminal.app defaults, but it was a small price to pay.

Re Applescript, this sounds interesting, but I know zero about it. Do you have any idea where could I find some really simple examples to look at? The quickest way to learn is by looking at what other people have done. I suspect that there are lots of Applescript scripts on this machine right now if I just knew where to look! Thanks!

My Macs: iMac 27" 3.4 GHz, Mac Pro 3.2 GHz, PowerMac G5 Quad 2.5 GHz, G4 Cube with 1.2 GHz Upgrade
My iStuff: 64GB iPhone 5, 64GB iPad4, 30GB iPod Video, 16GB iPod Touch
My OS': Mac OS X Lion, Mac OS X Snow Leopard, Mac OS X Tiger, Mac OS 9.2.2, openSUSE 10.3
I was on the Mac-Forums honor roll for September 2007
QUOTE Thanks

Post Reply New Thread Subscribe


« Closing Terminal.app Window When App Exits | Script for Find/Change »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Closing Terminal.app Window When App Exits mac57 OS X - Development and Darwin 0 06-15-2006 04:22 PM
Boots into Darwin after login! jureynolds OS X - Development and Darwin 1 09-15-2005 12:41 PM
Stupid Firefox doesn't always successfully login with id/password! mangoSharingan OS X - Apps and Games 0 05-28-2005 09:39 AM
Automatic Login still asks for password?!? SYSTEM9 OS X - Operating System 4 03-20-2005 10:03 AM
Login Screen does not appear josephaboothii OS X - Operating System 0 04-08-2004 02:41 PM

All times are GMT -4. The time now is 02:55 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?