|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
no colors if starting screen in detached mode
Hi,
there's no colors in my screen if i'm reattaching to session which was started with -d -m, e.g. screen -d -m mc. This is only happening on freebsd. How do i start screen in detached mode but with colors? |
|
|||
xterm
|
|
||||
Screen apparently does some horrible TERM mangling and breaks a lot of colour-based terminals. There's a thread about this on one of the freebsd-stable@ mailing lists last month with some in-depth analysis of just how crappy screen's TERM handling really is (Subject: "csh Cannot open /etc/termcap after starting "screen"")
If you want a good, solid, working, non-TERM-mangling multiplexer, which much nicer default features than screen, then switch to tmux. |
|
|||
+1 for switching to tmux.
|
|
|||
Everyone says 'switch to tmux', yeah, yeah, i know, tmux is better and so on, but i still wanna use screen and i'm sure there must be a way to start it without broking those colors. Everything's fine with openbsd or centos, this terminal issue only occur on freebsd...
|
|
||||
What is the value of your $TERM environment variable in screen?
you can get this with: % echo $TERM
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
||||
This assumes you're a) Using some form of bourne shell, b) You're using ~/.profile to set it up and c) That the TERM isn't modified afterwards in another file or by an application (such as screen).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
||||
Quote:
Code:
$ echo $SHELL /bin/ksh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
vsftpd not starting | map7 | FreeBSD Ports and Packages | 1 | 10th June 2010 09:51 AM |
change screen saver in text mode | mfaridi | FreeBSD General | 2 | 29th October 2008 05:14 AM |
mirror device detached on large file copy | lil_elvis2000 | FreeBSD General | 24 | 27th June 2008 02:56 PM |
Samba NOT STARTING | pcfxer | FreeBSD General | 11 | 13th May 2008 09:29 AM |