Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > terminal prompt changed...

terminal prompt changed...
Thread Tools
arcticmac
Dedicated MacNNer
Join Date: Apr 2004
Status: Offline
Reply With Quote
May 20, 2004, 09:15 PM
 
a few days ago, my terminal prompt changed from being [computername:~]username% to "[localhost:~]"username%.

(os 10.2.8)

is this normal/good/bad/whatever?

what's the best way to change it back?

the only software I've installed (I think) in the past couple days is gimpprint and espghostscript.
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
May 20, 2004, 11:20 PM
 
I have seen my terminal's prompt change, too. One time it changed to my IP address, strangely. But now it's back to <Rendezvous name> <username>. Maybe if you change your Rendezvous name it will update to it.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Link
Professional Poster
Join Date: Jun 2003
Location: Hyrule
Status: Offline
Reply With Quote
May 21, 2004, 12:43 AM
 
Sometimes rendezvous has the habbit of going boom, OR something felt the need to change your hostname...

Note: I find sometimes when my mac is offline or not on a network it reverts to localhost
Aloha
     
theolein
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status: Offline
Reply With Quote
May 21, 2004, 06:19 AM
 
Originally posted by arcticmac:
a few days ago, my terminal prompt changed from being [computername:~]username% to "[localhost:~]"username%.

(os 10.2.8)

is this normal/good/bad/whatever?

what's the best way to change it back?

the only software I've installed (I think) in the past couple days is gimpprint and espghostscript.
The terminal prompt is setup in the /etc/bashrc file. There's a setting in there (\h) for the hostname, which can be anything from your computer name through to localhost depending on what the netinfo database value gives to the hostname setting in /etc/hostconfig. For instance I usually get my DHCP client ID stuffed in there (obtained from the ISP's DHCP server) and get my computer name if my network connection is down. You can, if you want, edit the hostconfig file to give your computer a permanent hostname of anything you want. This done by typing the following in the terminal:
1. sudo pico /etc/hostconfig
2. Find the line HOSTNAME="-AUTOMATIC-" and change the "-AUTOMATIC-" to whatever you want.
3. Save and exit.

Voila
weird wabbit
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 10:30 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,