ng - small lightweight Emacs-like editor
Contents
Description
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.
ng 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.
Files
/usr/bin/ng-latin - Latin-supported binary.
/usr/bin/ng-cjk - CJK-supported binary.
/usr/bin/ng-cjk-canna - CJK & canna-supported binary.
Name
ng - small lightweight Emacs-like editor
Options
-v Show version of ng.
-c Show version and built-in features of ng.
-fcommand
Execute the specified command after ng starts.
-Ifile
Use the specified file as an init file instead of ~/.ng.+number
Go to the line specified by number (do not insert a space between the "+" sign and the number).
Synopsis
ng [options] files...
Variables
NG - should be set to either ng-latin, ng-cjk or ng-cjk-canna. This value is prior to others.
LC_ALL - prior to LANG.
LANG - These locale-related variables control which ng is to be called.
