[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 present. Karthik K (1): Give

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

2015-04-15 Thread Karthik K
, 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 --- a/client.c +++ b/client.c @@ -252,7 +252,7 @@ client_main(int argc, char **argv, int flags

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

2015-04-15 Thread Karthik K
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 in the man page, the argument still holds. The error message just makes you think