PhDm Editor (pe)
What's new...
09/03/2008 Version 0.8: Display extention, auto complet, resizing, UTF-8 ... DescriptionTo invoke PE just type: pe [-t] [file_name] PE is a very easy tiny console mode text editor which aim is to give
the
user simple and direct interface via a command bar.
Limitations:PE fits in a minimum 80 chars width console display or Xterm.PE is limited to 8000 lines of 255 chars. Longer lines will be cut and the remaining part is inserted on the next line. In this case a '\' will be automatically inserted at end of line. The user can also insert a '\' at end of line if he wants the <CR> to be ignored at save time. A double '\' at the end of line will be saved as '\+CR'. The Tab is now supported (v0.5), the size is based on the terminal one. NO Undo available !!! Command bar:F1 loads a file, the name should be entered after pressing this key. It's not possible to load more than one file.A backup copy of the loaded file is automatically done (/tmp/file_name#) F2 saves the buffer to the same file or any other one the user can specify. F3 marks block of lines (max. 1000) F4 inserts the block under the current line position. It can be repeated. Blocks are kept in memory as long as B=2. F5 deletes the block but will loose its effect if any insertion is
made.
F6 is the search facility. F7 sends the buffer to a script 'pe-prt' you should create to fit your system. F8 quits the editor. No warning to save modified files is provided. F9 (not displayed) put the cursor at the beginning of text. F10 (not displayed) put the cursor at the end of text. F11 (not displayed) deletes the current line. Other control keys:insert key : brings the cursor back to the last insert position.home key : puts the cursor at start of line. end key : puts the cursor at the end of line. page up : goes one screen up. page down : goes one screen down. Remarks:Option -t:Invoking pe with this flag can be use to provide some blind friendly audio feedback at critical situations. (This works only in console mode) A warning message is also displayed on the command bar. Examples: A read only file or backup issue are signaled with 2 bips Attempt to load none existing file is signaled with 3 bips Attempt to save ro files is signaled with 3 bips Other multi-tone signals are returned depending on the manipulations. If you see no cursor on X terminals, please modify the cursor color with the -cr [color] switch when invoking Xterm or rxvt PE is now released under GNU G.P.L Install:Download the sources Last update: 09/03/2008 |