Possibly this looks at utmp so you will need to build tmux with libutempter
for it to work.



On Wed, 18 Sep 2019, 18:38 Daeghan Elkin, <[email protected]> wrote:

> Hello, I seem to be running into an issue with TMUX when I try to run the
> 'who am i' or 'who -m' command. A quick google search as too why this
> happens resulted in this
> <https://stackoverflow.com/questions/27400059/tmux-breaks-who-am-i-who-m> from
> stack overflow stating this used to be an issue but was fixed in version
> 2.0. I read through the change notes for 2.0 and failed to find any mention
> of it, so I'm wondering if it was actually addressed. I also didn't notice
> any Git issues about this so I'm wondering if it's my setup. I tested
> without a configuration file and I still can't get output. I'm accessing a
> server via SSH, and then connecting to the TMUX session so that may have an
> affect on it. All environment variables are correct, $TERM is
> xterm-256color outside TMUX, screen inside. Just running 'who' outputs
> results so it must have something to do with not being able to see the user
> within the TMUX session. Also, running 'whoami' returns the correct result.
> I have a few scripts that rely on the information provided by 'who am i'
> that can no longer run in a TMUX session. Let me know if you need more
> information.
>
> Thanks,
>
> Daeghan
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/tmux-users/CAOrM%3DLSG7aTVSYr8MNK7dGYEL3apYxjaAFZDA9OG7SLe5Cj7Rw%40mail.gmail.com
> <https://groups.google.com/d/msgid/tmux-users/CAOrM%3DLSG7aTVSYr8MNK7dGYEL3apYxjaAFZDA9OG7SLe5Cj7Rw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcHOJZ_uWZ65BSqYvEw5p%3DprbWgxQtcyZYADZZTtHFgmkg%40mail.gmail.com.

Reply via email to