Reimplement Debian patches to display screen session creation time and
sort the list of sessions by date.
Output example for 'screen -ls' command
---------------------------------------
There is a screen on:
14059.pts-7.1302amd64-head (08/15/23 10:02:52) (Attached)
1 Socket in /tmp/screens/S-root.
Reviewed by: cy
Differential Revision: https://reviews.freebsd.org/D41469
9 lines
263 B
C
9 lines
263 B
C
--- extern.h.orig 2023-08-15 08:44:47 UTC
|
|
+++ extern.h
|
|
@@ -512,3 +512,5 @@
|
|
/* layout.c */
|
|
extern void RemoveLayout __P((struct layout *));
|
|
extern int LayoutDumpCanvas __P((struct canvas *, char *));
|
|
+
|
|
+extern time_t SessionCreationTime __P((const char *));
|