File: scroll_by

package info (click to toggle)
pork 0.99.8.1-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,692 kB
  • ctags: 4,028
  • sloc: ansic: 34,985; sh: 3,677; perl: 931; makefile: 560
file content (12 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
SYNTAX: PORK::scroll_by(lines, [refnum])
	Scrolls a window's display by the specified number of lines.

INPUT PARAMETERS
	lines: The number of lines by which the window will be scrolled. A negative number will cause the display to be scroll up. A positive number will cause the display to be scrolled down.
	refnum: (Optional) The reference number of the window to scroll. If no refnum is specified, the current window is assumed.

RETURN VALUE
	Returns 0 on success, -1 on failure.

SEE ALSO
	scroll by