From: Thomas McWilliams <tmcwill@holonet.net>
Newsgroups: comp.os.linux.announce
Subject: XC 4.1 patch 2 (bugfix)
Date: 20 Jul 1993 09:17:50 -0400
Approved: linux-announce@tc.cornell.edu (Matt Welsh)
Message-ID: <22gr9u$67i@theory.TC.Cornell.EDU>

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

tmcwill@holonet.net 
thomas.mcwilliams@f615.n109.z1.fidonet.org

   -----------------------------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: linux-announce@tc.cornell.edu
