Re: [PATCH] Give descriptive message when no sessions present

2015-04-15 Thread Karthik K
sessions, for tmux the server is > "the process that contains the sessions" by definition, we don't need to > say so explicitly. > > > On Wed, Apr 15, 2015 at 08:20:26PM +0530, Karthik K wrote: > >Although the explanation for what a server is, is given

Re: [PATCH] Give descriptive message when no sessions present

2015-04-15 Thread Karthik K
e man page. > > > On Wed, Apr 15, 2015 at 08:06:58PM +0530, Karthik K wrote: > > --- > > client.c | 11 --- > > 1 file changed, 8 insertions(+), 3 deletions(-) > > > > diff --git a/client.c b/client.c > > index 8e55640..ea53ca6 100644 > > ---

[PATCH] Give descriptive message when no sessions present

2015-04-15 Thread Karthik K
--- client.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/client.c b/client.c index 8e55640..ea53ca6 100644 --- a/client.c +++ b/client.c @@ -252,7 +252,7 @@ client_main(int argc, char **argv, int flags) if (shell_cmd == NULL && environ_path != NULL &&

[PATCH] Give descriptive message when no sessions present

2015-04-15 Thread Karthik K
When no sessions are present, "tmux ls" now displays an error "Falied to connect: Connection Refused". This is confusing and creates an impression that tmux is present but refusing connections. The patch makes tmux display a message indicating that sessions may not be pr