head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.50 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.48 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.46 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.44 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.42 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.40 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.38 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.36 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.34 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.32 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.30 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.28 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.26 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.24 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.22 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.20 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.18 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.16 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.14 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.12 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.10 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.8 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.3 date 2004.06.03.08.52.23; author adam; state dead; branches; next 1.2; 1.2 date 2003.04.27.17.45.31; author cjep; state Exp; branches; next 1.1; 1.1 date 2001.05.22.11.37.17; author wiz; state Exp; branches; next ; desc @@ 1.3 log @Changes 3.1: * Regex and incremental search (jmacs ^S) now work for UTF-8 * More and improved syntax highlighting files, including Mason * Use ^T E to set character set of file (hit at the prompt for a list of available character sets). * Can install custom "i18n" style byte oriented character set definition files. * No longer depends on iconv() (easier to compile) * Fix bug where right arrow was not doing right thing on last line * Fix UTF-8 codes between 0x10000 - 0x1FFFF * Now prints for unicode control characters * Improved smart home, indent, etc. * TAB completion is now more "bash"-like * When multiple files are given on command line, they end up in same order on the screen in JOE (before they were shuffled). * Menu size is now variable (40% of window size or smaller if it's not filled). * Added -icase option for case insensitive search by default. * Added -wrap option, which makes searches wrap * Added status line sequence %x: shows current context (function name if you're editing C). * Added tab completion at search prompts and ESC-Enter for tab completion within text windows. * Warn if file changed on save. * Added Ctrl-space block selection method * Added Ctrl-arrow key block selection method * ^K E asks if you want to load original version of the file * jmacs bugs fixes: upperase word, transpose words, ^X ^C is more emacs-like., ^X k and ^X ^V more like emacs. * Much improved compile system ^[ c * Much improved jpico * aspell support. @ text @$NetBSD: patch-af,v 1.2 2003/04/27 17:45:31 cjep Exp $ --- termcap.c.orig 1995-01-23 09:07:10.000000000 +0000 +++ termcap.c @@@@ -191,7 +191,11 @@@@ else namebuf=0; namebuf=vsncpy(sv(namebuf),sc(".termcap ")); namebuf=vsncpy(sv(namebuf),sc(JOERC)); +#ifdef __NetBSD__ + namebuf=vsncpy(sv(namebuf),sc("termcap /usr/share/misc/termcap")); +#else namebuf=vsncpy(sv(namebuf),sc("termcap /etc/termcap")); +#endif } } @ 1.2 log @Use time_t rather than guess int or long. Fixes build on NetBSD/shark et al. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Standardize patches (no functional change) @ text @d3 11 a13 12 --- ufile.c.orig Fri Jan 13 18:13:16 1995 +++ ufile.c @@@@ -135,7 +135,7 @@@@ int cp(from,to) char *from, *to; { - int f, g, amnt; + int f, g, amnt, rc; struct stat sbuf; #ifdef HAVEUTIME @@@@ -157,8 +157,8 @@@@ d15 1 a15 6 while((amnt=read(f,stdbuf,stdsiz))>0) if(amnt!=write(g,stdbuf,amnt)) break; - close(f); close(g); - if(amnt) return -1; + close(f); rc = close(g); + if(amnt || rc) return -1; a16 2 #ifdef HAVEUTIME #ifdef NeXT @