From owner-freebsd-current@FreeBSD.ORG Fri May 13 20:52:18 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE90516A4CE for ; Fri, 13 May 2005 20:52:17 +0000 (GMT) Received: from phoenix.gargantuan.com (srv01.lak.lwxdatacom.net [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D24F43D58 for ; Fri, 13 May 2005 20:52:17 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 736BD91C for ; Fri, 13 May 2005 16:52:16 -0400 (EDT) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id D8DCA3AA; Fri, 13 May 2005 16:52:06 -0400 (EDT) Date: Fri, 13 May 2005 16:52:06 -0400 From: "Michael W. Oliver" To: current@freebsd.org Message-ID: <20050513205206.GC40601@gargantuan.com> Mail-Followup-To: current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C1iGAkRnbeBonpVg" Content-Disposition: inline X-WWW-URL: http://michael.gargantuan.com X-GPG-PGP-Public-Key: http://michael.gargantuan.com/gnupg/pubkey.asc X-GPG-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Mailing-Address0: 8008 Apache Lane X-Mailing-Address1: Lakeland, FL X-Mailing-Address2: 33810-2172 X-Mailing-Address3: United States of America X-Guide-Questions: http://www.catb.org/~esr/faqs/smart-questions.html X-Guide-Netiquette: http://www.ietf.org/rfc/rfc1855.txt User-Agent: Mutt/1.5.9i X-Spam-DCC: sgs_public_dcc_server: phoenix.gargantuan.com 1199; Body=1 Fuz1=1 Fuz2=1 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-106.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.3 X-Spam-Pyzor: Reported 0 times. Subject: job count in (t)csh prompt b0rken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 20:52:18 -0000 --C1iGAkRnbeBonpVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi guys. just upgraded to latest CURRENT this morning, now my prompt is hosed. among other things, it usually has a blurb which includes the job count, expressed as: jobs(%j) now, it just has a single number representing the job count and all other good info is gone. worked fine with CURRENT from '04/28/05 00:20:45', which was my last CURRENT build before today. old prompt: michael phoenix.gargantuan.com (Fri) 2005-05-13 15:46:08 ~ line(ttyp2) jobs(0) signal(0) > current prompt: 0 here is the full monty... set FD_DEF=3D"%{^[[0;0;0m%}" set FB_DEF=3D"%{^[[0;1;0m%}" set FD_GRY=3D"%{^[[0;0;30m%}" set FB_GRY=3D"%{^[[0;1;30m%}" set FD_RED=3D"%{^[[0;0;31m%}" set FB_RED=3D"%{^[[0;1;31m%}" set FD_GRN=3D"%{^[[0;0;32m%}" set FB_GRN=3D"%{^[[0;1;32m%}" set FD_YEL=3D"%{^[[0;0;33m%}" set FB_YEL=3D"%{^[[0;1;33m%}" set FD_BLU=3D"%{^[[0;0;34m%}" set FB_BLU=3D"%{^[[0;1;34m%}" set FD_MAG=3D"%{^[[0;0;35m%}" set FB_MAG=3D"%{^[[0;1;35m%}" set FD_CYN=3D"%{^[[0;0;36m%}" set FB_CYN=3D"%{^[[0;1;36m%}" set FD_WHT=3D"%{^[[0;0;37m%}" set FB_WHT=3D"%{^[[0;1;37m%}" # set is_root =3D "" if ("$uid" =3D=3D "0") then set is_root =3D "${FB_RED}(root)${FD_DEF}" endif # # the whitespace at the end of each line is manadatory, else # the prompt will be hosed up when using and # set prompt =3D "\n${FB_RED}%n${FD_DEF} ${FB_CYN}%M${FD_DEF} (%d) %Y-%W-%D ${FB_GRN}%P${FD_DEF} ${FB_YEL}%~${FD_DEF} \n${FD_YEL}line(%l)${FD_DEF} ${FD_MAG}jobs(%j)${FD_DEF} ${FD_GRN}signal(%?)${FD_DEF} \n${is_root}${FD_YEL}%#${FD_DEF} " (that 'set prompt' is all one line, btw) thanks in advance for any pointers on fixing this. --=20 Mike Oliver [see complete headers for contact information] --C1iGAkRnbeBonpVg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFChRN2sWv7q8X6o8kRAtNgAJ0cIgxbYm+IIU9SeV8LDfuJhBLAigCfWWcG px2Fpx+cMNYcouydcbYQg8g= =oCWE -----END PGP SIGNATURE----- --C1iGAkRnbeBonpVg--