From owner-freebsd-questions Sun Jun 6 4:37:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from usgs.gov (igsmn002.wr.usgs.gov [130.118.41.22]) by hub.freebsd.org (Postfix) with SMTP id 3043014CA4 for ; Sun, 6 Jun 1999 04:37:40 -0700 (PDT) (envelope-from rsowders@usgs.gov) Received: from IGSMN-Message_Server by usgs.gov with Novell_GroupWise; Sun, 06 Jun 1999 04:37:40 -0700 Message-Id: X-Mailer: Novell GroupWise 5.2 Date: Sun, 06 Jun 1999 04:37:09 -0700 From: "Robert Sowders" To: markov@globalnet.co.uk, btrzynadlowski@powernet.net, rsowders@usgs.gov Cc: freebsd-questions@FreeBSD.ORG Subject: Re: prompt in csh and terminals Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry I misread your question, it's late here :) >>> "Robert Sowders" 6/6/99 4:12:18 AM >>> Answer to question 3. Make sure kernel is compiled with bpfilter, check out tcpdump or any other = sniffing utility. [>>> Mark Ovens 6/6/99 2:51:21 AM >>> [On Sat, Jun 05, 1999 at 05:42:56PM -0700, Bart Trzynadlowski wrote: [> Hi, [> I have three simple questions. [>=20 [> 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: [>=20 [Not sure about sh(1), but in csh(1) try adding the following alias [to your ~/.cshrc: [cd \!*;set prompt=3D"`hostname`:`pwd`{\!}% " [which gives: [ marder-1:/usr/marko{53}% [> /home/btrzynadlowski% [>=20 [> 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. [>=20 [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=20 [> consoles? Couldn't find much in the man pages. [>=20 [> Thanks a lot! [>=20 [> Bart Trzynadlowski [>=20 [>=20 [>=20 [>=20 To Unsubscribe: send mail to majordomo@FreeBSD.org=20 with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message