Characters per line

With various margins – usually from 1–1.5 inches (25–38 mm) for each side, but there is no strict standard – these numbers may shrink to 55–78 CPL.

This line length was carried over into the original 80×25 text mode of the IBM PC, along with its clones and successors.

[5] With the advent of desktop computing and publishing, and technologies such as TrueType used in word processing and web browsing, a uniform CPL has been made mostly obsolete.

Many style guides for computer programming define the maximum or desirable number of characters in a line of source code: Agda[7] Google Java[16] Linux kernel[17] (preferred, not hard requirement) Object Pascal[18] OpenBSD[19] Perl[20]

Ruby[22] Common Lisp[27][28] Google Java[29] Rust (rustfmt default)[30] Blink[34] Moodle[35] JavaScript (JavaScript has no official style guide) With the increasing common use of larger widescreen monitors, some of these limits have been relaxed, as in the Linux kernel[39] and FreeBSD.

The ruler on the carriage of an Olivetti Lettera 22 . This typewriter can print only 87 characters in a line
Typometer with the characters per line scales
A Fortran coding form (paper). Source code has 72 CPL, but a form is 80-characters wide. Last 8 positions are "identification sequence"