Hi,

I am using the latest version of MacOS with the latest version of emacs
26.1. I am also running the latest version of screen 4.06.02 on a Freebsd
server on 11.2-Release-p6 with similar results that leads me to believe
there is something wrong with the settings.

My issue is that the emacs zenburn-theme is not the same when used under
screen. The background color changes and a lot of the theme seems to be
overwritten by the attrcolor attributes. Is there a workaround? Or is this
just a feature of screen?

Here is the config that I am using on both scenarios.

## Add support for 256 colours

term "screen-256color"


## terminfo and termcap for nice 256 color terminal

## allow bold colors - necessary for some reason

attrcolor b ".I"

attrcolor i ".I"

attrcolor u ".I"


## tell screen how to set colors. AB = background, AF=foreground

termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'


## erase background with current bg color

defbce "on"


## I want more scrollback

defscrollback 20480



## Set the caption to show:

##   current window

##   other windows

##   date/time

caption always "%{Rk}@%H%{kk} %{Yk} %n %t %{-b -s}%{kk} %{wb}%W %= %{kk}
%{wB} %c %D %d %M "

caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c"


## we don't need this since we use -U to start screen anyway.

# defutf8 on

# hardstatus alwayslastline

# hardstatus string '%{= kG}[ %{G}%H
%{g}][%=%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=%{g}][%{B}%Y-%m-%d
%{g}]'


encoding UTF-8 UTF-8

defencoding UTF-8


## don't use 0, just 1-9

bind c  screen 1

bind ^c screen 1

bind 0 select 10

My second question is, regarding host and server screen sessions. What is
the recommended way of using a host session of screen with a server side
session of screen besides changing the key bindings.

Please advise,

Thanks,

-- 
Albaro Pereyra
Software Engineer
11561 Haynes St.
<https://www.google.com/maps/place/11561+Haynes+St,+North+Hollywood,+CA+91606>
N. Hollywood, CA 91606
<https://www.google.com/maps/place/11561+Haynes+St,+North+Hollywood,+CA+91606>
+1 (818) 644-1542 <8186441542>
2albaropere...@gmail.com
_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to