byobu+tmux 2 'who am i' command does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Using Ubuntu 14.04.03 LTS
There was a bug in older version of tmux prior to version 2 where 'who am i' would return blank from within byobu/tmux
I used the repository ppa:byobu/ppa to upgrade the version of tmux and byobu.
The command 'who am i' now works from within byobu, but has stopped working from a normal terminal.
I need the output from 'who am i' to work from both the terminal and byobu. Any ideas on how to fix it?
strace tail output from tmux2 running who -m:
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_
fstat(0, {st_mode=
readlink(
stat("/dev/pts/7", {st_mode=
close(1) = 0
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
strace tail from tmux1.8.5 running who -m:
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_
fstat(0, {st_mode=
readlink(
stat("/dev/pts/1", {st_mode=
stat("/dev/pts/1", {st_mode=
open("/
fstat(3, {st_mode=
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(3, "TZif2\
lseek(3, -2338, SEEK_CUR) = 1323
read(3, "TZif2\
close(3) = 0
munmap(
fstat(1, {st_mode=
mmap(NULL, 4096, PROT_READ|
write(1, "shakeels pts/1 2016-04-28"..., 46shakeels pts/1 2016-04-28 15:45 (:0.0)
) = 46
close(1) = 0
munmap(
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
I'm sorry, I have no idea why "who am i" doesn't work outside of Byobu (but I have confirmed that is the case). I just can't fix that for you :-)