From owner-freebsd-questions Sat Jun 5 18: 7:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from blues.ghis.net (pppc1-52.eisa.net.au [203.166.251.52]) by hub.freebsd.org (Postfix) with ESMTP id 679A114D01 for ; Sat, 5 Jun 1999 18:07:37 -0700 (PDT) (envelope-from jim@blues.ghis.net) Received: (from jim@localhost) by blues.ghis.net (8.9.3/8.9.3) id LAA45398; Sun, 6 Jun 1999 11:07:08 +1000 (EST) Date: Sun, 6 Jun 1999 11:07:06 +1000 From: Jim Mock To: Bart Trzynadlowski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: prompt in csh and terminals Message-ID: <19990606110705.A45311@blues.ghis.net> Reply-To: jim@blues.ghis.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.3i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 05 Jun 1999 at 17:42:56 -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: > > /home/btrzynadlowski% Not sure about this one. I don't use csh or sh much so I don't bother changing the prompt on either of those. Hopefully someone else will reply to this one. > 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. Yes, you can. Instructions on how to do it are in the FAQ at http://www.freebsd.org/FAQ/FAQ150.html#150 > 3) Where can I find out how to create snoop (SNP) devices to watch > other consoles? Couldn't find much in the man pages. You need to compile the snoop device into the kernel. Add this to your kernel config and recompile.. pseudo-device snp 3 The watch(8) man page will be helpful too. Hope this helps, -- - Jim Mock - jim@blues.ghis.net - systems administrator - ghis.NET - - work: http://www.ghis.net/ - personal: http://www.ghis.net/~jim/ - - FreeBSD 'zine: http://www.freebsdzine.org/ - jim@freebsdzine.org - - FreeBSD: http://advocacy.freebsd.org/ - jim@advocacy.FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message