Re: HEADS UP: <utmp.h> gone. All welcome <utmpx.h>. - ports/sysutils/screen and ports/sysutils/tmux not showing sessions

From: Ed Schouten <ed_at_80386.nl>
Date: Mon, 8 Feb 2010 09:03:47 +0100
Hi Vincent,

* Vincent Poy <vincepoy_at_gmail.com> wrote:
> It appears that after utmpx.h gone into effect, ports/sysutils/screen and
> ports/sysutils/tmux are not working correctly after a updated ports tree and
> building/installing the ports.  What basically happens is the screen/tmux
> sessions which basically use tty's don't show up on the system in w, who,
> finger.

I just rebuilt screen and doesn't seem to work indeed. The point is that
I wrote a perfectly fine patch for it and sent it to cy_at_, but he
committed a completely different version to the ports tree. You'd better
discuss this regression with him.

My version did work:

| (ed_at_dull) ~ $ tty
| /dev/pts/0
| (ed_at_dull) ~ $ w
|  9:02AM  up 5 days, 11:02, 1 user, load averages: 0.08, 0.08, 0.03
| USER       TTY      FROM                      LOGIN_at_  IDLE WHAT
| ed         pts/0    mekker.80386.nl           9:02AM     - w
| (ed_at_dull) ~ $ screen
| (ed_at_dull) ~ $ tty
| /dev/pts/2
| (ed_at_dull) ~ $ w
|  9:03AM  up 5 days, 11:02, 1 user, load averages: 0.05, 0.08, 0.03
| USER       TTY      FROM                      LOGIN_at_  IDLE WHAT
| ed         pts/2    mekker:S.0                9:03AM     - w

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Mon Feb 08 2010 - 07:03:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC