Or if you happen to use Emacs, you can invoke `M-x set-justification`,
then type "full", then use M-q to apply full justification on the region. No ancient scribes required (well, aside from the Emacs authors). Be warned that it looks kind of goofy on a screen in a monospace font instead of in a book in a nice variable-width typeface.
i looked for online Nroff simulators
or emulators and was able to find none! w w w w w w w w w w w w w w w
Then, i suddenly had the bright idea
of using [fmt] within Vim to simulate Nroff output, and got:
'fmt' is not recognized as an internal or external command, operable
program or batch file.
???
On 03.03.2024 21:17, HenHanna wrote:
i looked for online Nroff simulators
or emulators and was able to find none! w w w w w w w w w w w w w w w
Then, i suddenly had the bright idea
of using [fmt] within Vim to simulate Nroff output, and got:
'fmt' is not recognized as an internal or external command, operable
program or batch file.
???
'fmt' is a standard Unix command that you can use (like other external commands) as a filter; e.g. to format the file from the cursor to the
end of the file: !Gfmt
There's of course also a builtin available in Vim. I usually use it in
visual mode, marking lines with: 'V' <some movements> 'gq'
The V starts line marking and gq does the formatting. The option 'tw'
or 'textwidth' is used to defined the desired formatting width, say
as in :set tw=32
(I cannot see, though, how 'fmt' would emulate 'nroff' in any way.
Or do you want only a block justify?)
Janis
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 162:49:25 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,508 |