LPTEST(1) BSD General Commands Manual LPTEST(1)NAME
lptest -- generate lineprinter ripple pattern
SYNOPSIS
lptest [length] [count]
DESCRIPTION
lptest writes the traditional ``ripple test'' pattern on standard output. In 96 lines, this pattern will print all 96 printable ASCII char-
acters in each position. While originally created to test printers, it is quite useful for testing terminals, driving terminal ports for
debugging purposes, or any other task where a quick supply of random data is needed.
The length argument specifies the output line length if the default length of 79 is inappropriate.
The count argument specifies the number of output lines to be generated if the default count of 200 is inappropriate. Note that if count is
to be specified, length must also be specified.
HISTORY
lptest appeared in 4.3BSD.
BSD May 31, 2007 BSD
Check Out this Related Man Page
FMT(1) BSD General Commands Manual FMT(1)NAME
fmt -- simple text formatter
SYNOPSIS
fmt [-Cr] [goal [maximum]] [name ...]
fmt [-Cr] [-g goal] [-m maximum] [name ...]
DESCRIPTION
fmt is a simple text formatter which reads the concatenation of input files (or standard input if none are given) and produces on standard
output a version of its input with lines as close to the goal length as possible without exceeding the maximum. The goal length defaults to
65 and the maximum to 75. The spacing at the beginning of the input lines is preserved in the output, as are blank lines and interword spac-
ing. In non raw mode, lines that look like mail headers or begin with a period are not formatted.
-C instructs fmt to center the text.
-g goal New way to set the goal length.
-m maximum New way to set the maximum length.
-r Raw mode; formats all lines and does not make exceptions for lines that start with a period or look like mail headers.
fmt is meant to format mail messages prior to sending, but may also be useful for other simple tasks. For instance, within visual mode of
the ex(1) editor (e.g., vi(1)) the command
!}fmt
will reformat a paragraph, evening the lines.
SEE ALSO mail(1), nroff(1)HISTORY
The fmt command appeared in 3BSD.
BUGS
The program was designed to be simple and fast - for more complex operations, the standard text processors are likely to be more appropriate.
BSD May 29, 2007 BSD
Goodmorning all,
as in subject: i'm involved in a project to replace old os400 terminals on twinax with linux/unix computers that run the tn5250 emulator.
at first we got an image of a german configured suse linux that as it runs in germany but we had more problems reconfiguring the suse then... (2 Replies)
Hello everyone,
I have a script that pulls a text file out of a zip archive and updates the file. What I need to do is put it back in the zip archive and replace the old one, but I am having no luck.
Everything I search on forums or internet points to the command zip, that command is not... (6 Replies)
Hello. I am really new to Unix and am trying to set up a local printer on a FreeBSD 6.2 machine. I was able to get some kind of garbage by going lptest > /dev/lpt0, but after I set up the spooler I get nothing but page after page of nothing. I checked the kernel configuration and it had the correct... (1 Reply)
I have a serial printer connected to a 16 port ran. All of a sudden my printer stopped working and not sure how to get it back. Can anyone help pint me in the write direction?
lsdev -Cc printer gives me the following.
lp0 Defined 0A-08-11-00 Other serial printer
lp1 Defined 0A-08-11-03... (3 Replies)