Unix Friendly Text Editor

From NMTWiki

Jump to: navigation, search

Image:Yellowvsmall.jpg Medium difficulty requiring some technical skills, or some parts require more than basic knowledge.

If standard Windows editors are used to edit configuration files on the NMT there is a very high likelyhood that they will corrupt the file.

This is because The NMTs run on a variant of the Linux operating system. Windows, and Linux use different sets of characters to seperate lines of text. Most standard windows editors will quietly change the line endings from Unix/Linux format to the windows format without telling the user. When a Linux program then tries to read the file, it may trip up on the windows line endings.

Editors

So if you plan to edit configuration files on the NMT, find a good text editor that will preserve whatever line formatting the file originally had.

Some suggestions are:

  1. Crimson ( use the Document->File Format menu option )
  2. Notepad++ (Use the Edit->EOL Conversion->UNIX Format menu option )
  3. NoteTab Lite (Always Converts to Windows/DOS , then use Options->Documents->Save As for Unix??)

If you have aspirations to develop software or work on Linux/Unix servers , you may want to add Vim to that list. But stick to the earlier ones if you just want to configure your NMT.

Personal tools