Summary: | sysutils/screen: 4.3 will not load 4.0 sessions due to default socket usage | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Bryan Drewery <bdrewery> |
Component: | Individual Port(s) | Assignee: | Cy Schubert <cy> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | arjan.gijsberts+freebsd, jcfyecrayz |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Bryan Drewery
2014-06-13 21:17:27 UTC
A commit references this bug: Author: cy Date: Sat Jun 14 04:07:56 UTC 2014 New revision: 357739 URL: http://svnweb.freebsd.org/changeset/ports/357739 Log: Make screen 4.0 compatible, prefer fifo over sockets. PR: 191017 Submitted by: bdrewery Changes: head/sysutils/screen/Makefile Committed. Thanks. After this update I cannot connect to my screen sessions anymore, just like when screen was updated to 4.2.1. The files are still listed in /tmp/screens/S-..., but screen -list doesn't find any. Is there any way to recover these sessions? After the previous fifo->sockets change broke my existing sessions, I started looking at the code to see if it could accept either to attach to existing sessions (and prefer one for new sessions). I didn't find an easy way in the existing code. The way it is structured, it makes it hard to do that (or I missed the simple way). Ideally, a patch to support both would be nice. A couple quick searches in the upstream resources (mailing list, bug reports) was not fruitful either (although there were complaints): http://savannah.gnu.org/bugs/?32471 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644788 When I hit the fifo->sockets update breakage, my workaround was to keep an old binary that used fifos. Another option would be that the port could build a bin/screen-fifo and bin/screen-socket. It'd be a bit of building gymnastics, and it's really a hack, but it seems easier than trying to find a patch to support both in the same binary. Closely related would be to add socket/fifo port options. [The other workaround was that now I use tmux more and am mostly happy with that, but still use screen in some cases.] Option added. Great, thanks to both of you. In the end I indeed rebuild the previous version of the port, which at least allowed me to properly close the sessions and avoid data loss. |