Terminal in Lion

Hello All
When I open my terminal in Mac Lion i get this :  bogon:~ Joseph ....... any idea why it should say "bogon"?
Thanks!
Joseph

Check the following links:
https://discussions.apple.com/message/9817110#9817110
https://discussions.apple.com/thread/3349524?start=0&tstart=0
Those and may others are found in these discussions by googling "strange terminal prompt site:discussions.apple.com".

Similar Messages

  • Lion Fan Speed

    My MacBook Pro fan is running extremely fast after installing Lion.  Indexing is finished.  It keeps going at top speed even after the screen saver is on.  Anyone have a similar problem?

    I appreciate that the terminal fix seems to be working, but over at Ars Technica they state that some apps appear to quit but their processes remain running:
    'As if all of this isn't enough, Lion features one final application management twist. When an application is terminated in Lion, all the usual things appear to happen. If the running application indicator is enabled, the small dot will disappear from beneath the application's Dock icon. The application will no longer appear in the command-tab application switcher, or in Mission Control. You therefore conclude that this application's process has terminated.
    A quick trip to the Activity Monitor application or the "ps" command-line utility may dissuade you of that notion. Lion reserves the right to keep an application's process around just in case the user decides to relaunch it. Upon relaunch, the application appears to start up instantly—because it was never actually terminated, but was simply removed from all parts of the GUI normally occupied by running applications.'
    All of these processes are bound to cause the CPU to work and therefore produce heat. Might explain the poorer battery life some MacBook users are reporting.

  • Why do Terminal Window Groups Get 2 Columns Wider Every Launch?

    I set up 3 terminal windows of different sizes, place them where I want, and save as a "Window Group." Then I set this Window Group to be used when launching Terminal.
    Lion has introduced a bug whereby every time you launch the Terminal app, each window in the Window Group gets wider by 2 columns. It is 100% reproducible and incredibly annoying.
    For example, follow these repro steps:
    Launch Terminal. Your first window in the group is 140 columns wide, just as you saved it.
    Quit Terminal.
    Launch Terminal. Your first window in the group is 142 columns wide. The other windows are similarly wider by 2 columns.
    Quit Terminal.
    Launch Terminal. Your first window in the group is 144 columns wide. Again, the other windows are also wider by 2 columns.
    ... and so on...
    If you select "Window > Open Window Group" and choose the same group, it will open them at the intended sizes. However, this doesn't solve the problem.
    Is there a work around to prevent this?
    Thanks,
    Tim

    a fix from apple will probably take some time (apple is not fast about bugs they consider minor).  in the meantime, you can use something like the following as a workaround.  copy the following into a plain-text editor and save it as <whatever>.applescript (somewhere out of the way - it doesn't matter where you save it so long as there are no permissions issues).
    tell application "System Events"
              set terminalPlist to property list file "~/Library/Preferences/com.apple.Terminal.plist"
              tell terminalPlist
                        set defaultWindow to value of property list item "Default Window Settings"
                        tell property list item "Window Settings"
                                  tell property list item defaultWindow
                                            if value of property list item "columnCount" ≠ 80 then
                                                      set value of property list item "columnCount" to 80
                                            end if
                                  end tell
                        end tell
              end tell
    end tell
    You could also save this as a compiled script (.scpt) using script editor; doesn't really matter.
    Then, copy the following into a plain-text editor and save it as user.terminal.widthFixer.plist (the name doesn't really matter, so long as it ends in .plist), in the folder ~/Library/LaunchAgents.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>Label</key>
              <string>user.terminal.widthFixer</string>
              <key>ProgramArguments</key>
              <array>
                        <string>osascript</string>
                        <string>/Users/<yourname>/path/to/script.scpt</string>
              </array>
              <key>WatchPaths</key>
              <array>
                        <string>/Users/<yourname>/Library/Preferences/com.apple.Terminal.plist</string>
              </array>
    </dict>
    </plist>
    <yourname> should be your short user name, obviously, and the path in the ProgramArguments array should point to the script.  Log out and log back in, and this script should (in the simplest case) automatically reset the window width.
    caveats:
    I can't test this (the external disk with my Lion installation died), so I can't guarantee it will work out of the box
    depending on whether the increment occurs at startup or shutdown, you may need to set columnCout to 78 instead of 80 to get the right final size
    make sure you use a plain-text editor (TextWrangler, TextEdit in plain text mode, or any programmer's editor).  using a formatted text editor will mess things up.
    if you have a complex setup you may need to reset Window Settings other than the default one. All this means is changing tell property list item defaultWindow to tell property list item "window settings name".  adjustments should not be difficult, but post back with details if you need specific instructions.

  • »/var/log/OSInstall.custom« missing in Lion

    Hi Community,
    in Snow Leopard it was possible to determine the original installation date of the system in the file /var/log/OSInstall.custom but this file isn't there in Lion. Is there another way to determine the installation date in a terminal in Lion and above?
    Thanks & bye Tom

    I've made a modification to the query to NOT contain a WHERE clause, and am now trying to specify the full WHERE clause as follows...
    public void setILaudit1BindVars(String transordnum, String shipmentnum)
    System.out.println("***In setBindVars*****");
    String whereclause = "TRANSORD_NUM like '" + transordnum +
    "' and SHIPMENT_NUM like '" + shipmentnum + "'";
    System.out.println(" " + transordnum + " " + shipmentnum);
    System.out.println(" " + whereclause);
    ViewObject vo = findViewObject("ILaudt1VbyOrdShp");
    vo.setWhereClause(whereclause);
    vo.executeQuery();
    It appears to me that this formatting is working correctly...
    Jan 25, 2005 9:07:15 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    05/01/25 09:07:28 ***In setBindVars*****
    05/01/25 09:07:28 CSWP29153A00% 0001365753%
    05/01/25 09:07:28 TRANSORD_NUM like 'CSWP29153A00%' and SHIPMENT_NUM like '0001365753%'
    Jan 25, 2005 9:07:30 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    AND I'm actually seeing my queryResults screen being displayed, however, it's starting at the beginning of the table, without the WHERE clause applied.
    The method setILaudit1BindVars is referenced as the executeQuery form bean's MethodName property.
    Any suggestions as to where my disconnect is?

  • Mavericks is super SLOW on Macbook Pros

    Ok I have 10 macs at our office. 4 are macbook pros about 2009 to 2012. I have upgraded them all to Mavericks. The iMacs are fine and older than the laptops with less Ram.
    The MacBooks are now good paperweights.
    I have done everything. .... Clean install..... Even without installing any new apps, it just starts hogging RAM and spinning beach ball.
    Replaced / added Ram / played with RAM compression in terminal.
    Lion was easily 115% more responsive.
    This is on 4 different Macbook Pros.
    Why are people not more outraged about this?

    SOLVED!
    If you have Gmail:
    Login into your gmail account online and goto settings/labels.
    Take out any "/" marks.
    Our we had several accounst that had [Gamil]/ XYZname just chnage those names to XYZname and take out the /.
    Comuters are 3 times faster now!!!!!!!

  • Preview pretends to quit

    Since upgrading to Lion I have noticed that when I quit Preview it disappears from the dock and seems to be closed, but is still running in the background. This manifests itself when I try to delete a PDF or other file that I have been looking at in Preview and the Trash dialogue says it cannot be deleted as it is still in use. If I then go to Force Quit I find Preview is still listed as running there, even though it is not longer showing in the dock. Force Quitting Preview then allows me to empty the trash. Any ideas?

    http://reviews.cnet.com/8301-13727_7-57439267-263/managing-automatic-application -termination-in-lion/?tag=mncol;txt
    You can turn it off globally or on a by app basis:
    defaults write -g NSDisableAutomaticTermination -bool yes
    defaults write com.apple.Preview NSDisableAutomaticTermination -bool yes
    Details in https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundatio n/Classes/NSProcessInfo_Class/Reference/Reference.html

  • HT201250 Lost important files on Time machine it is decrypting now.

    I recently had to install OSX lion I screwed up something with bootcamp, I deleted the partition and then lost a hundred gigs of space on my harddrive that I really needed. Before I did a clean install, I backed up three times with in an hour with time machine. I checked to make sure everything was there which it was.
    After the clean install I plugged in timemachine it asked me for a password I typed it in, it asked me to set up a new timemachine and I did with out encryption it also kepted my old backups so i restored all the folders I needed and left it to run over night, when I woke up my timemachine disk was decrypting and I thought nothing of it.
    When i got to work I noticed that a bunch of files from the last two weeks were missing and half my music collection and a bunch of other files that I didn't need as much as the work files.
    I noticed that I only had stuff from two weeks prior.
    My downloads folder was up to day from what I had on tuesday and except my documents folder and my music folder.
    When I got home  checked my timemachine ever all those files are missing, I nearly passed out in fear knowing that I need this work files due by friday and I don't have time to recreate EVERYTHING.
    I backed up on the 14th of January, and for some weird reason the files from that day that should be on my computer are not there either. Files I knew I had. Files that i could update intime for friday if they so happen to of been there.
    It's almost like timemachine erased all those files I NEEDED just to **** me off.
    Time machine is currently Decrypting the backup disk and it's at 35% which means it's going to take about 48 hours to get to finished based on the time it has taken to get this far.
    I guess what I am freaking out about is not knowing if those files will be recovered once the timemachine has finished decrypting.
    What's really strange is disk utiliy on the mac states the drive is open and not encrypted.
    On the recovery HD it won't even let me look at the drive because it is locked.
    diskutil cs list in terminal with lion shows this
    Name:         T***************
        Sequence:     1
        Free Space:   0 B (0 B)
        |
        +-< Physical Volume 6**********************************************
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk1s2
        |   Status:   Online
        |   Size:     2000054960128 B (2.0 TB)
        |
        +-> Logical Volume Family 0**********************************************
            Sequence:               19
            Encryption Status:      Unlocked
            Encryption Type:        None
            Encryption Context:     Present
            Conversion Status:      Converting
            Has Encrypted Extents:  Yes
            Conversion Direction:   backward
            |
            +-> Logical Volume F**********************************************
                Disk:               disk2
                Status:             Online
                Sequence:           4
                Size (Total):       1999736188928 B (2.0 TB)
                Size (Converted):   692009828352 B (692.0 GB)
                Revertible:         Yes (unlock and decryption required)
                LV Name:            Time Machine
                Volume Name:        Time Machine
    This does not update or change as the decryption process gets farther along.
    Does anyone know if once the decryption process completes my files will magically appear?
    What's weird is if I go into the time machine on the Tuesday jan 17th to look at the backuplog file. It says it's locked and I can't even copy it to my desktop and open it with out saying it's locked.
    What is also weird the farther along the decryption process goes, it's elimination my three backups of Jan 17th I am only down to one now...
    Really FREAKING OUT....

    Factory reset the TC and redo the setup.. any time you change network the TC needs to be redone.

  • Como creo un disco usb para el os mavericks?

    para limpiar e instalar nuevo os he leido en foros que debo hacer un "disco usb" donde quede el instalador del os nuevo, el problema es que para hacerlo tengo que usar el terminal y no lo tengo! qué hago?!!! tamposo puedo usar el cd de instalación porque el computador venía con la unidad óptica mala y no lee cds... ya de verdad no se que hacer y me estoy desesperando... ayuda por favor!

    Bienvenido/a
    No necesita hacer un disco USB con el instalador ya que puede actualizar sin él. Sin embargo, es recomendable hacerlo, y no necesita la Terminal.
    Para empezar, descargue el instalador de OS X Mavericks desde el Mac App Store. Cuando la descarga termine, use Lion Diskmaker para hacer un disco USB con Mavericks. Puede iniciar con él pulsando la tecla Alt durante el inicio.
    Le recomiendo primero actualizar sin el disco USB. Después de finalizar la descarga, el instalador aparecerá, así que siga sus pasos. Haga una copia de seguridad de sus archivos y compruebe que sus aplicaciones son compatibles > http://www.roaringapps.com

  • Lion Terminal Application key sequence "cntl-shift-E-c-." doesn't work???

    This key sequence "control shift E c ." terminates my Linux console application session which used to control a second Linux session
    If I am unable to enter it, I must end the terminal window to end the console session
    The sequence worked on Snow Leopard by default, but does not work on the Lion Terminal Appication
    I get a "beep" when entering the E
    Anyone solved this problem?
    Thanks,
    ...Jim

    Thanks for your insights
    Although I haven't tried it yet, I think the "Return-Tilda-Period" sequence will drop my ssh connection
    made to my desktop linux system (where I was running the console command) and end the console command
    I really wanted to preserve the terminal log files on the MacBookPro
    I went to the Los Gatos Apple Store Genius bar this morning with 2 MacBookPros (Lion and Snow Leopard)
    After a lot of experimentation, DJ was able to discover that control prefaced commands are insensitive
    to case on Lion. They are always upper case.  So am able to terminate the console command run
    from an ssh session on my desktop linux workstation using Terminal from the the MacBookPro (Lion)
    using the sequence cntl-e-. which is passed through
    Control C will not work, this sequence cntl-Ec puts the input into a mode where around 20 commands
    can be passed to the console application.  These commands include buffer playback form the console
    input-output log, bumping a user who had attached before you, disconnect, and some others
    Background:
    The linux "console" application attaches the caller to the serial console port of a connected linux system
    The sequence with the shift key I use on a lot of terminal emulatiors (Windows putty, other linux terminal
    simulators, the "Termainal" app on Snow Leopard all accepted this command sequence (cntl-shift-E-c-.)
    and passed it to the application that was connected.  Now I am able to disconnect from Lion without killing
    the MacBookPro Terminal session

  • Statement in Terminal following upgrade to Mountain Lion

    I installed Mountain Lion two days ago with a few issues which I have overcome. However Terminal now shows the following when opened:
    The header in Terminal window:
         bash 80X24
    The message text:
         Last login: Sun Aug 12 11:51:17 on ttys000
         -bash: /Users/shortusername/.profile: line 1: unexpected EOF while looking for matching `"'
         -bash: /Users/shortusername/.profile: line 2: syntax error: unexpected end of file
         Full-Names-MacBook-Pro:~ shortusername$
    Has anyone any idea as to what it means? Is it perhaps related to my login identity / profile, but I have no issue with start up? And Bash, what is that?

    My thanks to both Linc and Alfred for their help. There did not seem to be any issues, my concern was that it appeared to be a glitch in my user profile.
    The outcome is that having made hidden files to be seen I was quickly able to find a .profile file, which I opened to read its content. This proved to be nothing to do with my user identity. Having deleted it, restarted the computer, I opened Terminal in which there was no reference as before to the file.
    The puzzle is that the file was a short note on how to keep ~Library unhidden in Lion and I have no idea how it was renamed.
    Problem solved, with my thanks.

  • What is a default password in Lion terminal

    What is a default password in the Mac Lion Terminal? I never setup any password on my MacBook Air. Everytime I used command line in TERMINAL (such as sudo....) they always ask for Password.
    Thanks

    Note that after creating an admin password, you can still arrange things so you do not need it to log in at startup.
    To set that up, go to System Preferences > Users & Groups and then click the Login Options item at the bottom of the pane on the left side. In the new screen, select your account name for the item "Automatic login".
    Note - you'll need to unlock that control pane in order to make changes, To do that, click the lock icon in the bottom left of that window.

  • HT1528 How to enable root user using terminal for mac lion 10.7.5 (step by step)

    I been trying to find the terminal version of creating a root user since I don't know my admin password and want to delete that user.

    You don't need to enable the root user. Just change the password for the account.
    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see:
           Reset a Mac OS X 10.7 Lion Password
           OS X Mountain Lion- Reset a login password,
           OS X Mavericks- Solve password problems,
           OS X Lion- Apple ID can be used to reset your user account password.
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • Last week I've install Mac OS X Mountain Lion and then after the installation finish my IMAC start up in verbose mode. How can I turn off this mode and start my IMAC normally. I've try to key in the code "sudo nvram boot-args=" in terminal also.

    Last week I've install Mac OS X Mountain Lion and then after the installation finish my IMAC start up in verbose mode. How can I turn off this mode and start my IMAC normally. I've try to key in the code "sudo nvram boot-args=" in terminal also.
    Thank you for all of your answer.

    I've seen it mentioned on here that a PRAM reset may solve it:
    Reset PRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P and R.
    You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • How can Lion upgrade work with Microsoft Terminal Services.

    We have a new Mac Mini and was told that Lion would work with Microsoft's Terminal Services.  If this a correct statement because 'NOW " we have been advised they are not compatible unless we use parrallel or bootcamp is this correct?

    Do you want to use the Mac mini to connect to a Windows system using the Windows Terminal Services protocols?  Then you can install an RDC (Remote Desktop Connection) client.
      Microsoft Remote Desktop Connection Mac OS X Client (free)
    <http://www.microsoft.com/mac/products/remote-desktop/default.mspx>
      CoRD (Microsoft RDC Screen Sharing)
    <http://www.macupdate.com/info.php/id/22770/cord>
    On the other hand, if you wanted to use the Mac mini as a server and have Windows systems connect using Windows Terminal Services, that is not going to happen, unless you install Windows on the Mac mini.
    If you want to just remote connect to the Mac mini and see the screen from a Windows system, you can use a Windows VNC client (there are many VNC clients available) to connect to the Mac mini, after enabling System Preferences -> Sharing -> Screen Sharing.  If the Mac mini has multiple accounts, you should be able to have multiple users connect concurrently, however, a Mac mini is not all that powerful, so I would not expect a lot of concurrently users can use the system at the same time.
    If the above has not answered your questions, please be more specify about what you want to do with the Mac mini.  Maybe some explicit examples.

  • I downloaded lion but lost the setup assistant.  please help me recover the setup assistance.  i do not know where/how to find/enter information in the terminal.

    i downloaded lion but lost the setup assistant.  please help me recover the setup assistant.  i do not know where/how to find/enter information in the terminal as was suggested.

    Launch the Terminal application; e.g., by entering the first few letters of its name in a Spotlight search.   Copy or drag -- do not type -- the line below into the Terminal window, then press return:
    sudo rm /var/db/.AppleSetupDone
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. Confirm.
    Reboot. The Setup Assistant will launch.

Maybe you are looking for

  • SAP GUI 730 PL8 Installation Problems

    Hi all! We are facing a problem with the following software product: Information NwSapSetupAdmin.exe: SAP GUI for Windows 7.30 (Compilation 3) Component ID: 1460620d-c8bc-44c2-86ec-e632e0986b01 Version: 27625 Latest Patch Level: 8 SAP Automatic Works

  • Setting page size in cm

    I set centimetres in the preferences of Pages.  But when I go to set the actual page SIZE in Page setup ... the choice is inches.  I remember doing it in centimetres once in the past.  I can't remember how to set the 'Page setup' option to centimetre

  • How do I get my book purchases from my iMac to my iPhone?

    They show up on my iMac but I can´t get them to appear on my iPhone.

  • Posting block removal in the payment proposal editing

    Hello FI experts, I have a small query, and I am not able to make myself sure on it. There are many ways in which payment can be blocked in the payment proposal run for invoices , for , e.g., invoice verification block(R), master record block(M), wor

  • Need a pattern to update a table's contents

    The goal here is to update a table's data when new data is imported into my application. I was looking thru the Swing trail and see that the TabelModelListener is more appropriate for when the data in the table itself changes -- I cannot find a good