KashEDIT for OS/2(R), Version 0.98 Release 3.00 (delta 2) Feb. 4.2000 Chiaki [About our manual] * ^C means to push the key of C with pushing a CTRL key. * ^KC means to push the key of K and C in turn with pushing a CTRL key. * SHIFT+BS means to push BS with pushing a SHIFT key. * ESC C means to After ESC is pushed, it lets a hand go once, and push the key of C next. * Both operation means to be effective when it is divided with comma(,) such as ^QS, Home and it rivals plural. * A Shift JIS Kanji code is decided to be shown when an expression to say easily [the "kanji"] is used. * I think Because proportional font was popularized, the distinction of Zenkaku/Hankaku by the width of the font design is wrong. But, the character expressed with Double bytes is called "Zenkaku", and the character expressed in the single byte is called "Hankaku" because it follows a Japanese custom. * Think the indication of Zenkaku to be the thing of the ShiftJIS kanji. * The key arrangement of our manual makes a KE/2 standard the target. [Start and completion ] * How to start KE/2 KE/2 is full screen editor of OS/2 VIO window. Start KE.EXE from OS/2 command prompt. * Don't make me do a back ground start by detach. telnet Though even a connection moves, it can't be recommended. Example: > [C:\]ke > [C:\]ke file1 > [C:\]ke file1 file2 > [C:\]ke file1 file2 file3 KE/2 can open a file to 256. All files are arranged in the command line argument, Or read it from the menu after the start. When only a file name was specified, The complement of the expansion child is done in order of .c .h .asm .txt .log .doc .ini .inc .bat .cmd .cpp .cxx .hpp .hxx .htm .html, and The file found first is opened. When it isn't found, it opens as a new file. A file name input window is opened when a file name isn't specified when it starts. +-- Open File: -----------------------+ |filename_ | +-------------------------------------+ Divide it with the space or the tab when you describe more than one file name here.Enclose it with the single quote(') or the double quotes(") when you specify the file name which contains space. Simple Filer is started when the input which contains a directory name or wildcard(*,?) if ENTER is pushed is done without inputting what here, too. Filer can be opened directly without opening a file name input window when wildcard is included in the first argument of KE/2. ESC is pushed to come out through Filer. It is finished without opening Editor when ESC is pushed by the file name input window. It learned to specify more than one pass mask from gamma 4. Example> ke c:\home\*.c *.h And, wildcard is developed, and all the appropriate files are read when the file that even one can open in the argument exists. Example> ke ke.h *.c * Parameters When '/' Slash or '-' Hyphen is put, it is recognized as an option. The options to recognize at present are only all the items which can be set up by the .ini file, and /R. When it is made /R filename, the file of filename is opened with Read Only Mode. Example> ke /MONO=1 ke.c /R ke.bak ### Don't vacate a blank between / and the option. Even if a blank is vacated, it doesn't care about = and the back of the option. It doesn't care as for /R even if a blank is put between the file names or it isn't put. Example> ke /MONO = 1 /Rfilename * How to Exit KE/2 There is a way that it is finished 4 kinds. There is operation 10 kinds. ESC C Close File A file during editing is closed. ESC Q Close All An edited file closes all with hearing whether it being kept. ESC X Condition-less completion All files are closed without hearing what, too. F1 File Menu C lose Same to ESC C Q :close all Same to ESC Q X quit Same to ESC X ALT+C Same to ESC C ALT+Q Same to ESC Q ALT+X Same to ESC X Compulsory completion byCTRL+Pause(Break) ### Break treatment is not in. Note) ESC X It closes without keeping even the file changed when it did. * How to operate Operation in Filer ESC Returned to the file name input window. ^W, ^E, Up A cursor is moved onto one line. ^Z, ^X, Down A cursor is moved under one line. A A choice (choice release) does all files. SPACE The file which a cursor shows is chosen. ENTER * When there is a file of choosing even one. A chosen file is opened. * When a cursor is on the directory name. The list of the directory is opened. * When a cursor is on the file name. A file is opened. ^QR, Home A cursor is moved to the head of the file list. ^QC, End A cursor is moved to the end of the file list. ^R, PageUp A cursor is moved to the one-page top in file list. ^C, PageDown A cursor is moved to the one-page bottom in file list. BS It changes to the directory of the one upper class. L The change of the indication drive # It becomes ineffective when it changes a directory even if a file is chosen. Operation with Editor ^W, SHIFT+PageUp A cursor isn't moved, the bottom of the indication party ^Z, SHIFT+PageDown A cursor isn't moved, the top of the indication party ^QE Cursor, to the top of the screen ^QX Cursor, to screen bottom ^E, Up Cursor, in one line ^X, Down Cursor, under one line ^S, Left Cursor, the one-character left ^D, Right Cursor, the one-character right ^F Cursor, the right of 1 word *1 ^A Cursor, the left of 1 word *1 ^R, PageUp Cursor, one-page rise, Previous word(At the reference mode) ^C, PageDown Cursor, one-page going down, Next word(At the reference mode) ^QR, CTRL+PageUp File head line ^QC, CTRL+PageDown File final line ^QS, Home Line head ^QD, End The end of the line ^QT, SHIFT+BS A line head is cut from the cursor. ^QY, SHIFT+DEL It is cut from the cursor until the end of the line. ^QJ It jumps to the designated line. ESC O, ALT+O Opening of the file ESC I, ALT+I A file is read in the cursor position. ESC A, ALT+A It is added to the existent file. ESC S, ALT+S A name is given and kept. ESC E, ALT+E The practice of CMD.EXE ESC P, ALT+P The change of the file name ESC D, ALT+D It turns double. ^KR Toggle of the Read Only/Editing mode ^H, BS One left character of the cursor is erased. ^G, DEL One character under the cursor is erased. ^V, INS Toggle of the insertion/replacement mode (Line Cursor=insertion/Block Cursor=replacement mode) ^2, SHIFT+INS Toggle of the reference mode/editing mode F1 File menu SHIFT+F1 Mode menu ^KW, F2 An editing file is changed when more than one file is being opened. F3 Editing file switch SHIFT+F3 Comparison: Two files are compared when more than one file is being opened.A cursor is moved to the difference line if it is always compared from the head line and there is a difference. ^KS, F4 An editing window is make to toggle with all the screens,side division,vertical division. ^QF The input of reference word. F5 Reference (The continuous movement of ^QF, ^C and same ) SHIFT+F5 Tag Jump: When it was there by not becoming file name numerical value on the line(Indication line) which a cursor showed.The file is opened, and it jumps to the line which numerical value shows.But, numerical value opens the 2nd line of the file abc even if it is specified like abc2(100) when the file of abc, abc2 exists because it is recognized with the line number. ^QI Reference word is inserted into the cursor position. ^QA, F6 The substitution of the character line ^QO, SHIFT+F6 The last substitution is carried out again. ^B, F8 It moves to the block choice mode. ^KB, SHIFT+F8 It moves to the rectangle block choice mode. ^KK, F9 Line or the memory of the block ^KE, SHIFT+F9 A block is transferred to the OS/2 clip board. (copy 2) ^Y, F10 Line or the cut of the block ^KX, SHIFT+F10 A block is transferred to the OS/2 clip board. (cut 2) ^KC,F11 A line is affixed. (A line feed is contained.) ^KP, SHIFT+F11 It is affixed from the OS/2 clip board. (A line feed is contained.) ^J, F12 A line is affixed. (A line feed isn't contained.) ^QP, SHIFT+F12 It is affixed from the OS/2 clip board. (A line feed is't contained.) ^T Word elimination ^KD The reproduction of the line ^U Undo ^QK The parenthesis which copes with it. ()<>[]{}(and double bytes parenthesis) A cursor must be on the parenthesis. ^QU The capital letter small letter mutual change of Hankaku is done in word unit. ^KZ Hankaku Zenkaku mutual change is done in word unit. ^KY Text stack is cleared. ^KU Undo buffer is cleared. ^L The acquisition of the reference character line (Word wrap and a character line after the line feed aren't acquired.) CTRL+ALT+T Date insertion‚P (A character line insertion like March.26.1999) CTRL+ALT+D Date insertion‚Q (A character line insertion like '99/03/26 ) (It is coping with it for only 1980-2079 years.) ^KJ In the block choice line, quotation marks insertion(Default quotation marks are '> ') CTRL+ALT+Up The input of Zenkaku Up Arrow character CTRL+ALT+Down The input of Zenkaku Down Arrow character CTRL+ALT+Left The input of Zenkaku Left Arrow character CTRL+ALT+Right The input of Zenkaku Right Arrow character ^] The input of Zenkaku parenthesis # One left character of the cursor is lost when it closes and it is inputted on the parenthesis. * Operation in party input editor They are input of a file name, the thing of the reference/substitution character line input window. CR An input character line is confirmed, and party input Editor is closed. ESC An input character line is annulled, and party input Editor is closed. Up, Down hisotry is called. Down An input character line is annulled when it is done while the last character line is indicated. Left A cursor is moved to the left one character. Right A cursor is moved to the right one character. Home A cursor is moved to the beginning of the sentence. End A cursor is moved to the end of the sentence. ^H, BS The left one character of the cursors is removed. ^G, DEL One character under the cursor is erased. ^V, INS Toggle of the insertion/replacement mode * Customization Even if customization is said, it can't always play with key binds. The mode(The thing of SHIFT+F1) of the present is outputted with CTRL+ALT+S in the .INI file. It doesn't need to set it up any more by editing this outputted file by the mode menu every time. But, start time becomes slow so long as an establishment file is read. "All items can't be always outputted." Therefore, rename compatriot's sampe.ini, and use it as a sample.(**) The item which a menu doesn't have can be set up by this establishment file, too. 1 turns on the thing of ON/ off, and 0 becomes off as for the establishment here. All items aren't prepared for, and it is possible that only a necessary item is described, too. A back from the semicolon(;) is recognized with the comment and ignored. .INI becomes a start file name +.INI. ExamplejDefault becomes ke.ini because it is ke.exe. But, it goes to read vz.ini when it rename ke.exe to vz.exe. The explanation of the .INI file item ADDEOF = 0 EOF (0x1a) is added at the time of the file preservation. Default off (0) DISPTAB = 0 TAB Indication ON/OFF Default off (0) DISPCR = 1 Line feed mark ON/OFF Default on (1) DISPEOF = 1 EOF Indication ON/OFF Default on (1) AUTOINDENT = 0 AUTO Indent Default off (0) LINENUMBER = 0 Line number Indication i*delta 2 hasn't been mounted at present.) Default off (0) UNDERLINE = 0 Cursor line underline Default off (0) BACKUP = 1 A backup is made at the time of the file preservation. Default on (1) *.bak It is made. TABSIZE = 8 The space development size of 1TAB (From 1) Default 1 tab = 8 spaces WINDOW = 80 The width of the screen,wrapped in this size. It becomes screen size when it is made 0. WRAP = 0 Word wrap reference Default off (0) It is looked up from the head of the file after it is looked up to the file end in the case of on. CSRJUMP = 1 Cursor, to the head of the block Default on (0) It is made to jump at the time of the block copy, the paste ( the cursor ) to the head of the block. COPY = "> " Quotation marks They are the quotation marks to insert with ^KJ. Enclose it with the double quotes(") or the single quote(') when space is contained. Default "> " ( > + 3 spaces ) SHELL = "nyaos.exe" (*2)(*3) Shell to call by the practice of the OS/2 command can be specified.Because it is only called simply as a child process, it is possible that an executive file except for shell is specified, too. Enclose the pass which contains space with the double quotes (") or the single quotes ('). It faces shell by enclosing it with the quotes, and it is possible that a command line option is specified, too. When SHELL designation isn't done here, shell specified by the environment COMSPEC is carried out. Both designation carries out CMD.EXE when it isn't being done. When both are specified, .INI is given priority to. KEBAK = "dir" The place of the preservation of the backup file can be specified.(*2) Enclose the pass which contains space with the double quotes (") or the single quotes ('). When it is specified including the drive name, the backup of editing in all the drives is kept in the single drive. When KEBAK isn't specified, a backup is made to the directory specified by the environment KEBAK. When both are specified, the environment is given priority to. When either isn't specified again, the backup of changing an expansion child into .bak to the directory which was the same as the editing file is made. NotejA backup isn't made when an ineffective pass is specified. It doesn't warn of what thing at this time. MONO = 1 It is indicated by black and white 2 value when it is set up when the notebook PC of black and white and CRT are used. telnet It is good when it is set up when it is used to go. (*4) C.* = n An indication color can be specified. When the black and white mode is set up, there are no relations in the color customization, and it is indicated by black and white. The place where color designation is possible C.TB The back of the text area C.TX Text color C.CR Line feed color C.TAB TAB color C.EOF EOF color C.SEL Choice block C.UL Under line C.LN Line number C.WIN Window line C.LB Window label C.MB The background of menu C.MT Text of menu C.ST Text of status bar C.SBN Status bar(Normal) C.SBR Read Only Status bar C.SBV View Mode Status bar C.FN Status bar,backgorund of filename C.FB Background of function key guide C.FT Text of function key guide C.MSG Message Value of n (0 - 15 are specified with Hankaku number of the number of decimal) 0 BLACK 1 BLUE 2 GREEN 3 CYAN 4 RED 5 MAGENTA 6 BROWN 7 PALEGRAY 8 DKGREY 9 LBLUE 10 LGREEN 11 LCYAN 12 LRED 13 LMAGENTA 14 YELLOW 15 WHITE NEC = n 552 of NEC PC-98x1 should be able to indicate the indication of function key guide from 444 of the default. VZFN = n VZ Editor conformity can have the arrangement of the function assigned to function key.(*5,*6) *1 A still unnatural movement is done because the distinction of word is done with the character kind (in such cases as the Hankaku sign, the number, the katakana, the Zenkaku sign number ...). *2 It isn't described to the DEF file made with CTRL+ALT+S *3 nyaos (Nihongo Yet Another Os/2 Shell) is free software of Mr. Kaoru Hayama work. *4 Using it by using telnet with remote can't be recommended. *5 All the functions which VZ Editor has aren't always being supported. *6 This function may be annulled without warning it of it in the future version. ** An establishment file is not .DEF, but .INI is established as standard more than delta 9. There is no problem in the use just like .DEF as well because an establishment file is referred to in order of .INI, .DEF at the time of the start. Screen explanation * Editor Screen +-(1)---------+----(2)--------------------------------+---(3)--------------------+ |Pg[] 000:00| | 1* c:\home\ke.txt | +-------------+---------------------------------------+--------------------------+ | (4) | = = |(5) (6) | |ESC[File][Windw][Pick][Split] [Find][Chng][GetSt][block] [copy][cut][paste][Ins]| | (7) | +--------------------------------------------------------------------------------+ (1) The editing mode The mode of Editor during editing is shown. They are the editing mode, the block mode, a cursor position from the left. * The editing mode Pg The usual editing mode St Search mode It toggle with SHIFT+INS when a reference character line is being inputted. The movement of ^R, ^C, PageUp, PageDown is different with the editing mode and search mode. * block choice mode [] Not block mode [] (reverse) It is made to wash a block choice or the rectangle block choice mode. * Cursor position row:column It is not a logic line, but indication is an indication line. (2) Cursor position indicator A cursor shows where it is. It is not a byte unit, but the calculation of the cursor position is done by the indication line. Therefore, indicator doesn't move when the long file of one line is edited. (3) Editing file information It is information on the file during editing. A file number during editing, the right are the full names of the editing file (the left). When it doesn't finish indicating it, it is cut halfway, and an end is made asterisk (*). A file name may not be able to distinguish it by the long file name and the deep class. Asterisk (*) beside the editing file number makes it wash that editing of something was done toward the file. It means Read Only when this is R.and V makes it wash View Only. Though Read Only can be always changed with ^KR, the file of View Only of the mode can't be edited at all. (4) Editing area The editing work of the file is done here. (5) 2 stroke key guide It is the guide indication of the first stroke to use 2 stroke key such as ESC * and CTRL+*. (6) Function key guide It is the menu which shows the function of Function key (the key of F1-F12). (7) Message indication area A message from Editor is indicated.