From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 15:18:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A88E16A4CE for ; Mon, 8 Nov 2004 15:18:32 +0000 (GMT) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id A19C143D39 for ; Mon, 8 Nov 2004 15:18:31 +0000 (GMT) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.12.6/8.12.6) with ESMTP id iA8FIVkI026630 for ; Mon, 8 Nov 2004 09:18:31 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200411081518.iA8FIVkI026630@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Mon, 08 Nov 2004 09:18:31 -0600 From: Martin McCormick Subject: How to Send a Bell Character as Part of the Prompt in CSH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 15:18:32 -0000 I set a prompt string in the root .cshrc file of a system and wanted it to ring the terminal bell on each new shell prompt. Instead, I get the representation of the \a expression as a control character as in ^g appearing on the screen instead of the VT100 emulation receiving the ASCII 7 character to beep the terminal. If I type a Control-G, I do hear a bell, but if I include it in the prompt string, it always gets translated in to ^g. What do I need to look at to change this behavior? The prompt string in question is: set prompt="\a\!# " I did try set prompt="`echo `\!# " with exactly the same results. Martin McCormick WB5AGZ Stillwater, OK OSU Information Technology Division Network Operations Group