norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.4K
active users

#screen

6 posts6 participants0 posts today

A friend complained on IRC earlier this evening:

I… just want the screen to clear when I detach

“just” 😹

Worse, it sometimes works for them and sometimes not, and it doesn’t work in PuTTY.

But turns out there is a solution.

First I asked what $TERM is set to by PuTTY. (Simple echo $TERM on a shell before starting GNU #screen will suffice to find this out.) For the following steps, we’ll assume it says simply xterm and nothing special.

Do: infocmp -C xterm

Look for the “te” key, for example:

        :te=\E[?1049l\E[23;0;0t:ti=\E[?1049h\E[22;0;0t:\

The string we’re looking for is from te= to the next (unescaped) colon, so: \E[?1049l\E[23;0;0t

Append to that: \E[;H\E[J (or whatever is a suitable CLS string (this one is the generic one nōn-termcap/terminfo-aware applications use) for your terminal… actually, probably should be using the one cl=\E[H\E[2J from the infocmp output, too… so we’ll be using that now)

Then, add a new line to the end of your ~/.screenrc which says:

termcapinfo xterm te=\E[?1049l\E[23;0;0t\E[H\E[2J

That is, termcapinfo, space, the $TERM value, space, te=, the original “te” value from termcap, and finally the “cl” value from termcap.

Enjoy!

Been reading Careless People over the holiday weekend, Sara Wynn-Williams' memoir about her time at Facebook — and it's full of fascinating nuggets.

We all know the people who run tech companies don’t let their own children use screens. But here’s a twist: even senior staff at Facebook apparently hate using the platform. They rarely post. Imagine building something you can't stand to use...

Continued thread
And, sure enough, it works!!!
It was reasonably simple, but only because there was an already working driver for my #screen and also some drivers for similar screens supporting BWR, so I just needed to understand how to adapt and assemble the existing pieces together...
#esphome is awesomely documented and very clear in structure, this definitely helped!

Feeling thrilled and humble in equal measure to announce that I won the caption competition in the latest edition of the award-winning #Stage #Screen & #Radio' by #Bectu , the #tradeunion for people who work behind the scenes in the biz of show, and am now the grateful owner of a £15 book token which I will spend on my autobiography, when I've written it. And published it.

Here it is again in a shareable digital format for fans of #80s #TV.

alojapan.com/1229164/screen-me Screen meant to block tourist snaps of Mt. Fuji has holes in it #area #hole #Japan #JapaneseTown #MountFuji #MountFujiTopics #MountFuji #Mt.Fuji #NarrowSidewalk #NearPerfectShot #Number #official #photo #PopularSpot #screen #Tuesday #visitor #富士山 TOKYO — A Japanese town that erected a huge black screen last week in an attempt to stop tourists from snapping photos of Mt. Fuji and overcrowding the area has discovered holes in the screen and is…