Opened 4 years ago

Closed 4 years ago

#61919 closed defect (fixed)

screen: garbled statusline in Big Sur

Reported by: arjanvandervelde (Arjan van der Velde) Owned by: dgilman (David Gilman)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: michaelld (Michael Dickens)
Port: screen

Description (last modified by arjanvandervelde (Arjan van der Velde))

Hi!

I'm running into a strange issue with GNU screen built on Big Sur (intel). For some reason it does not correctly show the statusline. A binary compiled on last MacOS before Big Sur (same macports commit) works fine. I'm using the following screenrc:

startup_message off
mousetrack on
defmousetrack on
logfile /Users/vanderva/log/screenlogs/screenlog.%n
shell -/bin/bash
shelltitle shell
hardstatus on
hardstatus alwayslastline '%{= kK}[ %{G}%H %{K}][ %{G}%h %{K}][ %= %{= kw}%?%-Lw%?%{B}(%{W}%n*%f %t%?(%u)%?%{B})%{w}%?%+Lw%?%?%= %{K}%{B} %{w} ][ %l ][ %d %M %c ]%{K}'
defutf8 on
defscrollback 99999
msgwait 3
deflog on
logtstamp on
logtstamp after 3600
screen -t "mac" 0
log on
bind '+' resize
caption string "%?%F%{.R.}%?%3n %t%? [%h]%?"
layout save default
altscreen on
vbell off

see screenshots attached.

Attachments (2)

normal.png (143.8 KB) - added by arjanvandervelde (Arjan van der Velde) 4 years ago.
broken.png (144.7 KB) - added by arjanvandervelde (Arjan van der Velde) 4 years ago.

Download all attachments as: .zip

Change History (10)

Changed 4 years ago by arjanvandervelde (Arjan van der Velde)

Attachment: normal.png added

Changed 4 years ago by arjanvandervelde (Arjan van der Velde)

Attachment: broken.png added

comment:1 Changed 4 years ago by arjanvandervelde (Arjan van der Velde)

Description: modified (diff)

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to dgilman
Status: newassigned

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: statusline removed
Summary: garbled statusline in Big Surscreen: garbled statusline in Big Sur

comment:4 Changed 4 years ago by arjanvandervelde (Arjan van der Velde)

it looks like it's unable to figure out what to use for GetLoadav().

comment:6 Changed 4 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:7 Changed 4 years ago by Arjan van der Velde <arjan.vandervelde@…>

In f7a16a1940234e4a58977e1da8f92db6b03bc2bb/macports-ports (master):

screen: fix garbled statusline in Big Sur

add include to configure.ac to fix check for getloadavg(). this fixes issue #61919

comment:8 Changed 4 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.