URL:
  <https://savannah.gnu.org/bugs/?66272>

                 Summary: screenrc with screen 5.0.0
                   Group: GNU Screen
               Submitter: fmnardini
               Submitted: Sun 29 Sep 2024 09:08:28 AM UTC
                Category: User Interface
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.0
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 29 Sep 2024 09:08:28 AM UTC By: Franco Maria Nardini <fmnardini>
Dear all,

I am writing because my .screenrc that is working perfectly with screen 4.*,
it is now broken with screen 5.0.0.

I installed screen with Brew on Mac Os X Sequoia (v 15.0).

$ screen --version
Screen version 5.0.0 (build on 2024-08-28 19:08:22)

$ brew info screen
==> screen: stable 5.0.0 (bottled), HEAD
Terminal multiplexer with VT100/ANSI terminal emulation
https://www.gnu.org/software/screen/
Installed

below my .screenrc

---

### GNU Screen Configuration File
#
# Set TERM env variable
term screen-256color
#
# Suppress trailing blank lines when scrolling up in the history buffer.
compacthist on
#
# Enable activity monitoring for windows.
defmonitor on
# Deal with dead terminals.
defnonblock on
#
# Save lots of scrollback.
defscrollback 100000
#
# Ignore case when searching.
# ignorecase on
#
# Enable logging.
deflog on
#
# Logging and flushing to file every 1 sec.
logfile "screenlog.%S.%n"
logfile flush 1
#
# Enable timestamps in the log file.
logtstamp on
#
# Avoid startup message
startup_message off 
#
# Set the colors for screen messages to default on white on black
# sorendition ab cd  //  a,c=bg  b,d=fg
#
#  ab             c&d       c&d
#  00 normal       0 black   4 blue
#  1- invert       1 red     5 magenta
#  25 bright       2 green   6 cyan
#  3- 1+2          3 brown   7 silver
#
# * attributes are cumulative, so a=3 is invert+bright
# * colors use the same codes for bg & fg colors,
#   so cd=22 all you get is green, text unreadable
#
# examples:
#  00 02 - black bg (0), green fg (2), no attributes (00)
#  20 30 - brown bg (3), black fg (0), bright bg (2) -> turns yellow
#  35 74 - silver bg (7), blue fg (4), invert, bright bg (3), bright fg (5)
sorendition 00 09
#
# if something goes wrong automatically detach screen
autodetach on
#
# tells screen that utf8 encoding should be uses (in all + new windows)
defutf8 on
#
# turn off annoying vbell 'wuff! wuff!'
# vbell off
#
# lock after 1 hour of inactivity
# idle 3600 lockscreen
#
# start screensaver in a new screen after 30 min, reset idle
# #idle 1800 eval "screen -t screensaver cmatrix -u 10" "idle 0"
#
# max numbers of windows
maxwin 10
#
# set esc timeout to 0 ms. good when using finch. obs might disable esc
# maptimeout 0
#
# setting the SHELL variable
shell -$SHELL
#
# default title
shelltitle 'bash'
#
# enable mouse scrolling from inside the window
termcapinfo xterm* ti@:te@
#
### Status Line Configuration Options
#
# Always display the caption line. Displays the:
# %H - hostname
# %l - current load
# %Y-%m-%d - year-month-day
# %c:%s - 24 hours time
caption always 
caption string "%=%{= c}[%{=b d}%H%{= c}] [%{=b d}%l%{= c}] [%{=b d}%Y-%m-%d
%c:%s%{= c}]%="
#
# Force the status line to be the last line. Displays the:
# %-w - all window numbers and names up to the current window
# %n - current window number
# %t - current window title
# %+w - all window numbers and names following the current window
hardstatus on
hardstatus alwayslastline
hardstatus string "%{= dd}%=%-w%{= c}[%{=b d}%n %t%{= c}]%{= dd}%+w%="
#
### Key Bindings
#
# bind u windowlist -b
# bind K kill
# bind ; colon
#
# vim-style movement keys.
# bind j focus down
# bind k focus up
# bind t focus top
# bind b focus bottom
#
# unbind C-a q and C-a C-q and bind C-a q to quit
# bind ^q
# bind q

#bind c screen bash -ic 'HISTFILE=screenlog.bash_history.${STY}.${WINDOW}
bash'
#bind ^C screen bash -ic 'HISTFILE=screenlog.bash_history.${STY}.${WINDOW}
bash'
#screen -t "bash" 0 bash -ic
'HISTFILE=~/screenlog.bash_history.${STY}.${WINDOW} bash'









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66272>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to