CLOCK PORT


 

The CLOCK PORT instruction first searches the environment table for an entry 'PLB_PORT=xxx' that defines your current port or workstation number. If not found, the operating system or network standard is utilized to retrieve the port number.

 

Refer to Multi-User Support information for specific information regarding CLOCK PORT under multiple usage applications. The PORT information not only returns the current port ID but the terminal characteristics that follow:

 

Bytes

Definition

1-3

Port number. If the port number is greater than 100, the hundredth digit is placed in character position 3.

4-5

Number of lines on terminal screen

6-8

Number of columns on terminal screen

9

Blank

10-35

The Logged On Drive mapping (SUNDB86x Only). A string of Y's and N's are returned that indicate whether the corresponding drives from Z down through A are Logged On Drives.

36

Blank

37-49

Which of the following screen controls are supported by the screen definition file in use (Y if supported, N otherwise) (SUNDB86x Only):

37

Roll down - *RD

38

Roll up - *R

39

Erase screen - *ES

40

Erase frame - *EF

41

Erase line - *EL

42

Reverse video - *HON & *HOFF

43

Graphics mode - *GON & *GOFF

44

Highlighting - *DION/*V2LON & *DIOFF/*V2LOFF

45

Cursor on & off - *CON & *COFF

46

Blink field - *BLINKON & *BLINKOFF

47

Underline field - *ULON & *ULOFF

48

Insert or delete line - *INSLIN & *DELLIN

49

Insert or delete character - *INSCHR & *DELCHR

50

Blank

51

The current Logged On Drive (SUNDB86x Only)

 

See Also: Example Code, CLOCK, System Interface Instructions

 



PL/B Language Reference