From owner-freebsd-questions Sun Jun 6 2:53:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand2.global.net.uk (sand2.global.net.uk [194.126.80.50]) by hub.freebsd.org (Postfix) with ESMTP id E955414CCA for ; Sun, 6 Jun 1999 02:53:18 -0700 (PDT) (envelope-from marko@globalnet.co.uk) Received: from p10s02a06.client.global.net.uk ([195.147.210.17] helo=marder-1.) by sand2.global.net.uk with esmtp (Exim 2.05 #1) id 10qZcC-0005vn-00; Sun, 6 Jun 1999 10:53:17 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id KAA00382; Sun, 6 Jun 1999 10:51:21 +0100 (BST) (envelope-from marko) Date: Sun, 6 Jun 1999 10:51:21 +0100 From: Mark Ovens To: Bart Trzynadlowski Cc: freebsd-questions@freebsd.org Subject: Re: prompt in csh and terminals Message-ID: <19990606105121.C254@marder-1> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Bart Trzynadlowski on Sat, Jun 05, 1999 at 05:42:56PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jun 05, 1999 at 05:42:56PM -0700, Bart Trzynadlowski wrote: > Hi, > I have three simple questions. > > 1) How can I set the prompt in csh and sh so that it reflects the current > path... in zsh I got it working so it now looks like: > Not sure about sh(1), but in csh(1) try adding the following alias to your ~/.cshrc: cd \!*;set prompt="`hostname`:`pwd`{\!}% " which gives: marder-1:/usr/marko{53}% > /home/btrzynadlowski% > > 2) Is there a way to add more console terminals? All I have is 3 right > now: ttyv0, ttyv1, ttyv2. Can I add 2 or more of these so I can have > ttyv3, ttyv4. > Add extra entries in /etc/ttys. Copy the entry for ttyv1 (and rename it to ttyv{4,5,6} etc). Note that ttyv3 already exists, it's the tty that X runs from. > 3) Where can I find out how to create snoop (SNP) devices to watch other > consoles? Couldn't find much in the man pages. > > Thanks a lot! > > Bart Trzynadlowski > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message