Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 1999 13:20:23 -0600 (CST)
From:      Steve Price <sprice@hiwaay.net>
To:        Sue Blake <sue@welearn.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pretty prompts
Message-ID:  <Pine.OSF.4.02.9901091312440.20210-100000@fly.HiWAAY.net>
In-Reply-To: <19990110055504.32132@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Jan 1999, Sue Blake wrote:

# Years ago in DOS I went through a fancy prompt phase. It got really bad :-)
# For example, one prompt put a blue stripe permanently along the top of
# the screen that showed current directory, time, and whatever other junk
# would fit, with a simple gold prompt mark in the main scrolling part.
# 
# Now in my second newbiehood I'm wondering, can I do that sort of stuff
# with FreeBSD? I can't find any clues in the sh or bash man pages (only
# basic useful stuff, nothing senseless, fun, or psychadelic) so maybe
# there's something else to learn?

If you want to do this in an xterm then you'll need to take
a look at VT100 escape sequences (or xterm control sequences).
There's a pretty terse document that lists what is available
here:

ftp://ftp.x.org/pub/R6.4/xc/doc/specs/xterm/ctlseqs.ms

Once you have it on your local box, you can view it with:

nroff -ms ctlseqs.ms | more

You might also try looking over some the of X FAQs - ISTR
this being one of the questions (or some variant thereof).
HTH.

-steve

# -- 
# 
# Regards,
#         -*Sue*-


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.02.9901091312440.20210-100000>