Terminal Guide

Query 132 Column Mode (DECSCPP)

ESC1B P50 $24 q71 $|24 7c ESC1B \5C
xterm

Query 132 column mode.

The terminal replies:

ESC1b P50 131 $24 r72 width $24 |7c ESC1b \5c 

Where width = 80 if 132 column mode is unset. Otherwise width = 132.