Browse Prior Art Database

Flexible Scroll Routine for Display Services

IP.com Disclosure Number: IPCOM000038159D
Original Publication Date: 1989-Dec-01
Included in the Prior Art Database: 2005-Jan-31
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Pekowski, R: AUTHOR [+2]

Abstract

Disclosed is a programming concept for a flexible scroll routine which would reduce the need to code separate routines with very similar code in performing the following display functions: scroll up/down, insert/delete character, insert/delete line, EOL/EOS, and clear screens.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 71% of the total text.

Page 1 of 1

Flexible Scroll Routine for Display Services

Disclosed is a programming concept for a flexible scroll routine which would reduce the need to code separate routines with very similar code in performing the following display functions: scroll up/down, insert/delete character, insert/delete line, EOL/EOS, and clear screens.

One scroll routine was used to scroll up/down, insert/delete characters, insert/delete lines, erase-end-of-screen, erase-end- of-line and clear screen. The parameters passed to this routine are: upperleft, lowerright, scroll length, scroll direction. All positions passed are offsets. The following examples demonstrate the manner in which the aforementioned display functions were invoked using the interface to the scroll routine:

Scroll Up: Upperleft = 0, Lowerright - offset of last display position, scroll length = columns in a row, scroll direction = -1

Scroll Down: Upperleft = 0, Lowerright = offset of last display position, scroll length = columns in a row, scroll direction = +1

Insert Char: Upperleft = offset of starting position, Lowerright = last position, scroll length = 1, scroll direction = 1

Delete Char: Upperleft = offset of starting position, Lowerright = offset of last position = 1, scroll length = 1, scroll direction = -1

Insert Line: Upperleft = offset of starting position, Lowerright = offset of last position, scroll length = columns in a row, scroll direction = 1

Delete Line: Upperleft = offset of starting position, Lowerright =...