aspose file tools*
The moose likes Mac OS and the fly likes Odd Terminal Login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Odd Terminal Login" Watch "Odd Terminal Login" New topic
Author

Odd Terminal Login

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

The other day Terminal started showing the following when opened:



That value is always the same. I went into the Sharing options, per some Googling, and I can see Gregg Bolinger’s iMac as the Computer Name and Gregg-Bolingers-iMac.local as the Local Hostname. Any ideas on how I can fix the Terminal?


GenRocket - Experts at Building Test Data
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61426
    
  67

I have the following in my .bashrc to define the prompt as username, host and folder:

export PS1="\u@\h:\W$ "

Examples:

bear@Kodiak:~$

bear@Kodiak:Development$


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I added that and now get:

The host is unknown. But I don't know why.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61426
    
  67

Hmmm, never sen that before. Ive had one come up with odd host names when on a corporate network, but nothing that looked like that.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

And just now it fixed itself. No clue.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61426
    
  67

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Odd Terminal Login