Re: screen and emacs

From: Kaoru Kusachi <tika_at_st.rim.or.jp>
Date: Thu, 30 Mar 2023 09:46:11 UTC

 FreeBSD
 (FreeBSD 11.4 + xorg 7.7 + xfce4-wm 4.16 + emacs 27.2 +
screen 4.8.0)  xfce-terminal  screen  emacs -nw 


 emacs -nw  screen
 emacs 
 background color foreground color


emacs  screen
.emacs 

;;
;; mode-line-color (screen)
;;
(when (string= "TERM=screen"
     (format "%s" (nth 0 (nth 0 (list
         (mapcan #'(lambda (e) (and (string-match "^TERM=" e) (list e)))
             initial-environment))))))
   (progn
     (set-face-foreground 'mode-line "black")
     (set-face-background 'mode-line "darkslategrey")
   )
)

emacs  mode-lineemacs
 screen

#  emacs -nw --color=never 

mode-line  M-x list-colors-display 




On 2023.03.30 11:24,  wrote:
> 
> 
> screen TERM  screen 
> 
> 
>> screen  emacs( Nemacs )30
>> 10.2
>> 
> 
>  "screen"+"emacs -nw" 
> 
> 
> SunOS4.1kterm
> FreeBSD1.1.5.1kterm
> FreeBSD2.2.6kterm
> FreeBSD4.4kterm
> FreeBSD4.7kterm
> FreeBSD5.5kterm
> FreeBSD6.4kterm
> FreeBSD7.4kterm
> FreeBSD9.1konsole
> FreeBSD9.2konsole
> FreeBSD9.2xfce-terminal
> FreeBSD10.2konsole
> FreeBSD10.2xfce-terminal
> 
> FreeBSD4.4  emacs 
> emacs () mule mule -nw
> 
> 
> FreeBSD13.1 version up 
> 10
> .screenrc screen termcap 
> screen emacs ncurses(3X)
> 
> 
> Wed, 29 Mar 2023 20:51:00 +0900
> Hajimu UMEMOTO <ume@mahoroba.org> writes:
> 
>>  screen  TERM 
>> Konsole 
> 
> 
> 
> 
>> xterm screen 
>>  screen 
>> term  TERM  xterm 
>>
>> 	term xterm
>>
>>  ~/.screenrc 
> 
> 
> 
>          env TERM=xterm emacs -nw
> 
> 
> 
>> xterm-256color 
>>
>> TERM=screen 
>>  emacs 
>>
>> --
>>  
>> ume@mahoroba.org  ume@FreeBSD.org
>>   I hate Modula-3 :-)
> 
> --------
>    
>  masa@amogha.jp
> 

-- 
 (Kaoru Kusachi) tika@st.rim.or.jp
Nakno,Tokyo,Japan.