Thu Jun 20 18:55:59 2002 Michael Jennings (mej)

Better fix from Azundris.


SVN revision: 6327
This commit is contained in:
Michael Jennings 2002-06-20 22:59:04 +00:00
parent 711fbd54b1
commit 5cc41f7340
3 changed files with 6 additions and 2 deletions

View File

@ -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 Fixed the updating of the status bar for Escreen. Also changed strdup
to STRDUP for libast. to STRDUP for libast.
---------------------------------------------------------------------- ----------------------------------------------------------------------
Thu Jun 20 18:55:59 2002 Michael Jennings (mej)
Better fix from Azundris.
----------------------------------------------------------------------

View File

@ -2820,7 +2820,7 @@ ns_parse_screen(_ns_sess * screen, int force, int width, char *p)
screen->timestamp = 1; screen->timestamp = 1;
D_ESCREEN(("parse_screen: resetting screen...\n")); D_ESCREEN(("parse_screen: resetting screen...\n"));
} else { } 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); ret = ns_upd_stat(screen);
} }
FREE(p); FREE(p);

View File

@ -54,7 +54,7 @@
#define NS_SCREEN_UPDATE "\x01w" #define NS_SCREEN_UPDATE "\x01w"
#define NS_SCREEN_VERSION "\x01v" #define NS_SCREEN_VERSION "\x01v"
#define NS_SCREEN_SESSION "\x01:sessionname\r" #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_SCREEN_PRVS_REG "\x01:focus up\r"
#define NS_DFLT_SSH_PORT 22 #define NS_DFLT_SSH_PORT 22