File: c_display.so

package info (click to toggle)
lookup 1.08b-5
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 1,108 kB
  • ctags: 1,305
  • sloc: ansic: 12,634; makefile: 236; perl: 174; sh: 53
file content (27 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TP
[default] display [\fIboolean\fP]
.br
The
.IR "selected slot" "'s"
display flag is turned on or off (default is on),
or reported if no argument given.
However, if\c
.Q default
is specified, the value to be inherited as the default by
subsequently-loaded files is set (or reported).

Can be temporarily toggled by the\c
.Q "!d!"
line prefix.

When a slot's display flag is off, lines that would normally print
during a search are not printed (yet the "printed" value in an
.I if
expression retains the count of lines that would have been printed)
Normally used in a script as in:
.nf

   !d!/LookForMe
   if {!printed} msg oops, it's not found.

.fi