Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 1996 02:22:54 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru>
To:        sos@freebsd.org (Soren Schmidt), current@freebsd.org (FreeBSD-current)
Subject:   Syscons 8bit chars mouse paste fix
Message-ID:  <199606252222.CAA02358@nagual.ru>

next in thread | raw e-mail | index | archive | help
8bit chars not passed without this fix (l_rint expands sign bit):

*** syscons.c.bak	Tue Jun 25 15:06:37 1996
--- syscons.c	Tue Jun 25 15:20:01 1996
***************
*** 3260,3266 ****
  {
      if (scp->status & MOUSE_ENABLED) {
  	struct tty *tp;
! 	char *ptr = cut_buffer;
  
  	tp = VIRTUAL_TTY(get_scr_num());
  	while (*ptr)
--- 3260,3266 ----
  {
      if (scp->status & MOUSE_ENABLED) {
  	struct tty *tp;
! 	unsigned char *ptr = cut_buffer;
  
  	tp = VIRTUAL_TTY(get_scr_num());
  	while (*ptr)

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606252222.CAA02358>