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


JavaRanch » Java Forums » Engineering » Mac OS
Reply Bookmark "Odd Terminal Login" Watch "Odd Terminal Login" New topic
Author

Odd Terminal Login

Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

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?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

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$


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

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: 56529
    
  14

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
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

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

Joined: Jan 10, 2002
Posts: 56529
    
  14

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Odd Terminal Login
 
Similar Threads
Answers to IBM 486 sample test
Clear Screen
NEDIT Under Cygwin
WA #1.....word association
Java 1.5 on mac