pfe-term-ext
Prev? | pfe Forth Wordset List | ?Next

## Name

pfe-term-ext ? Terminal Interface extensions

## Synopsis

`SHOW-TERMCAP ( -- ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`SHOW-TERM-CONTROLS ( -- ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`SHOW-TERM-ESC-KEYS ( -- ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`ASSUME_VT100 ( -- ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`ASSUME_DUMBTERM ( -- ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`GOTOXY ( x y -- ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`?XY ( -- x y ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`CLS ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.CLRSCR ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.CLREOL ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.HOME ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.HIGHLIGHT ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.HIGHLIGHT.OFF ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.UNDERLINE ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.UNDERLINE.OFF ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.INTENSITY ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.INTENSITY.OFF ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.BLINKING ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.BLINKING.OFF ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.REVERSE ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.REVERSE.OFF ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.NORMAL ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`.BELL ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

`EKEY>FKEY ( key-code# -- key-code# 0 | fkey-code# true! ) ?=>? (` | `)`; | ?

`"EXTENSIONS"`;
?

## Description

SHOW-TERMCAP ( -- ) for debugging => "EXTENSIONS"

print the termcap strings used for input and output may give hints about what is wrong if the terminal seems to miss some functionality

SHOW-TERM-CONTROLS ( -- ) for debugging => "EXTENSIONS"

show the current mappings for the terminal output may give hints about what is wrong if the output seems to miss some functionality

SHOW-TERM-ESC-KEYS ( -- ) for debugging => "EXTENSIONS"

show the current mappings for the terminal input may give hints about what is wrong if the input seems to miss some functionality

ASSUME_VT100 ( -- ) => "EXTENSIONS"

load hardwired VT100-termcap into the terminal-driver

ASSUME_DUMBTERM ( -- ) => "EXTENSIONS"

load hardwired DUMBTERM-termcap into the terminal-driver

GOTOXY ( x y -- ) => "EXTENSIONS"

move the cursor to the specified position on the screen - this is usually done by sending a corresponding esc-sequence to the terminal.

?XY ( -- x y ) => "EXTENSIONS"

returns the cursor position on screen, on a real unix system this includes a special call to the screen driver, in remote systems this can be the expected position as seen on the client side's terminal driver.

CLS - no description, sorry

.CLRSCR - no description, sorry

.CLREOL - no description, sorry

.HOME - no description, sorry

.HIGHLIGHT - no description, sorry

.HIGHLIGHT.OFF - no description, sorry

.UNDERLINE - no description, sorry

.UNDERLINE.OFF - no description, sorry

.INTENSITY - no description, sorry

.INTENSITY.OFF - no description, sorry

.BLINKING - no description, sorry

.BLINKING.OFF - no description, sorry

.REVERSE - no description, sorry

.REVERSE.OFF - no description, sorry

.NORMAL - no description, sorry

.BELL - no description, sorry

EKEY>FKEY ( key-code# -- key-code# 0 | fkey-code# true! ) => "EXTENSIONS"

If the input ekey value was not an extended key then flag is set to FALSE and the value is left unchanged. Compare to EKEY>CHAR for the inverse.

If the input eky was an extended key then the value will be modified such that shifted values are transposed to their base EKEY plus `K-SHIFT-MASK` - therefore the K-SHIFT-MASK is only apropriate for the result fkey-code values of this function.

Prev? | Up | ?Next
pfe-system-ext? | Home | ?pfe-termcatch-ext