Results 1 to 3 of 3
  1. #1

    mac57's Avatar
    Member Since
    Apr 29, 2006
    Location
    St. Somewhere
    Posts
    4,560
    Specs:
    iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM
    Can You Help? I've Messed Up Terminal.app Login
    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

  2. #2

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    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
    Cool
    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!

  3. #3

    mac57's Avatar
    Member Since
    Apr 29, 2006
    Location
    St. Somewhere
    Posts
    4,560
    Specs:
    iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Messed Up Terminal Bash Please Help!
    By RJDavis in forum OS X - Operating System
    Replies: 1
    Last Post: 10-26-2010, 04:51 PM
  2. Does starting Terminal.app at login open up security risks?
    By Sporky in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 09-14-2008, 04:16 PM
  3. Airdisk Messed up by Terminal!
    By The Vindicat3d in forum OS X - Operating System
    Replies: 0
    Last Post: 03-21-2008, 05:14 PM
  4. terminal is messed up
    By germpest in forum OS X - Development and Darwin
    Replies: 11
    Last Post: 06-22-2006, 03:55 AM
  5. My Terminal is messed up.
    By edokid in forum Switcher Hangout
    Replies: 8
    Last Post: 11-16-2004, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •