Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNU Screen aktualisiert Statuszeile nicht
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Tue Jul 25, 2023 8:48 am    Post subject: GNU Screen aktualisiert Statuszeile nicht Reply with quote

Ich benutze GNU Screen auf einem Gentoo Server. Per ssh verbinde ich mich mit dem Host, starte dort Screen und springe in den verschiedenen Screen Terminals von dort weiter auf weitere SSH Hosts (alle Gentoo). Dabei ist es natürlich praktisch, wenn man in der Screen Status Line den Namen des Hosts (bzw user@hostname) sehen kann. Leider funktioniert das seit einem der letzten Updates nicht mehr.

Folgende Statuszeile habe ich seit Jahren genutzt:
Code:
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'


Weiß jemand, wo Screen die Info herbekommt? Sind das env variables?

app-misc/screen 4.9.0-r2
Ein Downgrade auf r1 hilft auch nicht.
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
shaiyan
n00b
n00b


Joined: 16 Oct 2017
Posts: 21
Location: Speyer

PostPosted: Sun Sep 03, 2023 7:24 pm    Post subject: Reply with quote

Wie wäre es mit sowas

# Hide hardstatus: ctrl-a f
bind f eval "hardstatus ignore"
# Show hardstatus: ctrl-a F
bind F eval "hardstatus alwayslastline
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Wed Sep 13, 2023 7:57 am    Post subject: Reply with quote

Hey,

ich meinte eher, dass innerhalb einer Screen Session die Titel der Fenster nicht aktualisiert werden. Beispiel hier: 0$ bash 1$ bash 2$ bash

Code:

[ hostname ][                   0$ bash  1-$ bash  2*$ bash                    ][ Load: 4.83 4.16 2.05 ][2023-09-13  9:54:13 ]


In allen drei Fenstern bin ich per ssh auf unterschiedliche weitere Hosts weitergesprungen. Ich fand das immer super praktisch, wenn dort dann steht: 0$ mailhost 1$ wwwhost etc
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum