--- ng-1.5~beta1.orig/debian/README.Debian +++ ng-1.5~beta1/debian/README.Debian @@ -0,0 +1,44 @@ +ng for Debian +---------------------- + +Ng stands for Nihongo Mg (MicroGnuEmacs), but it can handle Chinese and +Korean texts as far as they are EUC encoding. +/usr/share/doc/ng-common/en/Ng.doc is a fine document which describes +how CJK is supported and internal operations of Ng. Most of the document is a +translation of ..../ja/Ng.doc, but some parts are originally written by me. +Any comments are welcome about this document. + +Notes: + +1) Init file. +Ng loads ~/.ng as an init file. +dot.ng is a good example. See also Ng.doc. + +2) Wrapper script. +/usr/bin/ng is in fact a wrapper script. +According to the specified locale, it calls +precise ng binary. + + + 1st 2nd 3rd + +Japanese ng-cjk-canna ng-cjk ng-latin +Korean/Chinese ng-cjk ng-cjk-canna ng-latin +Others ng-latin ng-cjk ng-cjk-canna + +If you want to override this act, set the environmental variable NG to +your preferred ng binary. + +3) TODO + +As Ng.doc says, currently `word' related operations such as cursor movement by +the one word do not work correctly on Chinese and Korean texts. Fix needed. + +META key doesn't work on kterm with ng-cjk. This might be the bug of kterm, +for Emacs running on kterm also has problem with META key. + +Include quail-support? + +Unicode? + + -- Yasuhiro Take , Thu, 31 Aug 2000 17:30:22 +0900 --- ng-1.5~beta1.orig/debian/changelog +++ ng-1.5~beta1/debian/changelog @@ -0,0 +1,89 @@ +ng (1.5~beta1-3.1) unstable; urgency=medium + + [ Aurelien Jarno ] + * Non-maintainer upload. + + [ Logan Rosen ] + * Use autotools-dev to update config.{sub,guess} for new arches. Closes: + #565180. + + -- Aurelien Jarno Mon, 22 Sep 2014 20:46:44 +0200 + +ng (1.5~beta1-3) unstable; urgency=low + + * Bumped to Standards-Version: 3.8.0. + + -- Masayuki Hatta (mhatta) Thu, 17 Jul 2008 08:10:34 +0900 + +ng (1.5~beta1-2) unstable; urgency=low + + * debian/rules: Inserted a space before "]". + + -- Masayuki Hatta (mhatta) Fri, 07 Dec 2007 06:02:57 +0900 + +ng (1.5~beta1-1) unstable; urgency=low + + * New upstream release. + * Bumped to Standards-Version: 3.7.3. + * Fixed various lintian warnings. + + -- Masayuki Hatta (mhatta) Thu, 06 Dec 2007 20:54:11 +0900 + +ng (1.4.4p1-4) unstable; urgency=low + + * Bumped to Standards-Version: 3.7.2. + + -- Masayuki Hatta (mhatta) Fri, 13 Oct 2006 22:53:35 +0900 + +ng (1.4.4p1-3) unstable; urgency=low + + * [control] changed Maintainer field. + * Bumped to Standards-Version: 3.6.1. + + -- Masayuki Hatta (mhatta) Wed, 18 Feb 2004 01:44:10 +0900 + +ng (1.4.4p1-2) unstable; urgency=low + + * Added Build-Depends: libncurses-dev - closes: #201457 + * Removed periods from the short description - closes: #201686 + + -- Masayuki Hatta Sun, 27 Jul 2003 01:02:09 +0900 + +ng (1.4.4p1-1) unstable; urgency=low + + * New maintainer - closes: #201371 + * New upstream release - closes: #199496 + * Added several Build-Depends - closes: #190496 + * Applied ng-1.4.4-replace_bug.patch (thus it's p1). + * Bumped Standards-Version to 3.5.10. + * Some tweaks in debian/rules. + + -- Masayuki Hatta Wed, 16 Jul 2003 00:15:55 +0900 + +ng (1.4.3.1-2) unstable; urgency=high + + * debian/control: the description of ng-cjk lacks the final newline. FIXED. + + -- Yasuhiro Take Fri, 27 Apr 2001 10:28:42 +0900 + +ng (1.4.3.1-1) unstable; urgency=low + + * New upstream release + + -- Yasuhiro Take Tue, 20 Feb 2001 23:38:34 +0900 + +ng (1.4.2.1-1) unstable; urgency=low + + * New upstream release + + -- Yasuhiro Take Thu, 14 Dec 2000 12:48:24 +0900 + +ng (1.4.1-1) unstable; urgency=low + + * Initial Release. + + -- Yasuhiro Take Mon, 30 Oct 2000 17:30:22 +0900 + +Local variables: +mode: debian-changelog +End: --- ng-1.5~beta1.orig/debian/compat +++ ng-1.5~beta1/debian/compat @@ -0,0 +1 @@ +4 --- ng-1.5~beta1.orig/debian/config-cjk-canna.h +++ ng-1.5~beta1/debian/config-cjk-canna.h @@ -0,0 +1,443 @@ +/* $Id: config.h,v 1.12.2.1 2003/03/08 01:11:49 amura Exp $ */ +/* + * config.h - defines compile time options. + */ +/* 90.12.20 Created by S.Yoshida */ + +/*----------------------------------------------------------------------*/ +/* Features removeable to save space. */ +/*----------------------------------------------------------------------*/ + +#undef NO_BACKUP /* Disable backup files when writing. */ + +#undef NO_DIR /* Disable dir change functions. */ + /* If defined, NO_STARTUP must be also. */ + +#undef NO_DIRED /* Disable "dired" mode. */ + /* If not defined, ADDFUNC must be also.*/ + +#undef NO_DPROMPT /* Disable delayed prompt on multi-key sequences. */ + +#undef NO_FILECOMP /* Disable file name completion. */ + +#undef NO_HELP /* Disable help, descibe-bindings, */ + /* describe-key-briefly, apropos */ + +#undef NO_MACRO /* Disable keyboard macros. */ + /* If defined, NO_STARTUP must be also. */ + +#undef NO_SHELL /* Disable shell-command function. */ + +#undef NO_STARTUP /* Disable startup files, load, etc. */ + +#define DO_METAKEY /* Enable META key input. */ + +#define REGEX /* Enable regular expression functions. */ + +#define PREFIXREGION /* Enable function "prefix-region". */ + +#define C_MODE /* Enable c-mode functions. */ + +#define FILLPREFIX /* Enable fill prefix function. */ + +#define READONLY /* Enable read-only buffer mode. */ + +#define NEW_COMPLETE /* Enable new version completion. */ + /* If defined, ADDFUNC must be also. */ + +#define VARIABLE_TAB /* Enable buffer-local tabwidth (by amura) */ + +#define BUFFER_MODE /* Enable "Buffer Menu" mode for list-buffer. */ + /* (by Tillanosoft) */ + +#define EXTD_DIR /* buffer local current directly */ + /* (by Tillanosoft, amura) */ + +#define ADDOPT /* Enable some commandline option */ + /* (by Gen KUROKI, amura) */ + +#define IS_ENHANCE /* Incremantal search enhancement (by bsh) */ + +#define GOMATCH /* goto matching fence (by bsh) */ + +#define ZAPTOCHAR /* zap to char (by bsh) */ +#undef ZAPTOC_A /* zap to char (GNU Emacs compatible) (by bsh) */ + +#define JUMPERR /* jump to error function (by bsh) */ + /* If defined, ADDFUNC must be also. */ + +#define MINIBUF_EDIT /* minibuffer edit like GNU emacs (by Kakugawa) */ + +#define NEXTLINE 1 /* next-line-add-newlines (by S.Yoshida) */ + +#define EMACS_QUERY_KEYS /* isearch/query-replace key bindings compatible */ + /* with GNU Emacs 19 and later (by Shimbo)*/ + +#define UNDO /* enable buffer undo */ + +#define AUTOSAVE /* enable autosaver (ported form M.Suziki's work) */ + +/*----------------------------------------------------------------------*/ +/* Features for Ng/KANgee (KANJI version Mg2a). */ +/*----------------------------------------------------------------------*/ + +#define KANJI /* Create KANJI handling version. */ + +#define HANKANA /* Create Hankaku KANA handling version. */ + +#undef HOJO_KANJI /* Create Hojo KANJI handling version. */ + +#define CURSOR_POS /* Cursor locates on next CHR after POINT */ + +#define KINSOKU /* Create KINSOKU handling version. If defined, */ + /* KANJI must be also. */ + +#define BUGFIX /* Fix bugs in the original Mg2a. */ + +#define ADDFUNC /* Create additional misc functions. */ + +#define REGEX_JAPANESE /* Enable Japanese regular expression. */ + /* (by amura, Selow) */ + +#define INCLUDE_SKG /* Enable SKG(Simple Kanji Generator System) */ + /* (by H.Konishi) */ + +#define JISFIX /* JIS code input fix (by Gen.KUROKI) */ + +#define VTCURSOR /* Use DEC vt cursor key on JIS input mode */ + /* (by Gen.KUROKI) */ + +/*----------------------------------------------------------------------*/ +/* SystemV / BSD machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef HAVE_CONFIG_H /* Do not edit this line. */ +#include "sysconfig.h" /* Do not edit this line. */ +#else /* Do not edit this line. */ +#if defined(_WIN32)&&!defined(__CYGWIN__)&&!defined(WIN32) +#define WIN32 /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#ifndef MSDOS /* Do not edit this line. */ +#ifndef HUMAN68K /* Do not edit this line. */ +#ifndef AMIGA /* Do not edit this line. */ +#ifndef WIN32 /* Do not edit this line. */ +/*................................................*/ + +#undef SVR2 /* System V is Release 2. */ +#undef SVR3 /* System V is Release 3.x. */ +#define SVR4 /* System V is Release 4.x. (or linux) */ + +#define POSIXTTY /* System V has POSIX termios */ + +#define XKEYS /* use numelic keypad (by Gen.KUROKI) */ + +#define CANNA /* use CANNA kana-kanji server (by Endo) */ + +#define DEBIAN + +/*................................................*/ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* MS-DOS machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef MSDOS /* Do not edit this line. */ +/*................................................*/ + +/*#undef TCCONIO /* Use Turbo C console IO (by amura) */ + +/*#undef IBMPC /* Create Ng for IBM PC compatible */ + /* (include Toshiba J-3100) */ + +/*#undef PC9801 /* Create Ng for NEC PC-9801 series. */ + +#define BACKSLASH /* Display backslash instead of \ (PC-9801 only) */ + +#define HOMEDIR /* Home directory support for MSDOS (by amura) */ + +#define FEPCTRL /* Enable FEP auto control. */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* Win32 machine dependent features. by Eiichirou ITO,Tillanosoft */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef WIN32 /* Do not edit this line. */ +/*................................................*/ + +#define JAPANESE_KEYBOARD /* keyboard layout is Japanese one */ + +#define FEPCTRL /* Enable FEP auto control. */ + +#define CLIPBOARD /* Enable Clipboard cut & paste */ + +#define DROPFILES /* Drag'n Drop file open */ + /* If defined, ADDFUNC must be also. */ + +#define HOMEDIR /* Home directory support */ + +#define EMACS_BACKUP_STYLE + /* Backup files like as GNU Emacs */ + /* If you use Win9x, this shold not set */ + +#undef COMMANDBANDS /* COMMANDBAND for WinCE */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* Human68k machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef HUMAN68K /* Do not edit this line. */ +/*................................................*/ + +#define FEPCTRL /* Enable FEP auto control. */ + +#define HOMEDIR /* Home directory support */ + +#define EMACS_BACKUP_STYLE + /* Backup files like as GNU Emacs */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* AmigaDos dependent features. Dec.18,1992 Add by H.Ohkubo */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef AMIGA /* Do not edit this line. */ +/*................................................*/ + +#undef V11 /* No Ver1.1 AmigaDOS */ + +#define V2 /* Don't support AmigaDOS 1.x (by amura) */ + +#define DO_MENU /* Enable Menu selection */ + +#define MOUSE /* Enable mouse */ + +#define FKEYS /* Enable to use function key */ + +#define DO_ICONIFY /* Enable iconify */ + +#define CHANGE_COLOR /* Enable color setting */ + +#define CHANGE_FONT /* Enable font setting */ + +#undef USE_ARP /* Enable ARP Library */ + /* Undefined by H.Konishi for SAS */ + +#define LAMIGA_META /* Assume Left Amiga to META key (by amura) */ + +#undef MODE_RENDITION /* Set Default */ +#undef TEXT_RENDITION /* Set Default */ +#undef TEXT_FG /* Set Default */ +#undef TEXT_BG /* Set Default */ +#undef MODE_FG /* Set Default */ +#undef MODE_BG /* Set Default */ + +#define ASL /* Enable ASL Requester (by H.Konishi) */ + +#undef AMIGA_STDIO /* Using ANSI-Standard FILE IO library (by amura) */ +#define CLIPBOARD /* AMIGA Clipboard support (by amura) */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/************************************************************************/ +/* Do not edit following lines. */ +/************************************************************************/ + +#ifdef KANJI +# ifdef NO_KANJI /* in order to use same source for Ng and MG, Tillanosoft */ +# undef KANJI +# endif +#else /* not KANJI */ +# ifdef HANKANA +# undef HANKANA +# endif +# ifdef HOJO_KANJI +# undef HOJO_KANJI +# endif +#endif + +#ifdef HANKANA +# ifndef SS_SUPPORT +# define SS_SUPPORT +# endif +#endif + +#ifdef HOJO_KANJI +# ifndef SS_SUPPORT +# define SS_SUPPORT +# endif +#endif + +#ifndef KANJI +# ifdef JAPANESE_KEYBOARD +# undef JAPANESE_KEYBOARD +# endif +#endif + +#ifdef CURSOR_POS +# ifndef KANJI +# undef CURSOR_POS +# endif +#endif + +#ifdef NO_DIR +# ifndef NO_STARTUP +# define NO_STARTUP +# endif +# ifdef EXTD_DIR +# undef EXTD_DIR +# endif +#endif + +#ifdef NO_MACRO +# ifndef NO_STARTUP +# define NO_STARTUP +# endif +#endif + +#ifdef KINSOKU +# ifndef KANJI +# undef KINSOKU +# endif +#endif + +#ifdef FEPCTRL +# ifndef KANJI +# undef FEPCTRL +# endif +#endif + +#ifdef NEW_COMPLETE +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifndef NO_DIRED +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef JUMPERR +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef DROPFILES +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef MSDOS +# ifdef J3100 +# ifdef PC9801 +# undef PC9801 +# endif +# endif +#endif + +#ifdef DO_ICONIFY +# ifdef SAS6 +# undef DO_ICONIFY +# endif +#endif + +#ifdef USE_ARP +# ifdef SAS6 +# undef USE_ARP +# endif +#endif + +#ifdef BROWSER +# ifndef DO_MENU +# define DO_MENU +# endif +#endif + +#ifdef REGEX_JAPANESE +# ifndef REGEX +# define REGEX +# endif +# ifndef KANJI +# undef REGEX_JAPANESE +# endif +#endif + +#ifndef SUPPORT_ANSI +# ifdef __STDC__ +# define SUPPORT_ANSI +# endif +# ifdef WIN32 +# define SUPPORT_ANSI +# endif +#endif + +#ifdef WIN32 +#define MOUSE +#endif + +#ifdef CLIPBOARD +# ifndef WIN32 +# ifndef AMIGA +# undef CLIPBOARD +# endif +# endif +#endif + +#ifdef V2 +# ifdef V11 +# undef V11 +# endif +#endif + +#ifdef ASL +# ifndef V2 +# undef ASL +# else +# ifndef DO_MENU +# undef ASL +# endif +# endif +#endif + +#ifdef SVR2 +# ifdef SVR3 +# undef SVR3 +# endif +# ifdef SVR4 +# undef SVR4 +# endif +#endif + +#ifdef SVR3 +# ifdef SVR4 +# undef SVR4 +# endif +#endif + +#ifdef SVR4 +# ifndef POSIXTTY +# define POSIXTTY +# endif +#endif --- ng-1.5~beta1.orig/debian/config-cjk.h +++ ng-1.5~beta1/debian/config-cjk.h @@ -0,0 +1,443 @@ +/* $Id: config.h,v 1.12.2.1 2003/03/08 01:11:49 amura Exp $ */ +/* + * config.h - defines compile time options. + */ +/* 90.12.20 Created by S.Yoshida */ + +/*----------------------------------------------------------------------*/ +/* Features removeable to save space. */ +/*----------------------------------------------------------------------*/ + +#undef NO_BACKUP /* Disable backup files when writing. */ + +#undef NO_DIR /* Disable dir change functions. */ + /* If defined, NO_STARTUP must be also. */ + +#undef NO_DIRED /* Disable "dired" mode. */ + /* If not defined, ADDFUNC must be also.*/ + +#undef NO_DPROMPT /* Disable delayed prompt on multi-key sequences. */ + +#undef NO_FILECOMP /* Disable file name completion. */ + +#undef NO_HELP /* Disable help, descibe-bindings, */ + /* describe-key-briefly, apropos */ + +#undef NO_MACRO /* Disable keyboard macros. */ + /* If defined, NO_STARTUP must be also. */ + +#undef NO_SHELL /* Disable shell-command function. */ + +#undef NO_STARTUP /* Disable startup files, load, etc. */ + +#define DO_METAKEY /* Enable META key input. */ + +#define REGEX /* Enable regular expression functions. */ + +#define PREFIXREGION /* Enable function "prefix-region". */ + +#define C_MODE /* Enable c-mode functions. */ + +#define FILLPREFIX /* Enable fill prefix function. */ + +#define READONLY /* Enable read-only buffer mode. */ + +#define NEW_COMPLETE /* Enable new version completion. */ + /* If defined, ADDFUNC must be also. */ + +#define VARIABLE_TAB /* Enable buffer-local tabwidth (by amura) */ + +#define BUFFER_MODE /* Enable "Buffer Menu" mode for list-buffer. */ + /* (by Tillanosoft) */ + +#define EXTD_DIR /* buffer local current directly */ + /* (by Tillanosoft, amura) */ + +#define ADDOPT /* Enable some commandline option */ + /* (by Gen KUROKI, amura) */ + +#define IS_ENHANCE /* Incremantal search enhancement (by bsh) */ + +#define GOMATCH /* goto matching fence (by bsh) */ + +#define ZAPTOCHAR /* zap to char (by bsh) */ +#undef ZAPTOC_A /* zap to char (GNU Emacs compatible) (by bsh) */ + +#define JUMPERR /* jump to error function (by bsh) */ + /* If defined, ADDFUNC must be also. */ + +#define MINIBUF_EDIT /* minibuffer edit like GNU emacs (by Kakugawa) */ + +#define NEXTLINE 1 /* next-line-add-newlines (by S.Yoshida) */ + +#define EMACS_QUERY_KEYS /* isearch/query-replace key bindings compatible */ + /* with GNU Emacs 19 and later (by Shimbo)*/ + +#define UNDO /* enable buffer undo */ + +#define AUTOSAVE /* enable autosaver (ported form M.Suziki's work) */ + +/*----------------------------------------------------------------------*/ +/* Features for Ng/KANgee (KANJI version Mg2a). */ +/*----------------------------------------------------------------------*/ + +#define KANJI /* Create KANJI handling version. */ + +#define HANKANA /* Create Hankaku KANA handling version. */ + +#undef HOJO_KANJI /* Create Hojo KANJI handling version. */ + +#define CURSOR_POS /* Cursor locates on next CHR after POINT */ + +#define KINSOKU /* Create KINSOKU handling version. If defined, */ + /* KANJI must be also. */ + +#define BUGFIX /* Fix bugs in the original Mg2a. */ + +#define ADDFUNC /* Create additional misc functions. */ + +#define REGEX_JAPANESE /* Enable Japanese regular expression. */ + /* (by amura, Selow) */ + +#define INCLUDE_SKG /* Enable SKG(Simple Kanji Generator System) */ + /* (by H.Konishi) */ + +#define JISFIX /* JIS code input fix (by Gen.KUROKI) */ + +#define VTCURSOR /* Use DEC vt cursor key on JIS input mode */ + /* (by Gen.KUROKI) */ + +/*----------------------------------------------------------------------*/ +/* SystemV / BSD machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef HAVE_CONFIG_H /* Do not edit this line. */ +#include "sysconfig.h" /* Do not edit this line. */ +#else /* Do not edit this line. */ +#if defined(_WIN32)&&!defined(__CYGWIN__)&&!defined(WIN32) +#define WIN32 /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#ifndef MSDOS /* Do not edit this line. */ +#ifndef HUMAN68K /* Do not edit this line. */ +#ifndef AMIGA /* Do not edit this line. */ +#ifndef WIN32 /* Do not edit this line. */ +/*................................................*/ + +#undef SVR2 /* System V is Release 2. */ +#undef SVR3 /* System V is Release 3.x. */ +#define SVR4 /* System V is Release 4.x. (or linux) */ + +#define POSIXTTY /* System V has POSIX termios */ + +#define XKEYS /* use numelic keypad (by Gen.KUROKI) */ + +/*#define CANNA /* use CANNA kana-kanji server (by Endo) */ + +#define DEBIAN + +/*................................................*/ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* MS-DOS machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef MSDOS /* Do not edit this line. */ +/*................................................*/ + +/*#undef TCCONIO /* Use Turbo C console IO (by amura) */ + +/*#undef IBMPC /* Create Ng for IBM PC compatible */ + /* (include Toshiba J-3100) */ + +/*#undef PC9801 /* Create Ng for NEC PC-9801 series. */ + +#define BACKSLASH /* Display backslash instead of \ (PC-9801 only) */ + +#define HOMEDIR /* Home directory support for MSDOS (by amura) */ + +#define FEPCTRL /* Enable FEP auto control. */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* Win32 machine dependent features. by Eiichirou ITO,Tillanosoft */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef WIN32 /* Do not edit this line. */ +/*................................................*/ + +#define JAPANESE_KEYBOARD /* keyboard layout is Japanese one */ + +#define FEPCTRL /* Enable FEP auto control. */ + +#define CLIPBOARD /* Enable Clipboard cut & paste */ + +#define DROPFILES /* Drag'n Drop file open */ + /* If defined, ADDFUNC must be also. */ + +#define HOMEDIR /* Home directory support */ + +#define EMACS_BACKUP_STYLE + /* Backup files like as GNU Emacs */ + /* If you use Win9x, this shold not set */ + +#undef COMMANDBANDS /* COMMANDBAND for WinCE */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* Human68k machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef HUMAN68K /* Do not edit this line. */ +/*................................................*/ + +#define FEPCTRL /* Enable FEP auto control. */ + +#define HOMEDIR /* Home directory support */ + +#define EMACS_BACKUP_STYLE + /* Backup files like as GNU Emacs */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* AmigaDos dependent features. Dec.18,1992 Add by H.Ohkubo */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef AMIGA /* Do not edit this line. */ +/*................................................*/ + +#undef V11 /* No Ver1.1 AmigaDOS */ + +#define V2 /* Don't support AmigaDOS 1.x (by amura) */ + +#define DO_MENU /* Enable Menu selection */ + +#define MOUSE /* Enable mouse */ + +#define FKEYS /* Enable to use function key */ + +#define DO_ICONIFY /* Enable iconify */ + +#define CHANGE_COLOR /* Enable color setting */ + +#define CHANGE_FONT /* Enable font setting */ + +#undef USE_ARP /* Enable ARP Library */ + /* Undefined by H.Konishi for SAS */ + +#define LAMIGA_META /* Assume Left Amiga to META key (by amura) */ + +#undef MODE_RENDITION /* Set Default */ +#undef TEXT_RENDITION /* Set Default */ +#undef TEXT_FG /* Set Default */ +#undef TEXT_BG /* Set Default */ +#undef MODE_FG /* Set Default */ +#undef MODE_BG /* Set Default */ + +#define ASL /* Enable ASL Requester (by H.Konishi) */ + +#undef AMIGA_STDIO /* Using ANSI-Standard FILE IO library (by amura) */ +#define CLIPBOARD /* AMIGA Clipboard support (by amura) */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/************************************************************************/ +/* Do not edit following lines. */ +/************************************************************************/ + +#ifdef KANJI +# ifdef NO_KANJI /* in order to use same source for Ng and MG, Tillanosoft */ +# undef KANJI +# endif +#else /* not KANJI */ +# ifdef HANKANA +# undef HANKANA +# endif +# ifdef HOJO_KANJI +# undef HOJO_KANJI +# endif +#endif + +#ifdef HANKANA +# ifndef SS_SUPPORT +# define SS_SUPPORT +# endif +#endif + +#ifdef HOJO_KANJI +# ifndef SS_SUPPORT +# define SS_SUPPORT +# endif +#endif + +#ifndef KANJI +# ifdef JAPANESE_KEYBOARD +# undef JAPANESE_KEYBOARD +# endif +#endif + +#ifdef CURSOR_POS +# ifndef KANJI +# undef CURSOR_POS +# endif +#endif + +#ifdef NO_DIR +# ifndef NO_STARTUP +# define NO_STARTUP +# endif +# ifdef EXTD_DIR +# undef EXTD_DIR +# endif +#endif + +#ifdef NO_MACRO +# ifndef NO_STARTUP +# define NO_STARTUP +# endif +#endif + +#ifdef KINSOKU +# ifndef KANJI +# undef KINSOKU +# endif +#endif + +#ifdef FEPCTRL +# ifndef KANJI +# undef FEPCTRL +# endif +#endif + +#ifdef NEW_COMPLETE +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifndef NO_DIRED +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef JUMPERR +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef DROPFILES +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef MSDOS +# ifdef J3100 +# ifdef PC9801 +# undef PC9801 +# endif +# endif +#endif + +#ifdef DO_ICONIFY +# ifdef SAS6 +# undef DO_ICONIFY +# endif +#endif + +#ifdef USE_ARP +# ifdef SAS6 +# undef USE_ARP +# endif +#endif + +#ifdef BROWSER +# ifndef DO_MENU +# define DO_MENU +# endif +#endif + +#ifdef REGEX_JAPANESE +# ifndef REGEX +# define REGEX +# endif +# ifndef KANJI +# undef REGEX_JAPANESE +# endif +#endif + +#ifndef SUPPORT_ANSI +# ifdef __STDC__ +# define SUPPORT_ANSI +# endif +# ifdef WIN32 +# define SUPPORT_ANSI +# endif +#endif + +#ifdef WIN32 +#define MOUSE +#endif + +#ifdef CLIPBOARD +# ifndef WIN32 +# ifndef AMIGA +# undef CLIPBOARD +# endif +# endif +#endif + +#ifdef V2 +# ifdef V11 +# undef V11 +# endif +#endif + +#ifdef ASL +# ifndef V2 +# undef ASL +# else +# ifndef DO_MENU +# undef ASL +# endif +# endif +#endif + +#ifdef SVR2 +# ifdef SVR3 +# undef SVR3 +# endif +# ifdef SVR4 +# undef SVR4 +# endif +#endif + +#ifdef SVR3 +# ifdef SVR4 +# undef SVR4 +# endif +#endif + +#ifdef SVR4 +# ifndef POSIXTTY +# define POSIXTTY +# endif +#endif --- ng-1.5~beta1.orig/debian/config-latin.h +++ ng-1.5~beta1/debian/config-latin.h @@ -0,0 +1,443 @@ +/* $Id: config.h,v 1.12.2.1 2003/03/08 01:11:49 amura Exp $ */ +/* + * config.h - defines compile time options. + */ +/* 90.12.20 Created by S.Yoshida */ + +/*----------------------------------------------------------------------*/ +/* Features removeable to save space. */ +/*----------------------------------------------------------------------*/ + +#undef NO_BACKUP /* Disable backup files when writing. */ + +#undef NO_DIR /* Disable dir change functions. */ + /* If defined, NO_STARTUP must be also. */ + +#undef NO_DIRED /* Disable "dired" mode. */ + /* If not defined, ADDFUNC must be also.*/ + +#undef NO_DPROMPT /* Disable delayed prompt on multi-key sequences. */ + +#undef NO_FILECOMP /* Disable file name completion. */ + +#undef NO_HELP /* Disable help, descibe-bindings, */ + /* describe-key-briefly, apropos */ + +#undef NO_MACRO /* Disable keyboard macros. */ + /* If defined, NO_STARTUP must be also. */ + +#undef NO_SHELL /* Disable shell-command function. */ + +#undef NO_STARTUP /* Disable startup files, load, etc. */ + +#define DO_METAKEY /* Enable META key input. */ + +#define REGEX /* Enable regular expression functions. */ + +#define PREFIXREGION /* Enable function "prefix-region". */ + +#define C_MODE /* Enable c-mode functions. */ + +#define FILLPREFIX /* Enable fill prefix function. */ + +#define READONLY /* Enable read-only buffer mode. */ + +#define NEW_COMPLETE /* Enable new version completion. */ + /* If defined, ADDFUNC must be also. */ + +#define VARIABLE_TAB /* Enable buffer-local tabwidth (by amura) */ + +#define BUFFER_MODE /* Enable "Buffer Menu" mode for list-buffer. */ + /* (by Tillanosoft) */ + +#define EXTD_DIR /* buffer local current directly */ + /* (by Tillanosoft, amura) */ + +#define ADDOPT /* Enable some commandline option */ + /* (by Gen KUROKI, amura) */ + +#define IS_ENHANCE /* Incremantal search enhancement (by bsh) */ + +#define GOMATCH /* goto matching fence (by bsh) */ + +#define ZAPTOCHAR /* zap to char (by bsh) */ +#undef ZAPTOC_A /* zap to char (GNU Emacs compatible) (by bsh) */ + +#define JUMPERR /* jump to error function (by bsh) */ + /* If defined, ADDFUNC must be also. */ + +#define MINIBUF_EDIT /* minibuffer edit like GNU emacs (by Kakugawa) */ + +#define NEXTLINE 1 /* next-line-add-newlines (by S.Yoshida) */ + +#define EMACS_QUERY_KEYS /* isearch/query-replace key bindings compatible */ + /* with GNU Emacs 19 and later (by Shimbo)*/ + +#define UNDO /* enable buffer undo */ + +#define AUTOSAVE /* enable autosaver (ported form M.Suziki's work) */ + +/*----------------------------------------------------------------------*/ +/* Features for Ng/KANgee (KANJI version Mg2a). */ +/*----------------------------------------------------------------------*/ + +/*#define KANJI /* Create KANJI handling version. */ + +/*#define HANKANA /* Create Hankaku KANA handling version. */ + +/*#undef HOJO_KANJI /* Create Hojo KANJI handling version. */ + +#define CURSOR_POS /* Cursor locates on next CHR after POINT */ + +/*#define KINSOKU /* Create KINSOKU handling version. If defined, */ + /* KANJI must be also. */ + +#define BUGFIX /* Fix bugs in the original Mg2a. */ + +#define ADDFUNC /* Create additional misc functions. */ + +/*#define REGEX_JAPANESE /* Enable Japanese regular expression. */ + /* (by amura, Selow) */ + +/*#define INCLUDE_SKG /* Enable SKG(Simple Kanji Generator System) */ + /* (by H.Konishi) */ + +/*#define JISFIX /* JIS code input fix (by Gen.KUROKI) */ + +/*#define VTCURSOR /* Use DEC vt cursor key on JIS input mode */ + /* (by Gen.KUROKI) */ + +/*----------------------------------------------------------------------*/ +/* SystemV / BSD machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef HAVE_CONFIG_H /* Do not edit this line. */ +#include "sysconfig.h" /* Do not edit this line. */ +#else /* Do not edit this line. */ +#if defined(_WIN32)&&!defined(__CYGWIN__)&&!defined(WIN32) +#define WIN32 /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#ifndef MSDOS /* Do not edit this line. */ +#ifndef HUMAN68K /* Do not edit this line. */ +#ifndef AMIGA /* Do not edit this line. */ +#ifndef WIN32 /* Do not edit this line. */ +/*................................................*/ + +#undef SVR2 /* System V is Release 2. */ +#undef SVR3 /* System V is Release 3.x. */ +#define SVR4 /* System V is Release 4.x. (or linux) */ + +#define POSIXTTY /* System V has POSIX termios */ + +#define XKEYS /* use numelic keypad (by Gen.KUROKI) */ + +/*#define CANNA /* use CANNA kana-kanji server (by Endo) */ + +#define DEBIAN + +/*................................................*/ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* MS-DOS machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef MSDOS /* Do not edit this line. */ +/*................................................*/ + +/*#undef TCCONIO /* Use Turbo C console IO (by amura) */ + +/*#undef IBMPC /* Create Ng for IBM PC compatible */ + /* (include Toshiba J-3100) */ + +/*#undef PC9801 /* Create Ng for NEC PC-9801 series. */ + +#define BACKSLASH /* Display backslash instead of \ (PC-9801 only) */ + +#define HOMEDIR /* Home directory support for MSDOS (by amura) */ + +#define FEPCTRL /* Enable FEP auto control. */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* Win32 machine dependent features. by Eiichirou ITO,Tillanosoft */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef WIN32 /* Do not edit this line. */ +/*................................................*/ + +#define JAPANESE_KEYBOARD /* keyboard layout is Japanese one */ + +#define FEPCTRL /* Enable FEP auto control. */ + +#define CLIPBOARD /* Enable Clipboard cut & paste */ + +#define DROPFILES /* Drag'n Drop file open */ + /* If defined, ADDFUNC must be also. */ + +#define HOMEDIR /* Home directory support */ + +#define EMACS_BACKUP_STYLE + /* Backup files like as GNU Emacs */ + /* If you use Win9x, this shold not set */ + +#undef COMMANDBANDS /* COMMANDBAND for WinCE */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* Human68k machine dependent features. */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef HUMAN68K /* Do not edit this line. */ +/*................................................*/ + +#define FEPCTRL /* Enable FEP auto control. */ + +#define HOMEDIR /* Home directory support */ + +#define EMACS_BACKUP_STYLE + /* Backup files like as GNU Emacs */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/*----------------------------------------------------------------------*/ +/* AmigaDos dependent features. Dec.18,1992 Add by H.Ohkubo */ +/*----------------------------------------------------------------------*/ +/*................................................*/ +#ifdef AMIGA /* Do not edit this line. */ +/*................................................*/ + +#undef V11 /* No Ver1.1 AmigaDOS */ + +#define V2 /* Don't support AmigaDOS 1.x (by amura) */ + +#define DO_MENU /* Enable Menu selection */ + +#define MOUSE /* Enable mouse */ + +#define FKEYS /* Enable to use function key */ + +#define DO_ICONIFY /* Enable iconify */ + +#define CHANGE_COLOR /* Enable color setting */ + +#define CHANGE_FONT /* Enable font setting */ + +#undef USE_ARP /* Enable ARP Library */ + /* Undefined by H.Konishi for SAS */ + +#define LAMIGA_META /* Assume Left Amiga to META key (by amura) */ + +#undef MODE_RENDITION /* Set Default */ +#undef TEXT_RENDITION /* Set Default */ +#undef TEXT_FG /* Set Default */ +#undef TEXT_BG /* Set Default */ +#undef MODE_FG /* Set Default */ +#undef MODE_BG /* Set Default */ + +#define ASL /* Enable ASL Requester (by H.Konishi) */ + +#undef AMIGA_STDIO /* Using ANSI-Standard FILE IO library (by amura) */ +#define CLIPBOARD /* AMIGA Clipboard support (by amura) */ + +/*................................................*/ +#endif /* Do not edit this line. */ +/*................................................*/ + +/************************************************************************/ +/* Do not edit following lines. */ +/************************************************************************/ + +#ifdef KANJI +# ifdef NO_KANJI /* in order to use same source for Ng and MG, Tillanosoft */ +# undef KANJI +# endif +#else /* not KANJI */ +# ifdef HANKANA +# undef HANKANA +# endif +# ifdef HOJO_KANJI +# undef HOJO_KANJI +# endif +#endif + +#ifdef HANKANA +# ifndef SS_SUPPORT +# define SS_SUPPORT +# endif +#endif + +#ifdef HOJO_KANJI +# ifndef SS_SUPPORT +# define SS_SUPPORT +# endif +#endif + +#ifndef KANJI +# ifdef JAPANESE_KEYBOARD +# undef JAPANESE_KEYBOARD +# endif +#endif + +#ifdef CURSOR_POS +# ifndef KANJI +# undef CURSOR_POS +# endif +#endif + +#ifdef NO_DIR +# ifndef NO_STARTUP +# define NO_STARTUP +# endif +# ifdef EXTD_DIR +# undef EXTD_DIR +# endif +#endif + +#ifdef NO_MACRO +# ifndef NO_STARTUP +# define NO_STARTUP +# endif +#endif + +#ifdef KINSOKU +# ifndef KANJI +# undef KINSOKU +# endif +#endif + +#ifdef FEPCTRL +# ifndef KANJI +# undef FEPCTRL +# endif +#endif + +#ifdef NEW_COMPLETE +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifndef NO_DIRED +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef JUMPERR +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef DROPFILES +# ifndef ADDFUNC +# define ADDFUNC +# endif +#endif + +#ifdef MSDOS +# ifdef J3100 +# ifdef PC9801 +# undef PC9801 +# endif +# endif +#endif + +#ifdef DO_ICONIFY +# ifdef SAS6 +# undef DO_ICONIFY +# endif +#endif + +#ifdef USE_ARP +# ifdef SAS6 +# undef USE_ARP +# endif +#endif + +#ifdef BROWSER +# ifndef DO_MENU +# define DO_MENU +# endif +#endif + +#ifdef REGEX_JAPANESE +# ifndef REGEX +# define REGEX +# endif +# ifndef KANJI +# undef REGEX_JAPANESE +# endif +#endif + +#ifndef SUPPORT_ANSI +# ifdef __STDC__ +# define SUPPORT_ANSI +# endif +# ifdef WIN32 +# define SUPPORT_ANSI +# endif +#endif + +#ifdef WIN32 +#define MOUSE +#endif + +#ifdef CLIPBOARD +# ifndef WIN32 +# ifndef AMIGA +# undef CLIPBOARD +# endif +# endif +#endif + +#ifdef V2 +# ifdef V11 +# undef V11 +# endif +#endif + +#ifdef ASL +# ifndef V2 +# undef ASL +# else +# ifndef DO_MENU +# undef ASL +# endif +# endif +#endif + +#ifdef SVR2 +# ifdef SVR3 +# undef SVR3 +# endif +# ifdef SVR4 +# undef SVR4 +# endif +#endif + +#ifdef SVR3 +# ifdef SVR4 +# undef SVR4 +# endif +#endif + +#ifdef SVR4 +# ifndef POSIXTTY +# define POSIXTTY +# endif +#endif --- ng-1.5~beta1.orig/debian/control +++ ng-1.5~beta1/debian/control @@ -0,0 +1,47 @@ +Source: ng +Section: editors +Priority: optional +Maintainer: Masayuki Hatta (mhatta) +Build-Depends: debhelper (>> 4.0.0), libcanna1g-dev, libncurses-dev, autotools-dev +Standards-Version: 3.8.0 + +Package: ng-common +Architecture: all +Recommends: ng-latin | ng-cjk | ng-cjk-canna +Conflicts: ng +Replaces: ng +Description: Common files used by ng-* packages + Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like + editor. It can handle both Latin and CJK. + . + This package contains documents and a wrapper script. + +Package: ng-latin +Architecture: any +Depends: ${shlibs:Depends}, ng-common +Description: Nihongo MicroGnuEmacs with Latin support + Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like + editor. It can handle both Latin and CJK. + . + ng-latin can handle Latin (ISO-8859) encoding. CJK is not supported. + +Package: ng-cjk +Architecture: any +Depends: ${shlibs:Depends}, ng-common +Description: Nihongo MicroGnuEmacs with CJK support + Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like + editor. It can handle both Latin and CJK. + . + ng-cjk can handle ISO-2022-JP, Shift-JIS, EUC-JP as well as EUC-KR and + EUC-CN(GB only). Latin is not supported. + +Package: ng-cjk-canna +Architecture: any +Depends: ${shlibs:Depends}, ng-common +Description: Nihongo MicroGnuEmacs with CJK and Canna support + Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like + editor. It can handle both Latin and CJK. + . + ng-cjk-canna can handle ISO-2022-JP, Shift-JIS, EUC-JP as well as EUC-KR and + EUC-CN(GB only). Latin is not supported. Canna, one of Japanese input + methods, is also supported. --- ng-1.5~beta1.orig/debian/copyright +++ ng-1.5~beta1/debian/copyright @@ -0,0 +1,69 @@ +This package was debianized by Yasuhiro Take on +Thu, 31 Aug 2000 17:30:22 +0900. + +It was downloaded from http://tt.sakura.ne.jp/~amura/ng/ + +Upstream Authors: + This program is currently maintained by: + Atsushi Muramatsu + The original program Mg was written by: + Dave Conroy + Dave Brower + Bob Larson + Mic Kaczmarczik + Mike Meyer + Sandra Loosemore + Michael Portuesi + Stephen Walton + Marion Hakanson + Forked version ng was written by: + Shigeki Yoshida + Note: this list only consists of main developers/contributers. + +Copyright: + + 1) Mg, the origin of Ng is largely public domain. + + According to mg.tex: + MG is largely public domain. You can use, modify, and redistribute MG + as you like. + + 2) Mg includes some GPLed(GNU GPL1) files, which are related to regular + expression codes. All ng binaries installed in Debian are statically + linked to the compiled object of this regular expression code. So the + condition of redistributing the debian packages of Ng complies with GNU + GPL1 restrictions. + + 3) Japanized modification part is copyrighted by Shigeki Yoshida and + its license is as follows: + + Copyright (c) 1990, 1991 + Shigeki Yoshida + Copyright (c) 2000, 2001, 2002, 2003 + MURAMATSU Atsushi + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following condition + is met: + + Redistributions of any form (source code and/or binary) must + reproduce the above copyright notice, this condition and the + following disclaimer in source code and/or the documentation + provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + --- ng-1.5~beta1.orig/debian/dirs +++ ng-1.5~beta1/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/doc/ng-common/ja +usr/share/doc/ng-common/en +usr/share/doc/ng-common/Mg --- ng-1.5~beta1.orig/debian/docs-en/Ng.doc +++ ng-1.5~beta1/debian/docs-en/Ng.doc @@ -0,0 +1,684 @@ +============================================================================= + Ng.doc for Ng 1.4 + Yasuhiro Take +============================================================================= + 1. About Ng + 2. Install + 3. Coding system and charset + 3.1 Introduction + 3.2 CJK support + 3.2.1 When new buffer created + 3.2.2 File I/O + 3.2.3 Keyboard Input + 3.2.4 Displaying + 3.3 Latin support + 4. Extra features with CJK support + 4.1 Basic features + 4.2 Word + 4.3 Filling + 4.4 Overwrite + 5. Other features + 5.1 Show version + 5.2 C mode + 5.3 Options + 6.1 How to customize + 6.2 Settings for Windows + 7. Known Bugs +----------------------------------------------------------------------------- + +* 1. About Ng + +Ng is an Emacs-like editor based on Mg, MicroGnuEmacs. The name Ng is an +abbreviation for `Nihongo[1] Mg' or `Nemacs (Nihongo Emacs) like Mg', but +not for No Good :) + +[1] Nihongo means Japanese, so you've felt Ng could handle only Japanese. + But it's absolutely wrong. It can also handle Korean, Chinese and Latin. + For more detail, see below. + +The latest version of Ng is 1.4. It is based on Mg 2a and has the same +fuculty as Nemacs 3.3.2. Ng's features of i18n are: + + 1) You can edit document that contains ASCII and multibyte charcters, + i.e. Japanese Kana, Hangul and Kanji, with Ng. Ng also can handle + singlebyte Japanese Katakana (JIS X 0201). + + 2) You can use different coding systems for various inputs/outputs, say, + file I/O, display output and keyboard input. Available coding + systems are ISO-2022-JP, Shift-JIS and EUC-JP as well as EUC-KR and + EUC-CN(GB). Disabling KANJI support will let you use ISO-8859 charsets + instead of those coding systems. + +Ng runs on UNIX, MS-DOS, Human68k for SHARP X68000 , Microsoft Win32 +(Windows CE, WIndows 95/98/NT4.0), and AmigaOS for Commodore AMIGA. + +* 2. Install + +See "Make & Install" section in README.Ng to know how to build. + +To enable i18n features (i.e use Kanji, Hangul and Japanese characters), KANJI +support is needed. Besides, to enable word-wrap, KINSOKU support is needed. +These two supports are enabled by default. + +The initial coding systems for various I/O mentioned above are set in kinit.h. +You can change if you wish. The default values are below. + + Variable value(Amiga/UNIX) value(DOS/Win32/Human) + ---------------------------------------------------------------------- + default-kanji-fileio-code: NIL NIL + kanji-expected-code: T T + kanji-input-code: EUC SJIS + kanji-display-code: EUC SJIS + +* 3. Coding system and charset + +* 3.1 Introduction + +Ng can handle several CJK encoding systems and Latin charsets [2] for +inputs/outputs. + +[2] CJK support and Latin support are exclusive and built-in feature, + determined by the compile time options. + +Internally Ng holds every buffer in EUC and Latin respectively. + +Here is a list of what ng can handle. + + Language Coding system/Charset + --------------------------------------------- + Global? ASCII + Japanese [4] ISO-2022-JP (aka JIS) + Shift-JIS + EUC-JP(JISX0201, JISX0208 [3]) + Korean EUC-KR(KS5601) + Simplified-Chinese EUC-CN(GB2312) + + English & lots of + European Languages Latin(ISO-8859) + +[3] In fact, EUC-JP can contain JISX0201 and JISX0208 as well as JISX0212, + but the last one is unable to use, for hadling of SS3(Single Shift 3) + isn't implemented yet. EUC-CN(CNS 11643-1/2), used in Taiwan, is also + unusable for the same reason. + +[4] There're three coding systems that are used on Japanese text, while + every internal buffer is hold in EUC. This implies that automatic + conversion to EUC encoding is needed. And this conversion requires + automatic recognition or preselection of coding system of a file. + +* 3.2 CJK support + +With CJK support, you can set different coding systems for file I/O, +display output and keyboard input. + + coding system for file I/O: + affects which coding system is used on saving to a file. + automatically recognized when a file is loaded. + coding system for keyboard input: + determines which coding system is expected for the input + from keyboard. + coding system for display output: + determines which coding system is used for displaying + characters on terminal. + +Modeline tells which coding system is used for each I/O by one character. + + -----Ng: *scratch* (-EE:fundamental)--All----------- + ||| + file I/O --------------------------+|| + keyboard input ---------------------+| + displaying output -------------------+ + +Coding system for file I/O can be set differently on each individual buffer, +while the same coding system is used through all buffers for keyboard input +and display output, respectively. + +Here is a list of which coding system the mentioned "one character" stands +for. + + character coding system + ----------------------------- + - Undefined. Appears only at file I/O. + N Do not convert coding system. Raw I/O is performed. + S Shift-JIS. + J JIS (aka ISO-2022-JP). + E EUC-JP, EUC-KO, EUC-CN. + +Internal variables that relates to coding system like above are listed below. +Only the value of kanji-fileio-code can be set on each identical buffer. The +value of each of the other variables is common to all buffers. In other words, +they affect all buffers. + +list-kanji-codes (C-x C-k c) command and list-kanji-codes (C-x C-k C) command +will tell you which coding system is set to these variables. + + + + default-kanji-fileio-code: + determines coding system for file I/O of a new buffer. + kanji-expected-code: + determines which coding system is expected on loading a file. + kanji-fileio-code: + affects which coding system is used for file I/O. + As for loading a file, kanji-expected-code is prior to this + value if it is set. + kanji-input-code: + determines which coding system is expected for the input + from keyboard. + kanji-display-code: + determines which coding system is used for displaying + characters on terminal. + to-kanji-fileio: + to-ascii-fileio: + to-kana-fileio: + to-kanji-display: + to-ascii-display: + to-kana-display: + [From translater] Sorry but i'm not sure what these are doing. + I'll explain these as early as possible. + + + + list-kanji-codes-briefly: + lists the preference of coding systems used in the selected + buffer on mini-buffer. Binded to C-x C-k c by default. + list-kanji-codes: + lists the preference of coding systems used in the selected + buffer on *Kanji Codes* buffer. Binded to C-x C-k C by + default. + +* 3.2.1 When new buffer created. + +When a new buffer is created, the values of default-kanji-fileio-code, +kanji-input-code and kanji-display-code are applied to the coding systems +of that buffer. + + + + default-kanji-fileio-code: + determines coding system for file I/O of new buffer. + kanji-input-code: + determines which coding system is expected for the input + from keyboard. + kanji-display-code: + determines which coding system is used for displaying + characters on terminal. + + + + set-default-fileio-code: + set default-kanji-fileio-code. Accepts following values. + nil / NIL not set. + 0 / noconv / NOCONV Do not convert. Raw I/O. + 1 / shift-jis / SHIFT-JIS Shift-JIS + 2 / jis / JIS JIS (aka ISO-2022-JP) + 3 / euc / EUC EUC-JP, EUC-KO, EUC-CN + +* 3.2.2 file I/O + +Both kanji-expected-code and kanji-fileio-code (or default-kanji-fileio-code) +affect decision of coding system for file I/O on loading a file, while only +kanji-fileio-code affects which coding system is used on saving to a file. + +As for loading, basically kanji-expected-code is prior to kanji-fileio-code +(or default-kanji-fileio-code) so coding system for file I/O is set to the +value of kanji-expected-code if it is set to either of NOCONV, SHIFT-JIS, JIS +or EUC. +But if the value is T, or the values of both the former and the latter are NIL, +coding system for file I/O is set to the result of automatic recognition of +the coding system of the file. +Besides, if the value of the former is NIL and that of the latter is not NIL, +coding system for file I/O is set to the value of the latter. +Here is a table describing which coding system is adopted for file I/O. + + [kanji-expected-code] + NIL T NOCONV S-JIS JIS EUC + [kanji-fileio-code] + - (NIL) = not set AUTO AUTO NOCONV S-JIS JIS EUC + N (NOCONV) NOCONV AUTO NOCONV S-JIS JIS EUC + S (SHIFT-JIS) S-JIS AUTO NOCONV S-JIS JIS EUC + J (JIS) JIS AUTO NOCONV S-JIS JIS EUC + E (EUC) EUC AUTO NOCONV S-JIS JIS EUC + + AUTO: coding system of the file is automatically recognized. + NOCONV: Do no convert coding system. The same as EUC. + S-JIS: coding system of the file is considered as SHIFT-JIS. + JIS: coding system of the file is considered as JIS. + EUC: coding system of the file is considered as EUC. + +You can change kanji-expected-code temporarily on loading a file with +find-file command (C-x C-f) and find-file-other-window command(C-x 4 C-f), +by giving extra key before these commands, like below. To change the value +permanentally, use set-kanji-expected-code command. + + C-u - C-x C-f set kanji-expected-code to NIL, then load. + C-u C-x C-f set kanji-expected-code to T, then load. + C-u 0 C-x C-f set kanji-expected-code to NOCONV, then load. + C-u 1 C-x C-f set kanji-expected-code to SHIFT-JIS, then load. + C-u 2 C-x C-f set kanji-expected-code to JIS, then load. + C-u 3 C-x C-f set kanji-expected-code to EUC, then load. + +On saving to a file, kanji-fileio-code affects coding system of the file. + + [kanji-fileio-code] + - (NIL) = not set do not convert coding system, just save in EUC. + N (NOCONV) do not convert coding system, just save in EUC. + S (SHIFT-JIS) Convert to Shift-JIS, then save. + J (JIS) Convert to JIS, then save. + E (EUC) do not convert coding system, just save in EUC. + + + kanji-expected-code: + determines which coding system is expected for a loaded file. + kanji-fileio-code: + affects which coding system is used for file I/O. + As for loading a file, kanji-expected-code is prior to this + value if it is set. + + + set-kanji-expected-code: + set kanji-expected-code. Following Values are acceptable. + nil / NIL unset. + t / T automatic recognition. + 0 / noconv / NOCONV Do not convert coding system. + The same as EUC. + 1 / shift-jis / SHIFT-JIS Shift-JIS. + 2 / jis / JIS JIS (aka ISO-2022-JP) + 3 / euc / EUC EUC (EUC-JP/KO/CN) + set-default-fileio-code: + set default-kanji-fileio-code. Following values are acceptable. + nil / NIL unset. + 0 / noconv / NOCONV Do not convert coding system. + 1 / shift-jis / SHIFT-JIS Shift-JIS. + 2 / jis / JIS JIS (aka ISO-2022-JP) + 3 / euc / EUC EUC (EUC-JP/KO/CN) + change-default-fileio-code: + rotate default-kanji-fileio-code by following turns. Binded to + C-x C-k F by default. + NIL -> NOCONV -> SHIFT-JIS -> JIS -> EUC -> NIL + set-kanji-fileio-code: + set kanji-fileio-code. Acceptable values are the same as + set-default-fileio-code. + change-fileio-code. + rotate kanji-fileio-code by the same turns as + change-default-fileio-code. Binded to C-x C-k f by default. + +Talking of JIS encoding (aka ISO-2022-JP), escape sequence for invoking +Kanji is either of ESC-$-@ or ESC-$-B, and that for ASCII is ESC-(-B or +ESC-(-J. This difference matters on saving to a file in JIS encoding. + +To solve this problem, there're internal variables that indicate which +escape sequence is used for saving to a file. + + + to-kanji-fileio: + determines which escape sequence is used for invoking Kanji. + to-ascii-fileio: + determines which escape sequence is used for invoking ASCII. + to-kana-fileio: + determines which escape sequence is used for Japanese Hankaku + Katakana. + + + set-to-ascii-fileio: + set to-ascii-fileio. Following values are acceptable. + 66 / B ESC-(-B + 74 / J ESC-(-J + 72 / H ESC-(-H + set-to-kanji-fileio: + set to-kanji-fileio. Following values are acceptable. + 64 / @ ESC-$-@ + 66 / B ESC-$-B + set-to-kana-fileio: + set to-kana-fileio: Follwoing values are acceptable. + 55 / 7 SO / SI + 56 / 8 through + 73 / I ESC-(-I + +* 3.2.3 Keyboard input + +Like loading a file, input from keyboard may be modified. kanji-input-code +determines expected coding system of keyboard input, and if it's not set to +EUC or NOCONV, coding system of keyboard input is converted to EUC from the +specified coding system. + + + kanji-input-code: + determines which coding system is expected for the input + from keyboard. + + + set-kanji-input-code: + set kanji-input-code. Following values are acceptable. + 0 / noconv / NOCONV do not convert coding system. + 1 / shift-jis / SHIFT-JIS Shift-JIS. + 2 / jis / JIS JIS (aka ISO-2022-JP) + 3 / euc / EUC EUC + change-input-code: + rotate kanji-input-code by following turns. Binded to + C-x C-k i by default. + NOCONV -> SHIFT-JIS -> JIS -> EUC -> NOCONV + +* 3.2.4 Displaying + +Like saving to a file, output to display may be modified. kanji-display-code +determines which coding system is used for display output, and if it's not +set to EUC or NOCONV, coding system of display output is converted to specified +coding system. + + [kanji-display-code] + N (No-conversion) Do not convert. Just output. + S (SHIFT-JIS) Convert to Shift-JIS, then output. + J (JIS) Convert to JIS, then output. + E (EUC) Do not convert, just output. + +If JIS is specified, to-kanji-display and to-ascii-display affect the choice +of escape sequences. + + + kanji-display-code: + determines which coding system is used for displaying + characters on terminal. + to-kanji-display: + determines which escape sequence is used for invoking Kanji. + to-ascii-display: + determines which escape sequence is used for invoking ASCII. + to-kana-display: + determines which escape sequence is used for invoking Japanese + Hankaku Katakana. + + + set-kanji-display-code: + set kanji-display-code. Following values are acceptable. + 0 / noconv / NOCONV No conversion. The same as EUC. + 1 / shift-jis / SHIFT-JIS Shift-JIS. + 2 / jis / JIS JIS + 3 / euc / EUC EUC + change-display-code: + rotate kanji-display-code by following turns. Binded to + C-x C-k d by default. + NOCONV -> SHIFT-JIS -> JIS -> EUC -> NOCONV + set-to-ascii-display: + set to-ascii-display. Following values are acceptable. + 66 / B ESC-(-B + 74 / J ESC-(-J + 72 / H ESC-(-H + set-to-kanji-display: + set to-kanji-display. Following values are acceptable. + 64 / @ ESC-$-@ + 66 / B ESC-$-B + set-to-kana-display: + set to-kana-display: Follwoing values are acceptable. + 55 / 7 SO / SI + 56 / 8 through + 73 / I ESC-(-I + +* 3.3 Latin support + +Compiling Ng without CJK support means Latin support is enabled. Modeline +will tell which support is included. + + -----Mg: *scratch* (fundamental)--All----------- + ^^ ^ +The major difference is a name shown on modeline. With Latin support, the +name would be Mg, the origin of Ng, called MicroGnuEmacs. + +In addition, description of coding systems of each I/O is gone, Because latin +does not require conversion of coding system. + +* 4. Extra features with CJK support + +* 4.1 Basic features + +Ng can handle and use multibyte characters (like Kanji and Hangul) with +following basic features as editor. + + o Insert character(s) (character, string and file) + o Move cursor + o Delete character(s) (character, word and region) + o Search character(s) (search and incremental search) + o Replace character(s) + o Transpose characters + o Fill paragraph + o Auto fill + o Overwrite + o Regular exppression search and replace. + +Ng ported for MS-DOS, Human68k and Win32 supports: + + o file name with multibyte characters. + +Features not mentioned here are not supposed to handle multibyte characters. + +* 4.2 Word + +Ng supports moving and deleting one word. The definition of Latin `word' is +obvious, so only the definition of CJK `word' used by Ng is described here. + + a series of multibyte characters each of which belongs + to the same category, followed by the series of Japanese + Hiragana characters if exist, is regarded as `one word.' + +The mentioned categories of a character are: + + SYMBOL: + Multibyte, non-Hiragana, nin-Katakana, non-Kanji characters. + For example, Punctuation marks and brackets are belong to this. + ALPHABET & NUMBER: + Multibyte characters of alphabets and numbers. + HIRAGANA: + Multibyte Japanese-Hiragana characters. + KATAKANA: + Multibyte Japanese-Katakana characters. + GREEK: + Multibyte Greek characters. + RUSSIAN: + Multibyte Russian characters. + KANJI: + Multibyte Kanji characters. + +Note that currently classifying into these categories depends on Japanese +charsets, so operations by the word on Chinese and Korean may not work +correctly. + +* 4.3 Filling + +Ng has an extra rule on filling a paragraph that contains CJK characters, +which is called word-wrapping. In Japan, word-wrapping is called `kinsoku' +operation, so the name of internal variables and commands regarding +word-wrapping contain kinsoku- part. + +Word-wrapping operations are done by the following scheme. + + 1) If length of a line is over fill-column (internal variable set by + set-fill-column command), the character on the end of the line + moves to the next line. + 2) Two groups of characters affect further operation. One is a group of + characters that should not placed on the beginning of a line, and + the other is a group of characters that should not placed on the end + of a line. If a character on the beginning or the end of a line + belongs to either of these group, one or some characters on the + beginning or the end of the line will be shifted. + + + kinsoku-bol-chars: + consists of characters that should not placed on the beginning + of a line. Following characters are included by default. + !'),-.:;?]_}~ + kinsoku-eol-chars: + consists of characters that should not placed on the end of a + line. Following characters are included by default. + ([{ + + + list-kinsoku-chars: + List kinsoku-bol-chars and kinsoku-eol-chars on + *Kinsoku Chars* buffer. + add-kinsoku-bol-chars: + Add one or more characters to kinsoku-bol-chars. + add-kinsoku-eol-chars: + Add one or more characters to kinsoku-eol-chars. + delete-kinsoku-bol-chars: + Remove one or more characters from kinsoku-bol-chars. + delete-kinsoku-eol-chars: + Remove one or more characters from kinsoku-bol-chars. + +* 4.4 Overwrite + +Overwriting on a multibyte character with a singlebyte character causes +replacement of the second byte of the to-be-overwritten multibyte character +with ASCII space. + +* 5. Other features. + +* 5.1 Show version + +From Ng buffer, ng-version command will tell the version of Ng and built-in +features. + +From command line of shell, type ng -v or ng -c. + +Note: built-in features are described as a compile time options. + +* 5.2 C mode + +Ng has c-mode, like Emacs. Available features are: + + command key function + ------------------------------------------------------------------ + c-mode Enter c-mode. + c-indent-command TAB Adjust indent. + c-newline-and-indent C-j Newline, and adjust indent + lectric-c-brace Insert brace, and adjust indent. + electric-c-brace-blink }, { Insert brace, adjust indent, and + show matched brace. + electric-c-semi : Insert ':', and adjust indent. + electric-c-terminator ; Insert ';', and adjust indent. + +If the name of a file specified by the following commands end with either of +".c", ".C", ".cpp", ".cxx", ".h", ".hpp" or ".hxx", the buffer of the file +automatically enters C mode. + + command key + ------------------------------------------------------- + find-alternate-file C-x C-v + find-file C-x C-f + find-file-other-window C-x 4 C-f, C-x 4 f + find-file-read-only C-x C-r + dired-find-file e, f (in dired mode) + dired-find-file-other-window o (in dired mode) + +This behavior can be changed by use-c-mode command. + +The commands regarding c-mode are listed below. + + command function + ------------------------------------------------------------------ + set-c-argdecl-indent + set-c-auto-newline + set-c-brace-imaginary-offset + set-c-brace-offset + set-c-continued-brace-offset + set-c-continued-statement-offset + set-c-indent-level + set-c-label-offset + set-c-tab-always-indent + list-c-mode-variables Show values of the c-mode variables. + +The c-mode variables and their functions are listed below. + + variables function (default value) + c-argdecl-indent Indent level for the declaration line of + argument of function. (5) + c-auto-newline When either of {, }, : or ; is inserted, + newline automatically gets appended or not. + (nil) + c-brace-imaginary-offset Indent level that `{' after a sentence + is considered to have from the beggining of + the line. (0) + c-brace-offset Indent level added to the line that beggins + with `{' (0) + c-continued-brace-offset Indent level added to the line that beggins + with `{' and has continued statement from the + previous line? (0) + c-continued-statement-offset Indent level added to the line that has + continued statement from the previous + line. (2) + c-indent-level Indent level. + c-label-offset Indent level added to the line of label, case + or default statement. (-2) + c-tab-always-indent TAB is always a trigger for automatic adjust- + ment of indent. (t) + +c-argdecl-indent isn't implemented yet. + +* 5.3 Options + + -f command + Execute the specified command after ng starts. + -I file + Use the specified file as an init file instead of ~/.ng. + +linenumber + Go to the line specified by linenumber. + +* 6.1 Customize + +Ng has an init file like .emacs. This init file lets you customize Ng as you +like. The name of the init file is .ng for UNIX, ng.ini for MS-DOS and +Human68k, and ng-startup for Amiga. + +The syntax of the init file is similar to Emacs Lisp, but please note that +Ng doesn't understand lisp at all. + +Here is an example of init file. + + swap C-h and DEL: + (bsmap-mode) + OR: + (global-set-key "\^h" 'delete-backward-char) + (global-set-key "\^?" 'help-help) + Bind C-\ to set-mark command: + (global-set-key "\^\\" 'set-mark-command) + Set the coding system of keyboard input and display output to + Shift-JIS: + (set-kanji-input-code 'shift-jis) + (set-kanji-display-code 'shift-jis) + Blink cursor at the matching brace: + (global-set-key ")" 'blink-matching-paren-hack) + (global-set-key "}" 'blink-matching-paren-hack) + (global-set-key "]" 'blink-matching-paren-hack) + Bind ESC C-s/ESC C-r to regular expression search: + (global-set-key "\^[\^s" 're-search-forward) + (global-set-key "\^[\^r" 're-search-backward) + General C coding style: + (set-c-argdecl-indent 0) + (set-c-continued-statement-offset 8) + (set-c-indent-level 8) + (set-c-label-offset -4) + (set-c-tab-always-indent nil) + +* 6.2 Settings for Windows (configure) + +.......... + +* 7. Known Bugs + + a) When kanji-input-code is set to JIS, input of ESC is holded so not + considered as a part of commands, because escape sesquence for + invoking Kanji/ASCII also contains ESC. + + b) When length of the fill-prefix string, or length of a word happens + to be longer than fill-column, core dump or hung up must occur. + + c) fill-word and fill-paragraph may not work correctly when there's a + space between multibyte characters and an English word. + +============================================================================= + +* Copyright (C) 2000 Yasuhiro Take + +This document is translated by Yasuhiro Take. +This document is under GNU GPL2. +You can use, copy, modify and redistribute this document under the terms of +GNU GPL2, WITHOUT ANY WARRANTY. + --- ng-1.5~beta1.orig/debian/docs-en/Ng.ref +++ ng-1.5~beta1/debian/docs-en/Ng.ref @@ -0,0 +1,343 @@ +============================================================================== + Ng.ref for Ng + Yasuhiro Take +============================================================================== + Ng reference + -------------------------------------------------------------------------- + 1. Terminate + 2. File + 3. Help + 4. Move + 5. Delete + 6. Insert + 7. Search + 8. Replace + 9. Mark + 10. Window + 11. Buffer + 12. Translate + 13. Filling + 14. Command + 15. Keymap + 16. Dired + 17. C mode + 18. Buffer Menu mode + 19. Kanji + 20. SKG + 21. Others + +============================================================================== + 1. Terminate + -------------------------------------------------------------------------- + save-buffers-kill-emacs C-x C-c + suspend-emacs C-z +============================================================================== + 2. File + -------------------------------------------------------------------------- + + find-file C-x C-f + find-alternate-file C-x C-v + find-file-other-window C-x 4 C-f, + C-x 4 f + find-file-read-only C-x C-r + insert-file C-x i + make-backup-files toggle whether make backup file + or not. + save-buffer C-x C-s + save-some-buffers C-x s + write-file C-x C-w Write to a specified file. + keyboard-quit C-g +============================================================================== + 3. Help + -------------------------------------------------------------------------- + help C-h + help-help C-h C-h + apropos C-h a + describe-bindings C-h b + describe-key-briefly C-h c + keyboard-quit C-g +============================================================================== + 4. Move + -------------------------------------------------------------------------- + forward-char C-f Cursor moves forward one char. + backward-char C-b + forward-word ESC f + backward-word ESC b + end-of-line C-e Move to the end of line. + beginning-of-line C-a Move to the beginning of line. + next-line C-n + previous-line C-p + forward-paragraph ESC ] + backward-paragraph ESC [ + scroll-up C-v + scroll-down ESC v + scroll-other-window ESC C-v + end-of-buffer ESC > Move to the end of buffer. + beginning-of-buffer ESC < + goto-line Go to specified line. + goto-matching-fence Go to matched bracket. + jump-to-error + next-line-add-newlines +============================================================================== + 5. Delete + -------------------------------------------------------------------------- + delete-char C-d + delete-backward-char DEL + kill-word ESC d + backward-kill-word ESC DEL + kill-line C-k + kill-paragraph + kill-region C-w + copy-region-as-kill ESC w + copy-buffer-as-kill + delete-horizontal-space ESC \ + delete-blank-lines C-x C-o + zap-to-char ESC z Delete to the specified char. +============================================================================== + 6. Insert + -------------------------------------------------------------------------- + self-insert-command + quoted-insert C-q Insert control char. + insert + open-line C-o Insert empty line. + yank C-y + insert-buffer + insert-file C-x i + insert-with-wrap + prefix-region insert prefix-string. + set-prefix-string + overwrite-mode toggle overwrite-mode. +============================================================================== + 7. Search + -------------------------------------------------------------------------- + isearch-forward C-s Incremental search forward. + isearch-backward C-r + search-forward ESC s Search forward. + search-backward ESC r + search-again + re-search-forward Regular exp. search forward. + re-search-backward + re-search-again Regular exp. search again. + set-case-fold-search case sensitive search. + keyboard-quit C-g +============================================================================== + 8. Replace + -------------------------------------------------------------------------- + query-replace ESC % Interactive replace. + query-replace-regexp Interactive reg. exp. replace. + SPC, y, Y replace and go to next. + DEL, n, N not replace, go to next. + ESC, C-m end replace. + C-g +============================================================================== + 9. Mark + -------------------------------------------------------------------------- + set-mark-command NUL, C-@ set mark. + exchange-point-and-mark C-x C-x +============================================================================== + 10. Window + -------------------------------------------------------------------------- + recenter C-l + redraw-display + split-window-vertically C-x 2 + other-window C-x o + scroll-other-window ESC C-v + delete-window C-x 0 + delete-other-windows C-x 1 + enlarge-window C-x ^ + shrink-window +============================================================================== + 11. Buffer + -------------------------------------------------------------------------- + list-buffers C-x C-b + switch-to-buffer C-x b + switch-to-buffer-other-window C-x 4 b + kill-buffer C-x k + insert-buffer + not-modified ESC ~ + toggle-read-only C-x C-q + set-default-mode + save-buffer C-x C-s + save-some-buffers C-x s + keyboard-quit C-g +============================================================================== + 12. Translate + -------------------------------------------------------------------------- + downcase-word ESC l + upcase-word ESC u + capitalize-word ESC c upcase the first letter of word + downcase-region C-x C-l + upcase-region C-x C-u + transpose-chars C-t +============================================================================== + 13. Filling + -------------------------------------------------------------------------- + fill-paragraph ESC q + set-fill-column C-x f + set-fill-prefix C-x . + auto-fill-mode toggle auto-fill-mode. + insert-with-wrap + newline RET + newline-and-indent LFD + auto-indent-mode toggle auto-indent-mode. + just-one-space ESC SPC translate sequence of space to + one space? +============================================================================== + 14. Command + -------------------------------------------------------------------------- + execute-extended-command ESC x + start-kbd-macro C-x ( + end-kbd-macro C-x ) + call-last-kbd-macro C-x e + eval-expression + eval-current-buffer + load load command-file. + keyboard-quit C-g +============================================================================== + 15. Keymap + -------------------------------------------------------------------------- + define-key define keymap. + global-set-key set key bind. + global-unset-key + local-set-key set buffer-specific key bind. + local-unset-key + bsmap-mode swap C-h and Backspace. + meta-key-mode Toggle meta-key-mode. +============================================================================== + 16. Dired + -------------------------------------------------------------------------- + dired C-x d + dired-backup-unflag DEL + dired-copy-file c + dired-do-deletions x delete marked file. + dired-do-shell-command Run the file. + dired-find-file e, f + dired-find-file-other-window o + dired-flag-backup-files ~ + dired-flag-file-deleted d, C-d mark the file as deleted. + dired-other-window + dired-rename-file r + dired-unflag u + dired-view-file v +============================================================================== + 17. C mode + -------------------------------------------------------------------------- + use-c-mode Enter C-mode automatically or + not. + c-mode + c-indent-command TAB + c-indent-region + c-newline-and-indent LFD + electric-c-brace + electric-c-brace-blink }, { + electric-c-semi : + electric-c-terminator ; + list-c-mode-variables + set-c-argdecl-indent + set-c-auto-newline + set-c-brace-imaginary-offset + set-c-brace-offset + set-c-continued-brace-offset + set-c-continued-statement-offset + set-c-indent-level + set-c-label-offset + set-c-tab-always-indent +============================================================================== + 18. Buffer Menu mode + -------------------------------------------------------------------------- + Buffer-menu-this-window f + Buffer-menu-delete d + Buffer-menu-unmark u + Buffer-menu-execute x +============================================================================== + 19. Kanji + -------------------------------------------------------------------------- + list-kanji-codes C-x C-k C + list-kanji-codes-briefly C-x C-k c + change-default-fileio-code C-x C-k F + change-fileio-code C-x C-k f + change-input-code C-x C-k i + change-display-code C-x C-k d + set-default-fileio-code + set-kanji-expected-code + set-kanji-fileio-code + set-kanji-display-code + set-kanji-input-code + set-to-kanji-fileio + set-to-ascii-fileio + set-to-kanji-display + set-to-ascii-display + list-kinsoku-chars + add-kinsoku-bol-chars + add-kinsoku-eol-chars + delete-kinsoku-bol-chars + delete-kinsoku-eol-chars + set-fep-control + change-fep-control + fep-toggle C-\ +============================================================================== + 20. SKG (Simple Kanji Generator) + -------------------------------------------------------------------------- + skg-input ESC C-k Japanese Kanji Input Method. + (converting mode) + SPC Convert + RET Not convert. + C-g quit SKG. + C-\ toggle input mode. + (select candidacy) + RET Insert the current candidacy. + SPC Next candidacy. + C-n Next candidacy. + C-p Previous Candidacy. + C-g Back to input mode. + set-skg-roman-dictionary set Romaji-Kana converting dic. + set-skg-kanji-dictionary set Kana-Kanji converting dic. +============================================================================== + 21. Others + -------------------------------------------------------------------------- + blink-matching-paren toggle blink-matching-paren + blink-matching-paren-hack + configure Windows setting mode. + count-lines-page C-x l Count lines of buffer. + count-lines-region ESC = + count-matches Count lines that match for + reg. exp. + count-non-matches Count lines that don't match + for reg. exp. + delete-matching-lines Delete lines that match for + reg. exp. + delete-non-matching-lines Delete lines that don't match + for reg. exp. + undo C-x u Undo. + emacs-version + ng-version + pwd show current directory. + cd move directory. + what-cursor-position C-x = Show a type of the char. + shell-command ESC ! + j31-set-cursor + ibmpc-set-cursor + set-tab-width + set-default-tab-width + set-c-tab-width + compile compile program. + next-error Jump to the line. + amiga-iconify + amiga-menu + amiga-mode-background + amiga-mode-foreground + amiga-mode-rendition + amiga-set-font + amiga-text-background + amiga-text-foreground + amiga-text-rendition + amiga-toggle-boarder + amiga-zoom-mode + + + + + + + + --- ng-1.5~beta1.orig/debian/docs-en/README.Ng +++ ng-1.5~beta1/debian/docs-en/README.Ng @@ -0,0 +1,109 @@ +============================================================================= + README.Ng for Ng 1.4 + Yasuhiro Take +============================================================================= + +* 1. About Ng + +See Ng.doc. + +* 2. Make & Install + +This section explains the way to compile on UNIX OS only. For Other OS, +please see README.* that is written for the specific OS. + + 1) Extract the archive. + + 2) For BSD systems, type + ln sys/bsd/Makefile . + For System V systems, type + ln sys/sysv/Makefile . + + 3) Enabling/Disabling compile time options are all performed in + config.h. By default, all available options are enabled. Change + them as you like. + + Default preference of coding systems is defined in kinit.h. Details + about coding systems are written in Ng.doc, so please read it if + necessary. + + 4) Type make. + + 5) copy ng to the prefered directory, say /usr/bin. + +3. Manual & Tutorial + +Ng.tut is a tutorial for using Ng. You will get used to ng by reading it and +following the instructions. + +Ng.ref is a list of all of the commands probably available in Ng. `Probably' +means that available commands are depend on the compile time options. + +Ng.doc is the most detailed document, which explains CJK supports, internal +operations of Ng and so forth. Functions of Ng that aren't written in this +document are supposed to be written in mg.tex. + +4. Copyright + +Ng is free software. You can use, modify and redistribute this program. +For commercial use, I hope the contact is made with me, but this is not +a condition. Any loss of profit or damage by using this program is not +in charge with me. + +Mg, the origin of Ng is largely Public Domain Sofrware, so it doesn't have +the copyright restrictions. + +However, Mg includes some GPLed(GNU GPL1) files, which are related to regular +expression. They were copyrighted by Richard M. Stallman. To avoid GNU GPL1 +restrictions, replace re_search.c, regex.h and regex.c files with empty files. + +Original Mg includes more copyrighted files, which are VMS/primos termcap +routines and the amiga specific routines. These are excluded from Ng. + +FEP control library, which consists of fepctrl.c and fepcsub.asm written by +Jun Oota is Public Domain Software. +Termcap library for MS-DOS (termcap.c) is also Public Domain. + +5. Author + +Dave Conroy older version of MicroEmacs, v30 +Dave Brower older version of Mg +Bob Larson current version of Mg +Mic Kaczmarczik current version of Mg +Mike Meyer current version of Mg +Sandra Loosemore current version of Mg +Michael Portuesi current version of Mg +Stephen Walton current version of Mg +Marion Hakanson current version of Mg +Shigeki Yoshida Japanization(forking to Ng), additional functions that + aren't mentioned below, documents, Ng for MS-DOS, + Ng for J-3100 +Kazuhiro Takano Ng for PC-9801, C mode, FEP control +Akihiro Shirohashi faster version for PC-9801, Turbo-C version +Kaoru Maeda completion on file names, shell-command, bug fixes +Yoshiro Sawayanagi Ng for X68000, completion +Shigehiko Sasaki singlebyte Japanese Katakana +H. Ohkubo Ng for AMIGA +Hirokazu Konishi Ng for AMIGA, Simple Kanji Generator +Eiichiro Ito Ng for English version of WinCE +Toru Imai Ng for Japanese version of Win32, dir controling +Yasuhiro Endo canna +Yuji Kakugawa edit on minibuffer +Atsushi Muramatsu current maintainer of Ng + +6. Bug Report + +Bug reports and wishlists are always welcome. Please write send an e-mail to: + amura@ma3.seikyou.ne.jp + +Known bugs are: + +a) When kanji-input-code is set to JIS, input of ESC is holded so not + considered as a part of commands, because escape sesquence for + invoking Kanji/ASCII also contains ESC. + +b) When length of the fill-prefix string, or length of a word happens + to be longer than fill-column, core dump or hung up must occur. + +c) fill-word and fill-paragraph may not work correctly when there's a + space between multibyte characters and an English word. --- ng-1.5~beta1.orig/debian/docs-en/dot.ng +++ ng-1.5~beta1/debian/docs-en/dot.ng @@ -0,0 +1,44 @@ +; $Id: dot.ng,v 1.1.1.1 2000/06/27 01:47:57 amura Exp $ +; +; Ng startup file by H.Ohkubo +; Modified by Yasuhiro Take +; +; move cursor with cursor key. +(global-set-key "\^[[A" 'previous-line) +(global-set-key "\^[[B" 'next-line) +(global-set-key "\^[[C" 'forward-char) +(global-set-key "\^[[D" 'backward-char) +; +; no backup file. +;(make-backup-files nil) +; switch C-h and Backspace. +(bsmap-mode) +; CJK-Canna only: toggle canna-mode with C-\ +;(global-set-key "\^\\" 'canna-toggle) +; +; CJK only: set default encoding of file to EUC. +(set-kanji-expected-code nil) +(set-default-fileio-code 'euc) +;(set-kanji-fileio-code 'euc) +; +; settings for c-mode. +(set-c-argdecl-indent 0) +(set-c-continued-statement-offset 4) +(set-c-continued-brace-offset -4) +(set-c-brace-offset -4) +(set-c-brace-imaginary-offset 0) +(set-c-indent-level 4) +(set-c-label-offset -2) +(set-c-tab-always-indent t) +; +; set regular-exp. re-search +(global-set-key "\^[\^s" 're-search-forward) +(global-set-key "\^[\^r" 're-search-backward) +; +; Others. +(global-set-key "\^[g" 'goto-line) +;(set-fill-column 66) +(global-set-key ")" 'blink-matching-paren-hack) +(global-set-key "}" 'blink-matching-paren-hack) +(global-set-key "]" 'blink-matching-paren-hack) + --- ng-1.5~beta1.orig/debian/dot.ng +++ ng-1.5~beta1/debian/dot.ng @@ -0,0 +1,56 @@ +; $Id: dot.ng,v 1.1.1.1 2000/06/27 01:47:57 amura Exp $ +; +; Ng startup file by H.Ohkubo +; Modified by Yasuhiro Take +; +; 矢印キーでカーソル移動できるようにする +(global-set-key "\^[[A" 'previous-line) +(global-set-key "\^[[B" 'next-line) +(global-set-key "\^[[C" 'forward-char) +(global-set-key "\^[[D" 'backward-char) +; +; バックアップファイルを作らない +;(make-backup-files nil) +; Backspace と C-h を入れ換える +(bsmap-mode) +; C-\ でかんなモードの On/Off +;(global-set-key "\^\\" 'canna-toggle) +; +; 漢字コード自動認識、デフォルトはEUC +(set-kanji-expected-code nil) +(set-default-fileio-code 'euc) +;(set-kanji-fileio-code 'euc) + +; 禁則文字の設定 +(add-kinsoku-bol-chars "、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝") +(add-kinsoku-bol-chars "々〆〇ー―‐/\〜‖|…‥’”)〕]}〉》」』") +(add-kinsoku-bol-chars "】°′″℃ぁぃぅぇぉっゃゅょゎァィゥェォッャュ") +(add-kinsoku-bol-chars "ョヮヵヶ") +(add-kinsoku-eol-chars "‘“(〔[{〈《「『【°′″℃@§") + +; 行詰めの設定 + +(set-fill-column 66) + +; +; c-mode の設定 +(set-c-argdecl-indent 0) +(set-c-continued-statement-offset 4) +(set-c-continued-brace-offset -4) +(set-c-brace-offset -4) +(set-c-brace-imaginary-offset 0) +(set-c-indent-level 4) +(set-c-label-offset -2) +(set-c-tab-always-indent t) +; +; set regular-exp. re-search +(global-set-key "\^[\^s" 're-search-forward) +(global-set-key "\^[\^r" 're-search-backward) +; +; その他の設定 +(global-set-key "\^[g" 'goto-line) +;(set-fill-column 66) +(global-set-key ")" 'blink-matching-paren-hack) +(global-set-key "}" 'blink-matching-paren-hack) +(global-set-key "]" 'blink-matching-paren-hack) + --- ng-1.5~beta1.orig/debian/menu +++ ng-1.5~beta1/debian/menu @@ -0,0 +1,2 @@ +?package(ng-common):needs="text" section="Applications/Editors"\ + title="Ng" command="/usr/bin/ng" --- ng-1.5~beta1.orig/debian/ng +++ ng-1.5~beta1/debian/ng @@ -0,0 +1,44 @@ +#!/bin/bash +# Copyright (c) 2000 Yasuhiro Take +# Copyright (c) 1999 Fumitoshi UKAI +# Copyright (c) 1999 Jacobo Tarrio Barreiro +# This program is covered by the GNU General Public License version 2 +# + +if [ -n "$NG" ]; then + test -x /usr/bin/$NG && exec /usr/bin/$NG "$@" +fi + +test -x /usr/bin/ng-cjk-canna && NG=/usr/bin/ng-cjk-canna +test -x /usr/bin/ng-cjk && NG=/usr/bin/ng-cjk +test -x /usr/bin/ng-latin && NG=/usr/bin/ng-latin + +if [ -x /usr/bin/locale ]; then + eval `locale` +fi +locale=${LC_ALL:-$LANG} + +case X"$locale" in + Xja|Xja_JP|Xja_JP.*) + [ -x /usr/bin/ng-latin ] && NG=/usr/bin/ng-latin + [ -x /usr/bin/ng-cjk ] && NG=/usr/bin/ng-cjk + [ -x /usr/bin/ng-cjk-canna ] && NG=/usr/bin/ng-cjk-canna + ;; + Xko|Xko_KR|Xko_KR.*|Xzh|Xzh_CN|Xzh_CN.*) + [ -x /usr/bin/ng-latin ] && NG=/usr/bin/ng-latin + [ -x /usr/bin/ng-cjk-canna ] && NG=/usr/bin/ng-cjk-canna + [ -x /usr/bin/ng-cjk ] && NG=/usr/bin/ng-cjk + ;; + *) + [ -x /usr/bin/ng-cjk-canna ] && NG=/usr/bin/ng-cjk-canna + [ -x /usr/bin/ng-cjk ] && NG=/usr/bin/ng-cjk + [ -x /usr/bin/ng-latin ] && NG=/usr/bin/ng-latin + ;; +esac + +if [ -n $NG ]; then + exec $NG "$@" +else + echo "Neither ng-latin, ng-cjk, nor ng-cjk-canna found." + echo "Please install what you prefer." +fi --- ng-1.5~beta1.orig/debian/ng-cjk-canna.dirs +++ ng-1.5~beta1/debian/ng-cjk-canna.dirs @@ -0,0 +1 @@ +usr/bin --- ng-1.5~beta1.orig/debian/ng-cjk-canna.links +++ ng-1.5~beta1/debian/ng-cjk-canna.links @@ -0,0 +1,2 @@ +usr/share/man/man1/ng.1.gz usr/share/man/man1/ng-cjk-canna.1.gz +usr/share/doc/ng-common usr/share/doc/ng-cjk-canna --- ng-1.5~beta1.orig/debian/ng-cjk.dirs +++ ng-1.5~beta1/debian/ng-cjk.dirs @@ -0,0 +1 @@ +usr/bin --- ng-1.5~beta1.orig/debian/ng-cjk.links +++ ng-1.5~beta1/debian/ng-cjk.links @@ -0,0 +1,2 @@ +usr/share/man/man1/ng.1.gz usr/share/man/man1/ng-cjk.1.gz +usr/share/doc/ng-common usr/share/doc/ng-cjk --- ng-1.5~beta1.orig/debian/ng-latin.dirs +++ ng-1.5~beta1/debian/ng-latin.dirs @@ -0,0 +1 @@ +usr/bin --- ng-1.5~beta1.orig/debian/ng-latin.links +++ ng-1.5~beta1/debian/ng-latin.links @@ -0,0 +1,2 @@ +usr/share/man/man1/ng.1.gz usr/share/man/man1/ng-latin.1.gz +usr/share/doc/ng-common usr/share/doc/ng-latin --- ng-1.5~beta1.orig/debian/ng.1 +++ ng-1.5~beta1/debian/ng.1 @@ -0,0 +1,79 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH NG 1 "August 31, 2000" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ng \- small lightweight Emacs-like editor +.SH SYNOPSIS +.B ng +.RI [ options ] " files" ... +.SH DESCRIPTION +.B ng +is Nihongo Mg, MicroGnuEmacs. This name indicates it is +Japanized version of Mg. It can handle ASCII, ISO-2022-JP, +Shift-JIS, and EUC-JP as well as EUC-KR and EUC-CN(GB and CNS), +while Latin are also supported. Be aware these CJK support and +Latin support are exclusive. +.PP +\fBng\fP is just a wrapper script. It calls either ng-latin, +ng-cjk or ng-cjk-canna according to locale-related environmental +variable, LC_ALL and LANG. If you want to override this act, +You can use an environmental variable NG. Set this to what you +prefer among the ng families. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.\" \fBng\fP is a program that... +.SH OPTIONS +.TP +.B \-v +Show version of ng. +.TP +.B \-c +Show version and built-in features of ng. +.TP +.BI \-f " command" +Execute the specified command after ng starts. +.TP +.BI \-I " file" +Use the specified file as an init file instead of ~/.ng. +.TP +.B \+ number +Go to the line specified by +.I number +(do not insert a space between the "+" sign and +the number). +.PP +.SH FILES +/usr/bin/ng-latin - Latin-supported binary. + +/usr/bin/ng-cjk - CJK-supported binary. + +/usr/bin/ng-cjk-canna - CJK & canna-supported binary. +.PP +.SH VARIABLES +\fBNG\fP \- should be set to either ng-latin, ng-cjk or ng-cjk-canna. +This value is prior to others. + +\fBLC_ALL\fP \- prior to LANG. + +\fBLANG\fP \- These locale-related variables control which ng is +to be called. +.PP +.SH AUTHOR +This manual page was written by Yasuhiro Take , +for the Debian GNU/Linux system (but may be used by others). --- ng-1.5~beta1.orig/debian/postinst +++ ng-1.5~beta1/debian/postinst @@ -0,0 +1,36 @@ +#! /bin/sh +# postinst script for ng +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +if [ "$1" = "configure" ]; then + update-alternatives --install /usr/bin/editor editor /usr/bin/ng 80 +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- ng-1.5~beta1.orig/debian/prerm +++ ng-1.5~beta1/debian/prerm @@ -0,0 +1,29 @@ +#! /bin/sh +# prerm script for ng +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove editor /usr/bin/ng +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- ng-1.5~beta1.orig/debian/rules +++ ng-1.5~beta1/debian/rules @@ -0,0 +1,156 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# +# This version is for a hypothetical package that builds an +# architecture-dependant package, as well as an architecture-independent +# package. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DOCDIR = usr/share/doc/ng-common + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + dh_autotools-dev_updateconfig + + # Add here commands to compile the package. + + -mv -f config.h config.h.orig + + # vanilla ng-latin + cp -p debian/config-latin.h config.h + ./configure + $(MAKE) + mv ng ng-latin + $(MAKE) confclean + + # ng-cjk + cp -p debian/config-cjk.h config.h + ./configure + $(MAKE) + mv ng ng-cjk + $(MAKE) confclean + + # ng-cjk-canna + cp -p debian/config-cjk-canna.h config.h + ./configure --enable-canna + $(MAKE) CANNADEF="-DCANNA" CANNALIB="-lcanna" + cp -p ng ng-cjk-canna + + -mv -f config.h.orig config.h + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) confclean + rm -f ng-latin ng-cjk ng-cjk-canna ng + + dh_autotools-dev_restoreconfig + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -A + + # Add here commands to install the package into debian/tmp. + #$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + install -m 755 ng-latin $(CURDIR)/debian/ng-latin/usr/bin + install -m 755 ng-cjk $(CURDIR)/debian/ng-cjk/usr/bin + install -m 755 ng-cjk-canna $(CURDIR)/debian/ng-cjk-canna/usr/bin + install -m 755 debian/ng $(CURDIR)/debian/ng-common/usr/bin + + install -m 644 docs/CHANGES.doc $(CURDIR)/debian/ng-common/$(DOCDIR)/ja + install -m 644 docs/Ng.FAQ $(CURDIR)/debian/ng-common/$(DOCDIR)/ja + install -m 644 docs/Ng.ref $(CURDIR)/debian/ng-common/$(DOCDIR)/ja + install -m 644 docs/Ng.tut $(CURDIR)/debian/ng-common/$(DOCDIR)/ja + install -m 644 docs/README.Ng $(CURDIR)/debian/ng-common/$(DOCDIR)/ja + install -m 644 docs/README $(CURDIR)/debian/ng-common/$(DOCDIR)/Mg + install -m 644 docs/mg* $(CURDIR)/debian/ng-common/$(DOCDIR)/Mg + install -m 644 debian/docs-en/* $(CURDIR)/debian/ng-common/$(DOCDIR)/en + install -m 644 debian/dot.ng $(CURDIR)/debian/ng-common/$(DOCDIR)/ja + + #dh_movefiles + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: DH_OPTIONS=-i +binary-indep: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron + dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs + + rm -rf $(CURDIR)/debian/ng-cjk/usr/share/doc/ng-cjk + rm -rf $(CURDIR)/debian/ng-cjk-canna/usr/share/doc/ng-cjk-canna + rm -rf $(CURDIR)/debian/ng-latin/usr/share/doc/ng-latin + dh_link + + dh_compress + dh_fixperms + dh_installdeb +# dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +# Pass -a to all debhelper commands in this target to reduce clutter. +binary-arch: DH_OPTIONS=-a +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf +# dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit + dh_installcron +# dh_installmanpages + dh_installinfo +# dh_undocumented +# dh_installchangelogs + dh_strip + dh_link + dh_compress + dh_fixperms + dh_installdeb +# dh_makeshlibs +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install +