*BSD News Article 43727


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!warp.cris.com!Da_worm
From: Da_worm@cris.com (DAWORM)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Unix/FreeBSD versions of DOS utilities
Date: 7 May 1995 23:43:17 GMT
Organization: Concentric Research Corporation	
Lines: 28
Message-ID: <3ojlul$r3c@warp.cris.com>
NNTP-Posting-Host: voyager-fddi.cris.com
Keywords: FreeBSD, DOS

Does anyone know of a method/program to simulate some of the DOS 
directory enhancement utilities.  Namely, what I am looking for are 
PROMPT and NCD (Norton Change Directory) and RIR (Rock Island 
Directory).  For those who totally disdain DOS (and if I loved it so 
much, I wouldn't have installed FreeBSD!), these programs do the following.

PROMPT - Lets you set a customized command prompt with features like 
showing the current directory (with tree all the way back to the root, as 
in "c:\progs\foo\bar"), setting color, showing date and time, ect.  I can 
change my text prompt in my login script, but have yet to find a way to 
make it show me the directory I am in.

NCD - This program, when first ran, creates a database of sorts of all of 
the directories on the drive.  Then, by typing "ncd dirname" it change 
the directory to the first/closest match to dirname it finds.  So if I 
were in "/usr/bin" I could type "ncd etc" and be in "/etc" without having 
to type "cd ../../etc". (You can see where this would be usefule from 
deep in the X11 hiearchy.)

RIR - Actually, ls handles 90% of RIR, but the one thing RIR does is 
allow you to see the contents of archived files.  It shows the archive 
name, then indents the contents.

I apologize in advance if any of this sounds stupid, but once you get 
used to something, it's hard to give it up!

Jeff.