screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A couple of questions


From: Albaro Pereyra
Subject: A couple of questions
Date: Mon, 31 Dec 2018 19:10:53 -0800

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 "address@hidden %{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,

--

reply via email to

[Prev in Thread] Current Thread [Next in Thread]