From owner-freebsd-questions Wed May 27 09:16:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA00834 for freebsd-questions-outgoing; Wed, 27 May 1998 09:16:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA00798 for ; Wed, 27 May 1998 09:16:03 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.169]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Wed, 27 May 1998 18:12:35 +0200 Received: from neuron.webmore.de (malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) with ESMTP id SAA02356; Wed, 27 May 1998 18:13:46 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 27 May 1998 18:13:46 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Lanny Baron Subject: Re: problem alias's in Xwindows (from .profile) Cc: freebsd-questions@FreeBSD.ORG, drifter@stratos.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-May-98 Lanny Baron wrote: > 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. > 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: How about "man bash" ??? There you will find out, that bash uses ~/.bashrc and ~/.bash_profile as startup-scripts. ~/.bash_profile for login-shells ~/.bashrc for non-login-shells > TERM=xterm-color; export TERM put this in ~/.bashrc > alias x='exit' > alias ls='colorls -FG' > alias ll='colorls -FGl' > alias la='colorls -FGal' this goes in ~/.bash_profile Malte. >> > 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 ---------------------------------- E-Mail: Malte Lance Date: 27-May-98 Time: 17:56:16 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message