From owner-freebsd-questions Mon Jul 29 21:56:30 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA17734 for questions-outgoing; Mon, 29 Jul 1996 21:56:30 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts17-line14.uoregon.edu [128.223.150.231]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA17723 for ; Mon, 29 Jul 1996 21:56:21 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id VAA00444; Mon, 29 Jul 1996 21:56:04 -0700 (PDT) Date: Mon, 29 Jul 1996 21:56:04 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: jlambert@trout.inet-images.com cc: questions@freebsd.org Subject: Re: LSs In-Reply-To: <199607300422.AAA11105@trout.inet-images.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 30 Jul 1996 jlambert@trout.inet-images.com wrote: > I have found that ls is annoying t > sorry, my backspace hey won't work... > I have found that ls is annoying as to the fact that it displays fddisplayers > directories in the same way as files (in the short listing). I have tried > to edit the source code but what is the variable to set coloer? > like TextATTr or something? > thanks. (The attribute to change to make Printf print color) Fix the backspace problem by giving the command stty erase ^H (that's shift-6 h, not backspace) You can get some indications through the -F flag to ls; this adds a / for dirs, * for executables, @ for symbolic links, and so on. This is how my home dir looks with ls -CF: #pico00320# current-supfile notscape.gif GDI dead.letter pari-1.39.03.tar.gz LPRng-2.2.1/ disks.ps public_html/ LPRng-2.2.1.tgz doom.tourney quickcam/ Mail/ fastvulc.au rbbslist.zip* News/ funny.txt removeuser.tar.gz README html/ resetpal Vat.info incoming/ respics/ XF86Config ipdb/ resweb/ Xservers@ mail/ rlogo1.gif addhost/ makedisk.txt saa.tar.gz app-defaults/ merlin.gif t/ article.txt merlinmockup.gif tcibox.gif at336cmd.txt metamail/ tcpip.c babel-3.5.tar.gz metamail.tar.gz tmp.txt bike/ named.boot uonet/ bin/ netdb-host1.gif vic-qcam.gz* boot.flp newgnats.info wr/ c4* newqc/ www@ camp96/ news-icon.gif xpostit.tar.gz cheats.txt newscript.txt cis/ notes If you want color, you'll have to install the 'color_ls' program, available from the ports or package collections. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major