THE

SET TRAILING - specify the truncation column

Syntax:
[SET] TRAILING ON|OFF|SINGLE|EMPTY

Description:
The SET TRAILING set command determines how trailing blanks on lines are handled when written to disk. TRAILING ON means that THE will not treat trailing blanks any differently from any other characters in the file. With TRAILING OFF, THE will remove trailing blanks when a file is read, remove them during an edit session, and not write any trailing blanks to the file. TRAILING SINGLE is the same as TRAILING OFF, except that a single blank character is appended to the end of every line when the file is written. TRAILING EMPTY is the same as TRAILING OFF, except that otherwise empty lines will be written with a single trailing blank.

Note that the default for this under THE is ON. This is because of the way that THE processes profile files. If the default was OFF, and you had TRAILING ON in your profile, then there would be no way to retain the original trailing blanks.

Compatibility:
XEDIT: Compatible.
KEDIT: N/A

Default:
ON

Status:
Complete. Some trailing blank behaviour while editing files incomplete.


The Hessling Editor is Copyright © Mark Hessling, 1990-2002 <M.Hessling@qut.edu.au>
Generated on: 15 Aug 2002

Return to Table of Contents