bugGNU Screen - Bugs: bug #66272, screenrc with screen 5.0.0

 
 

bug #66272: screenrc with screen 5.0.0

Submitter:  Franco Maria Nardini <fmnardini>
Submitted:  Sun 29 Sep 2024 09:08:28 AM UTC
   
 
Category:  User Interface Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  5.0.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 01 Oct 2024 02:53:19 PM UTC, comment #3: 

Hi all,

I fixed the .screenrc file according to the man page so as to be compliant with screen 5.0.0.

I just noticed the %l STRING ESCAPE (it should report the system load) is not working.

Any confirmation of this problem?

Thanks.

Franco Maria


comment #2:

>
> comment #1:
> > Thanks for report.
> >
> > Well, yes. First, what I see, "maxwin 10". This command was removed in 5.0.0.
> > Second, the hardstatus escapes were also changed.
> > For more info please see the man page.
>
>
> Thanks Alexander! I should have checked the man page.
>
> Thanks!
>
> FM

Franco Maria Nardini <fmnardini>
Mon 30 Sep 2024 08:23:42 AM UTC, comment #2: 


comment #1:

> Thanks for report.
>
> Well, yes. First, what I see, "maxwin 10". This command was removed in 5.0.0.
> Second, the hardstatus escapes were also changed.
> For more info please see the man page.



Thanks Alexander! I should have checked the man page.

Thanks!

FM

Franco Maria Nardini <fmnardini>
Sun 29 Sep 2024 10:08:24 AM UTC, comment #1: 

Thanks for report.

Well, yes. First, what I see, "maxwin 10". This command was removed in 5.0.0.
Second, the hardstatus escapes were also changed.
For more info please see the man page.

Alexander Naumov <anaumov>
Group administrator
Sun 29 Sep 2024 09:08:28 AM UTC, original submission:  

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'


Franco Maria Nardini <fmnardini>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anaumov (Updated the item)
  • -email is unavailable- added by fmnardini (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-09-29 anaumov StatusNone Confirmed

    Back to the top

    Powered by Savane 3.14-573e.
    Corresponding source code