From owner-freebsd-questions Sat Jan 9 11:21:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00571 for freebsd-questions-outgoing; Sat, 9 Jan 1999 11:21:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA00566 for ; Sat, 9 Jan 1999 11:21:07 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id NAA17544; Sat, 9 Jan 1999 13:20:23 -0600 (CST) Date: Sat, 9 Jan 1999 13:20:23 -0600 (CST) From: Steve Price To: Sue Blake cc: freebsd-questions@FreeBSD.ORG Subject: Re: pretty prompts In-Reply-To: <19990110055504.32132@welearn.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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