Subject: Re: Setting fonts on the terminal, help!
To: rusmas <rusmas@wp.pl>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 02/19/2002 13:16:38
On Mon, 18 Feb 2002, rusmas wrote:

> like linux gpm? How to change this NetBSD ($host) ($tty) text in login
> prompt?

What shell do you use?

Maybe if using bash, use something like:
 PS1="\h `basename \`tty\``$ "

Also look at bash(1) manual and search for "PROMPTING" section.

(Also, you don't need to email your same email to the list multiple times.
Be patient; and then if you don't receive help in 24 hours, maybe rewrite
your email to better explain your situation and needs.)

With sh(1), try something like:
 PS1="`hostname -s` `basename \`tty\``$ "

If using csh(1) look at the shell "prompt" variable; like:
 set prompt="`hostname -s` %"

   Jeremy C. Reed
   http://www.reedmedia.net/