You are not logged in.
have been using screen a lot lately, especially with the wonderful byobu package. but i have a bit of a strange issue. 256 colors works great if i'm using ssh to access the box. but if i'm physically on it, 256 colors does not work. i don't see the point of using screen inside of X11, so we're talking about screen being launched from the command line right after login.
Offline
You need to use a framebuffer.
Offline
I'm using KMS since I have an Intel card. So does this basically mean that if I want to be able to use X, I have to keep KMS, but if I want to get 256 colors in the console that I need to use a framebuffer? effectively making me choose one or the other?
Offline
Just a shot in the dark, but what happens if you disable KMS? (intel.modeset=0 on kernel line if you're running i915)
Last edited by gonX (2010-06-05 03:06:01)
since 2009
Offline
i'm experiencing some odd behavior with the i915.modeset in the kernel line. if left out, set to 0, or set to 1, nothing changes when i'm logged on directly. but when i ssh into the box, it's having a strange effect. if it is set to 0 or left out, i get full 256 color support, but if i set it to 1 i only get 256 colors in some places. for instance, my screen hardstatus shows up correctly, but vim colors are mangled.
Last edited by yagmot (2010-06-05 05:15:36)
Offline
bump. any ideas?
Offline
ISo does this basically mean that if I want to be able to use X, I have to keep KMS, but if I want to get 256 colors in the console that I need to use a framebuffer? effectively making me choose one or the other?
No, no, and no.
If you're using KMS you are using the kms own framebuffer.
If I recall correctly you can't use the normal escape sequences there though (\033[38;5;100m), there were some special ones invented...
Offline
If I recall correctly you can't use the normal escape sequences there though (\033[38;5;100m), there were some special ones invented...
So does that mean that we can't use any ncurses program with full color
support? I've been unsuccessful at finding any information about this.
Offline
dmz wrote:If I recall correctly you can't use the normal escape sequences there though (\033[38;5;100m), there were some special ones invented...
So does that mean that we can't use any ncurses program with full color
support? I've been unsuccessful at finding any information about this.
I'm not sure - but, uh, it should be possible.
Maybe... try fbterm. Be warned though, when I did, I got all sorts of strange
problems (kernel panic, for example ).
You can however use colorschemes in the TTY... you can check out my halfhearted
project here: http://github.com/trapd00r/ttycolor
Offline
The solution that I use is to install ratpoison. Any terminal (konsole, xterm, aterm, rxvt, terminal) program run from within X correctly shows the 256colors. It will also work from ssh.
I think the problem is in the way the TTY's are being initiated by the sysinit process of ARCH. Because ssh shows 256, so does terminals within X. But screen will not show 256colors if run from console. Screen over ssh or within Xterm shows 256 fine. It seems all the other terminal capabiliites (blink, bold, underline, reverse, civvis, cnorm, etc..) work fine.
I have been unable to get 256colors working on 2.6.34-ARCH ( tried with intel i915 pc, ACER Aspire 3000 SISFB, and ATI Radeon PC's) from the console.
I have tried fbgetty, fgetty, mingetty, agetty. I have used framebuffers, sisfb, fbcon, inteldrmfb, fbdev, vesafb, and uvesafb trying 1 of the 6 TERM's that I use (mostly xterm-256color and putty-256color).
Stumped.
Offline
fbterm works fine for me, with the added bonus that I get to use better fonts.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline