From xemacs-m  Tue Mar 11 14:52:02 1997
Received: from alphatech.com (erebus.alphatech.com [198.112.236.2])
	by xemacs.org (8.8.5/8.8.5) with SMTP id OAA17446
	for <xemacs-beta@xemacs.org>; Tue, 11 Mar 1997 14:52:01 -0600 (CST)
Received: from venus.alphatech.com by alphatech.com (4.1/SMI-4.1)
	id AA09631; Tue, 11 Mar 97 15:47:19 EST
Received: from purin.alphatech.com by venus.alphatech.com (4.1/SMI-4.1)
	id AA06136; Tue, 11 Mar 97 15:55:19 EST
Received: by purin.alphatech.com (SMI-8.6/SMI-SVR4)
	id PAA16192; Tue, 11 Mar 1997 15:46:02 -0500
Sender: greg@purin.alphatech.com
From: greg@alphatech.com (Greg Klanderman)
To: Pete Ware <ware@cis.ohio-state.edu>
Cc: xemacs-beta@xemacs.org
Subject: Re: patch to comint so user input is highlighted.
References: <vwmwwre1ao5.fsf@calico.cis.ohio-state.edu>
Reply-To: greg@alphatech.com
Mime-Version: 1.0 (generated by tm-edit 7.103)
Content-Type: text/plain; charset=US-ASCII
Date: 11 Mar 1997 15:45:57 -0500
In-Reply-To: Pete Ware's message of 11 Mar 1997 14:38:34 -0500
Message-Id: <ugg1y2gnsq.fsf@purin.alphatech.com>
Lines: 33
X-Mailer: Gnus v5.4.11/XEmacs 19.15



this seems to work fine for me:


;;; Shell fonts (gdb and telnet too)
;;;
(require 'shell-font)

(copy-face 'bold 'shell-prompt)
(set-face-foreground 'shell-prompt "yellow")
(copy-face 'default 'shell-input)
(set-face-foreground 'shell-input "white")
(copy-face 'default 'shell-output)
(set-face-foreground 'shell-output "green")

(substitute your own colors)

greg


>>>>> "Pete" == Pete Ware <ware@cis.ohio-state.edu> writes:
Pete> 
Pete> The following patch makes comint display user input in blue (or other
Pete> highlight means).  This works for shell-mode.  I've been playing with
Pete> telnet-mode but it needs more work.  I haven't tried any of the other
Pete> comint derived modes (theoretically, they'd work).
Pete> 
Pete> - Defines a new custom face: comint-input-face
Pete> - Adds functions comint-input-done, comint-input-setup.
Pete> - Defines a buffer local variable comint-input-extent to keep track of current
Pete>   user input.  This would be a good area for more customization as it
Pete>   might be a nice spot for mousing.

