From owner-freebsd-chat Wed Jun 18 21:32:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA04812 for chat-outgoing; Wed, 18 Jun 1997 21:32:03 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.fr [193.56.58.253]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA04782 for ; Wed, 18 Jun 1997 21:31:58 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.8.4/8.8.4) with ESMTP id GAA14707 for ; Thu, 19 Jun 1997 06:31:55 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.8.4/8.6.12) with UUCP id GAA12503 for chat@FreeBSD.ORG; Thu, 19 Jun 1997 06:31:37 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.5/keltia-uucp-2.9) id AAA00785; Thu, 19 Jun 1997 00:17:51 +0200 (CEST) Message-ID: <19970619001751.44295@keltia.freenix.fr> Date: Thu, 19 Jun 1997 00:17:51 +0200 From: Ollivier Robert To: "chat@freebsd.org" Subject: Re: OS/2 users going to FreeBSD? :-) References: <199706181850.UAA21225@online.no> <19970618144857.51669@right.PCS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: <19970618144857.51669@right.PCS>; from Jonathan Lemon on Wed, Jun 18, 1997 at 02:48:57PM -0500 X-Operating-System: FreeBSD 3.0-CURRENT ctm#3392 AMD-K6 MMX @ 208 MHz Sender: owner-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Jun 06, 1997 at 08:49:02PM +0100, Geir Eivind Mork wrote: > > But I was using 4os/2 as my primary shell in Os/2, how can I emulate it's > > features (except alias) in BSD (I use the standar shell in BSD).. Like the > > TAB feature, the doskey-alike feature (browse previous commands) etc. > > > > And btw; Can I use some sort of macro in the prompt ? Like I did in > > dos/4os? Like the famous $p$g? I haven't figured out something like that > > from the man(uals) tcsh (or zsh if you're more of a Bourne fan) will blow 4os/2 out of the water. 4os/2 (and before 4DOS) was modeled after UNIX shells... You'll find many more features in tcsh/zsh than in 4os/2. I can even say that the first version of 4DOS to support completion wasn't using TAB but F8 (if my memory is right). After many people -- including me -- told the authors that UNIX shells used TAB, they added TAB support. Too bad they got it wrong. TAB cycles through the completion and that's irritating compared to the way of tcsh/zsh (complete till ambiguity). As for your BTW, here is my prompt setting (tcsh but zsh has the same syntax for PS1): set prompt="%h [%T] %B%n%b@%m:%B%.2%#%b " It gives you something like this 255 [23:12] roberto@keltia:/build/ap2> if you're yourself and this if you're root: 230 [22:48] root@keltia:~# -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #20: Fri Jun 13 00:16:13 CEST 1997