Re: xterm farbig

From: Marek Opielka <marek(at)opielka.org>
Date: Wed, 11 Sep 2002 20:02:04 +0200

On Wed, Sep 11, 2002 at 07:19:41PM +0200, Martin Hasenbein wrote:

Hallo,

>
>
> Welche Shell benutzt Du denn? Die Syntax ist auch ein wenig von der
> Shell abhaengig.

Meine Shell ist csh.

>
> So habe ich es in meiner .bash_profile und .bashrc eingetragen:
>
> TERM="xterm-color"; export TERM;
>
> Die .bash_profile wird beim einloggen, in das System,, ausgelesen.
> Kann auch eine .profile sein. Die .bashrc wird hergenommen, wenn
> Du eine "Sub-Shell" startest. Also auch zum Beispiel, wenn Du in
> einem offenen xterm "xterm &" eingibst.

Danke für deine Erklärung, die Unterschiede waren mir nicht bekannt.
Ich habe das wir beschrieben in die dateien eingetragen, es hat aber
leider nix geholfen.

>
> > Jetzt bin ich mir nicht sicher ob ich alles installiert habe.
>
> xyerm-color wird mit dem X-System zusammen installiert. Falls Du
> X nutzt, solltest Du das auch haben.

Ja ich habe X.
Hier ist noch meine .profile, vielleicht ist hier was falsch.

# $FreeBSD: src/share/skel/dot.profile,v 1.19.2.1 2001/08/01 17:24:32
# obrien Exp $
#
# .profile - Bourne Shell startup script for login shells
#
# see also sh(1), environ(7).
#

# remove /usr/games and /usr/X11R6/bin if you want
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:$HOME/bin;
export PATH

# Setting TERM is normally done through /etc/ttys. Do only override
# if you're sure that you'll never log in via telnet or xterm or a
# serial line.
# Use cons25l1 for iso-* fonts
# TERM=cons25; export TERM
BLOCKSIZE=K; export BLOCKSIZE
EDITOR=vim; export EDITOR
PAGER=more; export PAGER

TERM="xterm-color"; export TERM;

# set ENV to a file invoked each time sh is started for interactive
# use.
ENV=$HOME/.shrc; export ENV

[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips

 

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 11 Sep 2002 - 20:02:41 CEST

search this site