--- gpm-1.20.1/src/lib/liblow.c.vns 2007-09-11 17:44:27 +0400 +++ gpm-1.20.1/src/lib/liblow.c 2007-09-11 17:54:41 +0400 @@ -205,8 +205,6 @@ int Gpm_Open(Gpm_Connect *conn, int flag Gpm_Stst *new = NULL; char* sock_name = 0; - option.consolename = NULL; - gpm_report(GPM_PR_DEBUG,"VC: %d",flag); if ((term=(char*)getenv("TERM")) && strncmp(term,"linux",5)) { @@ -246,7 +244,7 @@ int Gpm_Open(Gpm_Connect *conn, int flag } /*....................................... No xterm, go on */ - /* check whether we know what name the console is: what's with the lib??? */ + /* first time through, set the consolename, else use old value */ if(checked_con == 0) { option.consolename = Gpm_get_console(); checked_con++;