Using QED in Mint

Saving text in Unix newline in QED

What is a Newline

Newline are control characters that signify the end of a text line to the computer. Though text files are always in ASCII form, the end of line or Newline are differently identified between Atari (DOS/Windows), Apple and Unix. When you are editing a file for MINT use, such as the MINT.CNF and XAAES.CNF files, you need to ensure that the files are saved in Unix newline style, so that MINT is able to read the text file correctly.

There were reports of complete MINT failures due to the configuration files not being in Unix newlines. Trouble normally starts when one edits the files in another OS and then transferring it to the Atari.

The systems uses different newline characters as follows:

    • Atari (DOS/Windows) uses Carriage Return and Line Feed (CR+LF) which is 2 characters

    • Apple uses Carriage Return only (CR) which is 1 character only

    • Unix uses Line Feed (LF) which is 1 character only

Read all about NewLine on various system at the NewLine Wiki.

QED : saving using Unix newline characters

In QED, you can force it to save using Unix newline by following procedure:

    1. Load and edit the file as per normal.

    2. Ensure QED will use Unix newline format to save by selecting FILE > INFO.

    3. The Text Info dialogbox will open. In the NEWLINE section, tick the UNIX radio button.

    4. Click OK to set the newline to Unix style.

    5. Save for file as per normal

    6. You may need to set this for each file you edit. Text files already in Unix newline style need not to be set again as it is already in Unix newline.

See you at

WongCK

update: none

created: 14 Jun 2011