From 5cc41f73400be017b321bc3456a5b5a81f075ab6 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Thu, 20 Jun 2002 22:59:04 +0000 Subject: [PATCH] Thu Jun 20 18:55:59 2002 Michael Jennings (mej) Better fix from Azundris. SVN revision: 6327 --- ChangeLog | 4 ++++ src/libscream.c | 2 +- src/screamcfg.h | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99d6829..017c0e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4726,3 +4726,7 @@ Thu Jun 20 18:32:22 2002 Michael Jennings (mej) Fixed the updating of the status bar for Escreen. Also changed strdup to STRDUP for libast. ---------------------------------------------------------------------- +Thu Jun 20 18:55:59 2002 Michael Jennings (mej) + +Better fix from Azundris. +---------------------------------------------------------------------- diff --git a/src/libscream.c b/src/libscream.c index 7ae6f10..7ed353c 100644 --- a/src/libscream.c +++ b/src/libscream.c @@ -2820,7 +2820,7 @@ ns_parse_screen(_ns_sess * screen, int force, int width, char *p) screen->timestamp = 1; D_ESCREEN(("parse_screen: resetting screen...\n")); } else { - D_ESCREEN(("parse_screen: nothing to do in exception, updating anyways...\n")); + D_ESCREEN(("parse_screen: error, we should never get here\n")); ret = ns_upd_stat(screen); } FREE(p); diff --git a/src/screamcfg.h b/src/screamcfg.h index 0dedc82..f4504a8 100644 --- a/src/screamcfg.h +++ b/src/screamcfg.h @@ -54,7 +54,7 @@ #define NS_SCREEN_UPDATE "\x01w" #define NS_SCREEN_VERSION "\x01v" #define NS_SCREEN_SESSION "\x01:sessionname\r" -#define NS_SCREEN_INIT "\x01:hardstatus lastline \"\\005w\"\r\x01:hstatus \"\\005w\"\r\x01:defhstatus \"\\005w\"\r\x01:msgminwait 0\r\x01:msgwait 1\r\x01:nethack off\r\x0c" NS_SCREEN_UPDATE NS_SCREEN_VERSION NS_SCREEN_SESSION +#define NS_SCREEN_INIT "\x01:msgminwait 0\r\x01:msgwait 0\r\x01:hardstatus lastline \"%w\"\r\x01:defhstatus \"\\005w\"\r\x01:hstatus \"\\005w\"\r\x01:nethack off\r\x0c" NS_SCREEN_UPDATE NS_SCREEN_VERSION NS_SCREEN_SESSION #define NS_SCREEN_PRVS_REG "\x01:focus up\r" #define NS_DFLT_SSH_PORT 22