beautypg.com

HP NonStop G-Series User Manual

Page 42

background image

Character Class for Copying and Pasting Text

x6530 Run Command and Customizing Options

082628 Tandem Computers Incorporated

2–13

The x6530 Emulator scans the characters on either side of the pointer, comparing
each one to the character class of the pointer character. When a character matches
the class, it is selected, and the scanning continues. When a character does not
match the class, the comparison process ends.

The characters between the characters that stop the comparison process are
selected as the word to be copied.

Examples

The following examples assume that x6530 is using the default character classes.

1.

Assume that you have positioned the pointer on a word as follows:

015

The quick brown fox jumps over the lazy dog.

The pointer is on the lowercase letter

p

, which is in class 48. When you double-

click the left mouse button, x6530 scans to the left of

p

, finding three characters,

jum

, that are in class 48; it stops when it encounters the blank character (class 32)

in front of the

j

. It also scans to the right of

p

, finding one more character,

s

, that

is in class 48. The blank character after the

s

stops the selection process in that

direction. For this example, x6530 selects the word

jumps

to copy.

2.

Assume that you have positioned the pointer on a word as follows:

016

Call this number: (415) 555-3962

The pointer is on the number

5

, which is in class 48. When you double-click the

left mouse button, x6530 scans to the left of

5,

stopping when it encounters the

(

character. It also scans to the right of

5

until it finds the

)

character. The

parentheses are not in class 48, so they act as stopping points for the selection
process. For this example, x6530 selects

415

to copy.

3.

Using the telephone number example again, assume the pointer is positioned as
follows:

017

Call this number: (415) 555-3962

The pointer is positioned on the

)

character, which is in class 41. When you

double-click the left mouse button, x6530 scans to the left of

)

, stopping when it

finds the number

5

, a character that is not in class 41; it also scans to the right of

)

where it finds the blank character, another character not in class 41. The only
character selected to copy is the

)

character.

This manual is related to the following products: