From owner-freebsd-questions@FreeBSD.ORG Thu Oct 19 21:53:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 BB5F116A412 for ; Thu, 19 Oct 2006 21:53:04 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF2D843D5D for ; Thu, 19 Oct 2006 21:53:03 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-2) with ESMTP id k9JLqdMG029520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 20 Oct 2006 00:52:44 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.8/8.13.8) with ESMTP id k9JLrFCL001742; Fri, 20 Oct 2006 00:53:16 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.8/8.13.8/Submit) id k9JLrFbk001741; Fri, 20 Oct 2006 00:53:15 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 20 Oct 2006 00:53:15 +0300 From: Giorgos Keramidas To: Martin McCormick Message-ID: <20061019215315.GB1683@gothmog.pc> References: <200610192030.k9JKU7U6051880@dc.cis.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610192030.k9JKU7U6051880@dc.cis.okstate.edu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.57, required 5, AWL -0.17, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20, UNPARSEABLE_RELAY 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Why csh on Root? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 21:53:04 -0000 On 2006-10-19 15:30, Martin McCormick wrote: > Alex Zbyslaw writes: > > set prompt="hello%{^G%}there " > > > > where ^G is a single control char, not two chars. > > Thanks. It works perfectly. I am reading the man for > tcsh again to attempt to figure out what I missed the first time. This part: %{string%} Includes string as a literal escape sequence. It should be used only to change terminal attributes and should not move the cursor location. This cannot be the last sequence in prompt. :)