head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.1.0.46 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.44 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.42 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.40 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.38 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.36 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.34 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.32 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.30 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.28 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.26 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.24 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.22 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.20 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.18 pkgsrc-2008Q1:1.1.0.16 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.14 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.12 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.10 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.8 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.6 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.4 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.2 pkgsrc-2006Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2011.08.01.09.30.33; author adam; state dead; branches; next 1.1; 1.1 date 2006.06.08.01.12.45; author minskim; state Exp; branches; next ; desc @@ 1.2 log @Changes 2.5: * Handle device reconnected more smoothly (USB-serial dongles) * Translation updates: Danish * Several fixes (see ChangeLog) Changes 2.4: * Add -D and -b options to specify device and baud rate on the command line. * Do character conversion between local and remote side (-R option) * Added indonesian translation * Compatibility fixes for recent build environments * Remove code that handled very old systems Changes 2.3: * Fix build on Mac OS X * New version of the dial format to be little and big endian as well as 32/64 bit safe * Support more baud rates * Handle device disappearances (e.g. serial-USB device unplug) * Various build and other fixes Changes 2.2: * Vietnamese translation added * Norwegian translation added * Traditional chinese translation added * Swedish translation added * Romanian translation added * default to 8bit mode if LANG or LC_ALL are set * default baud rate set to 115200 * Various code cleanups and fixes @ text @$NetBSD: patch-ai,v 1.1 2006/06/08 01:12:45 minskim Exp $ --- src/window.c.orig 2003-05-16 20:06:26.000000000 +0000 +++ src/window.c @@@@ -62,7 +62,7 @@@@ static char *CE, *Al, *Dl, *AL, *DL; static char *CS, *SF, *SR, *VB, *BL; static char *VE, *VI, *KS, *KE; static char *CD, *CL, *IC, *DC; -static char *BC, *CR, *NL; +static char *mcBC, *CR, *NL; #if ST_LINE static char *TS, *FS, *DS; #endif @@@@ -322,8 +322,8 @@@@ int x, y; else if (NL != CNULL && x == 0 && x == curx && y == cury + 1) outstr(NL); #endif - else if (BC != CNULL && y == cury && x == curx - 1) - outstr(BC); + else if (mcBC != CNULL && y == cury && x == curx - 1) + outstr(mcBC); else outstr(tgoto(CM, x, y)); curx = x; @@@@ -1918,7 +1918,7 @@@@ int attr; CL = tgetstr("cl", &_tptr); IC = tgetstr("ic", &_tptr); DC = tgetstr("dc", &_tptr); - BC = tgetstr("bc", &_tptr); + mcBC = tgetstr("bc", &_tptr); CR = tgetstr("cr", &_tptr); NL = tgetstr("nl", &_tptr); AC = tgetstr("ac", &_tptr); @@@@ -1967,10 +1967,10 @@@@ int attr; _has_am = tgetflag("am"); _mv_standout = tgetflag("ms"); if (tgetflag("bs")) { - if (BC == CNULL) BC = "\b"; + if (mcBC == CNULL) mcBC = "\b"; } else - BC = CNULL; + mcBC = CNULL; /* Special IBM box-drawing characters */ D_UL = 201; @ 1.1 log @Make this package build with gcc-4. Patch provided by John D. Baker in PR pkg/33094. @ text @d1 1 a1 1 $NetBSD$ @