VT510 Video Terminal Programmer Information

LNM—Line Feed/New Line Mode

This control function selects the characters sent to the host when you press the Return key. LNM also controls how the terminal interprets line feed (LF), form feed (FF), and vertical tab (VT) characters.

Note

For compatibility with Digital's software, you should keep LNM reset (line feed).

Default: Line feed

Format

CSI
9/11
2
3/2
0
3/0
h
6/8
Set: new line.
CSI
9/11
2
3/2
0
3/0
l
6/12
Reset: line feed.

Description

If LNM is set, then the cursor moves to the first column on the next line when the terminal receives an LF, FF, or VT character. When you press Return, the terminal sends both a carriage return (CR) and line feed (LF).

If LNM is reset, then the cursor moves to the current column on the next line when the terminal receives an LF, FF, or VT character. When you press Return, the terminal sends only a carriage return (CR) character.

Note on LNM

When the auxiliary keypad is in keypad numeric mode (DECKPNM), the Enter key sends the same characters as the Return key.