Re: Trick to getting /usr/bin/logname to return a value?

2015-01-06 Thread Thomas Adam
On Tue, Jan 06, 2015 at 10:40:47PM +, John wrote: > Thank you for the suggestion. Yes, it is Linux. I have the > libutempter package installed, but upon spawning a new tmux session, That's not enough. You need to install the -dev package, and compile tmux to use it (it'll check for the utemp

Re: Trick to getting /usr/bin/logname to return a value?

2015-01-06 Thread John
- Original Message - > Which OS? If you're on Linux, install libutempter, this will then allow > the utmp database to be queried, and commands like w, who, and logname > should work. Thank you for the suggestion. Yes, it is Linux. I have the libutempter package installed, but upon spa

Re: Trick to getting /usr/bin/logname to return a value?

2015-01-06 Thread Thomas Adam
On Tue, Jan 06, 2015 at 10:09:11PM +, John wrote: > Under tmux 1.9_a, if I run /usr/bin/logname, I do not get my username > returned, just "logname: no login name." Is there a setting I need to > enable in ~/.tmux.conf or the like? Thanks! Which OS? If you're on Linux, install libutempter,

Trick to getting /usr/bin/logname to return a value?

2015-01-06 Thread John
Under tmux 1.9_a, if I run /usr/bin/logname, I do not get my username returned, just "logname: no login name." Is there a setting I need to enable in ~/.tmux.conf or the like? Thanks! -- Dive into the World of Parallel

Re: [PATCH 1/2] Fix broken reflowing after insert/delete characters

2015-01-06 Thread Nicholas Marriott
This was causing random crashes, so it's clearly still wrong and I've reverted back to before any of these changes. I don't have time to look into it further but maybe you want to have a look (with valgrind maybe?). Cheers On Mon, Dec 01, 2014 at 10:23:54PM +, Nicholas Marriott wrote: > I th

Re: [PATCH 1/1] kill-window: Unzoom window before looking up winlink

2015-01-06 Thread Nicholas Marriott
applied, thanks On Sun, Jan 04, 2015 at 02:22:08AM +, Thomas Adam wrote: > If the window that's being killed is in a zoomed state, unzoom it first, > otherwise there's no chance of finding the correct winlink, causing tmux to > exit. > --- > server-fn.c | 1 + > 1 file changed, 1 insertion