From owner-freebsd-questions Sun Nov 19 13:07:19 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA27245 for questions-outgoing; Sun, 19 Nov 1995 13:07:19 -0800 Received: from casparc.ppp.net (casparc.ppp.net [194.64.12.35]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id NAA27240 for ; Sun, 19 Nov 1995 13:07:12 -0800 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0tHGsE-000I5EC; Sun, 19 Nov 95 22:02 MET Received: by ernie.altona.hamburg.com (Smail3.1.29.1 #3) id m0tHFoq-00001XC; Sun, 19 Nov 95 20:54 MET Message-Id: From: hm@altona.hamburg.com (Hellmuth Michaelis) Subject: Re: PCVT Help To: terry@lambert.org (Terry Lambert) Date: Sun, 19 Nov 1995 20:54:27 +0100 (MET) Cc: alexandr@louie.udel.edu, freebsd-questions@FreeBSD.ORG In-Reply-To: <199511181941.MAA09432@phaeton.artisoft.com> from "Terry Lambert" at Nov 18, 95 12:41:18 pm Reply-To: hm@altona.hamburg.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1646 Sender: owner-questions@FreeBSD.ORG Precedence: bulk >From the keyboard of Terry Lambert: > > But seriously, I would really appreciate it if someone, anyone out > > there who knows these ESC code would send me them, or point me to > > documentation that lists them. > > Standard ISO escape sequencs: > > ESC [ X Y m Yes, this is the standard SGR sequence as implemented in pcvt, but what he meant was to show a way of assigning an attribute (i.e. a color) to a standout mode (i.e. underline) - so i digged deep in my old mail archives and found the mail where Bruce sent me the patch (i really hope it is ok in this case to quote private mail): Date: Thu, 29 Jul 93 16:14:32 EST From: unido!kralizec.zeta.org.au!bde (Bruce Evans) Message-Id: <9307290614.AA17890@kralizec.zeta.org.au> To: hcshh.hcs.de!hm Subject: Re: Problem with pk 0.2.4 with a "mono VGA" monitor >>and turned off in "se". What I really want is fixed separate colors for all >>the ANSI attributes. I hacked pcvt to provide them, and set them in >>~/.profile. > >I cannot quite follow what you mean, can you please tell a bit more ? Thought I had told you about this. I use this in ~/.profile to set some colors. case $TERM in pc3) printf '\033[0x\033[2;6x' ;; pcvt*) printf '\033[0;4;37;44m\033d\033[0;7;37;44m\033d\033[0;36;40m\033d' esac And this hack to change the attribute table in pcvt. Bruce [what follows is the patch now enclosed in #if PCVT_SETCOLOR in pcvt_out.c] Hope this helps, hellmuth -- Hellmuth Michaelis hm@altona.hamburg.com Hamburg, Europe (A)bort, (R)etry, (I)nstall BSD ?