View | Details | Raw Unified | Return to bug 1530
Collapse All | Expand All

(-)gpm-1.20.1/src/lib/liblow.c.vns (-3 / +1 lines)
Lines 205-212 int Gpm_Open(Gpm_Connect *conn, int flag Link Here
205
   Gpm_Stst *new = NULL;
205
   Gpm_Stst *new = NULL;
206
   char* sock_name = 0;
206
   char* sock_name = 0;
207
207
208
   option.consolename = NULL;
209
210
   gpm_report(GPM_PR_DEBUG,"VC: %d",flag);
208
   gpm_report(GPM_PR_DEBUG,"VC: %d",flag);
211
209
212
   if ((term=(char*)getenv("TERM")) && strncmp(term,"linux",5)) {
210
   if ((term=(char*)getenv("TERM")) && strncmp(term,"linux",5)) {
Lines 246-252 int Gpm_Open(Gpm_Connect *conn, int flag Link Here
246
   }
244
   }
247
   /*....................................... No xterm, go on */
245
   /*....................................... No xterm, go on */
248
246
249
   /* check whether we know what name the console is: what's with the lib??? */
247
   /* first time through, set the consolename, else use old value */
250
   if(checked_con == 0) {
248
   if(checked_con == 0) {
251
      option.consolename = Gpm_get_console();
249
      option.consolename = Gpm_get_console();
252
      checked_con++;
250
      checked_con++;

Return to bug 1530