From owner-freebsd-questions Tue May 26 23:13:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA08055 for freebsd-questions-outgoing; Tue, 26 May 1998 23:13:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cybertouch.org (beef@cybertouch.org [209.47.145.231]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA07978 for ; Tue, 26 May 1998 23:13:18 -0700 (PDT) (envelope-from beef@cybertouch.org) Received: from localhost (beef@localhost) by cybertouch.org (8.8.8/8.8.8) with SMTP id CAA00864; Wed, 27 May 1998 02:11:59 -0400 (EDT) (envelope-from beef@cybertouch.org) Date: Wed, 27 May 1998 02:11:58 -0400 (EDT) From: Lanny Baron To: drifter@stratos.net cc: freebsd-questions@FreeBSD.ORG Subject: Re: problem alias's in Xwindows (from .profile) In-Reply-To: <19980526165828.B20319@stratos.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 26 May 1998 drifter@stratos.net wrote: > On Tue, May 26, 1998 at 02:25:33AM -0400, Lanny Baron wrote: > > Hello, > > > > I was wondering if anyone knows how to get colorls working in an xterm. I have > > my alias set up in .profile as ls='colorls -FG' and in .xinitrc the xterm is as follows: > > Did you try: > > $ export TERM=xterm-color # For /bin/sh and friends > > or > > % setenv TERM xterm-color # For /bin/csh or tcsh > > -drifter > Hi, Thanks for the response to my problem. To answer you, I use bash or bash2. But in my .login file I have the following line: TERM=xterm-color; export TERM alias x='exit' alias ls='colorls -FG' alias ll='colorls -FGl' alias la='colorls -FGal' In addition, in anything but the first 2 xterm windows that open when starting X, the colorls as well as an alias: alias ts='telnet shell.tht.net' will not work. If you can help me I would be most grateful. Again thanks for your help in advance!! Regards.... lanny * Lanny Baron * In the Beginning He Said "Let there be Light" | Have you had your BEEF today? | He saw it was good. A few days later He said | http://www.tht.net/~beef | "Let there be computers for mankind" And the * * PC was made. He then turned on His heavenly | Want a great operating system? | pc and the heavenly monitor displayed | try FreeBSD, it's remarkable! | "Welcome to FreeBSD" And he jumped for joy. * http://www.FreeBSD.org * &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message