Subject: XC 4.1 patch 2 (bugfix)
From: Thomas McWilliams <[email-masked]>
Date: 20 Jul 1993 09:17:50 -0400
Newsgroups: comp.os.linux.announce

There is a bug in XC 4.1 character translation when transmitting
characters above 0x7f. The patch below fixes the bug. The fixed
archive with binaries has been uploaded to tsx-11.mit.edu and 
sunsite.unc.edu as  xc-4.1p2.tar.gz

  ---Thomas

[email-masked] 
[email-masked]

   -----------------------------8<----------------------------------

*** xcterm.c~	Thu Jul  8 04:48:38 1993
--- xcterm.c	Tue Jul 20 02:51:25 1993
***************
*** 395,403 ****
              	c = '\b' ; 
  #endif
  		default:	/* just send the character to the port */
- 			sendbyte(c);
  			if (hdplxflag)
  				fputc(c,tfp);
  			break;
  		}
  		todir = FALSE;
--- 395,407 ----
              	c = '\b' ; 
  #endif
  		default:	/* just send the character to the port */
  			if (hdplxflag)
  				fputc(c,tfp);
+ #ifdef linux
+ 			if( dosmode )
+ 				c = codepc[ (unsigned) c ] ; 
+ #endif
+ 			sendbyte(c);
  			break;
  		}
  		todir = FALSE;

-- 
Send submissions for comp.os.linux.announce to: [email-masked]