1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5 $FORTH_WORD KEY-WAIT-CR-SPACE
8 key_wait_cr_space_loop:
10 DUP CHCR = SWAP BL = OR
11 0BRANCH key_wait_cr_space_loop
13 $FORTH_END_WORD KEY-WAIT-CR-SPACE
15 $FORTH_WORD KEY-SCROLL-MSG-WAIT
18 (.") "\r<press ENTER...>" ;;"
20 EMITCR CONWIDTH 1- SPACES EMITCR
22 $FORTH_END_WORD KEY-SCROLL-MSG-WAIT
25 $FORTH_VAR (SCROLL-CRCOUNT) 0
26 $FORTH_VAR (SCROLL-CRMAX) 20
28 $FORTH_WORD (SCROLL-CR-RESET)
31 (SCROLL-CRCOUNT) 0! ;S
32 $FORTH_END_WORD (SCROLL-CR-RESET)
34 $FORTH_WORD (SCROLL-CR)
39 DUP (SCROLL-CRMAX) @ >= 0BRANCH words_cr_nowait
45 $FORTH_END_WORD (SCROLL-CR)
54 SHOW-HIDDEN @ 0= 0BRANCH vlist0_1
55 ;; check if hidden word
56 DUP 1+ C@ LIT 40 - 0BRANCH vlist4
59 DUP C@ LIT 31 AND R@ SWAP - DUP 0< 0BRANCH vlist1
60 (SCROLL-CR) DROP DUP C@ LIT 31 AND CONWIDTH SWAP -
66 COUNT LIT 31 AND -DUP 0BRANCH vlistT9
69 DUP C@ LIT 127 AND XEMIT 1+
75 (SCROLL-CR) RDROP CONWIDTH BRANCH vlist3
82 PFA LFA @ DUP 0= ?BREAK OR