You are not logged in.

#1 2004-08-04 17:47:39

oldman
Member
Registered: 2003-12-30
Posts: 13

rxvt with 256 colours

excellent for vim users, just set t_Co=256 and you're away

pkgname=rxvt
pkgver=2.7.10
pkgrel=1
pkgdesc="A colour vt102 terminal emulator"
depends=('xfree86')
source=(ftp://ftp.rxvt.org/pub/rxvt/$pkgname-$pkgver.tar.gz)
md5sums='302c5c455e64047b02d1ef19ff749141'
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-256-color --enable-everything --with-term=linux
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Offline

#2 2004-08-04 19:37:02

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: rxvt with 256 colours

Just curious, but why --with-term=linux? Does that solve the TERM=linux problem? I had to set TERM to 'rxvt' manually before it worked. If so, it may be worth a bug report for the Arch rxvt pkgbuild.

depends=('xfree86')

Now the choice is between xfree86 and xorg it seems that that should be 'x-server'.

Offline

#3 2004-08-04 21:02:05

oldman
Member
Registered: 2003-12-30
Posts: 13

Re: rxvt with 256 colours

TERM=linux gave me the best colours so i thought to set it as default

and u're right that should be x-server

Offline

#4 2004-08-04 22:28:56

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: rxvt with 256 colours

If you want to change your TERM variable when you start some type of term in X, you use resources.

xterm*termName: xterm-xfree86

xterm-xfree86 is the best choice for an xterm, I never really looked at the options for rxvt terms.

Put that line in a file like ~/.Xdefaults, then in your .xinitrc have an xrdb ~/.Xdefaults somewhere near the top.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#5 2004-08-04 22:35:27

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: rxvt with 256 colours

I get really weird characters in the kernel's menuconfig if I use TERM=linux, and some other curses based programs have problems too. Perhaps it's a console font issue or something, no idea.

Offline

Board footer

Powered by FluxBB