TED 1.1 for HP 49G
 


TED can be freely stored in any port.

TED is intended for general object and text editing. TED makes no duplicate of the edited string if it is in temporary object area, thus enabling editing very large strings. Note that this implies that no backup of the original string is kept!

Note that TED is very fast but since it supports the tabulator it has to do special calculations whenever the display is scrolled. Thus scrolling the display when very long lines are present can be quite slow.

Most of the normal character keys are in their normal places, others can be fetched via the special character browser.

TED decompiles object to width 30. This can be changed by storing a real number larger than 9 in variable 'TED.WID'.

"ED" is an alias for TED.

Special keys having different definitions are mostly in the non-alpha plane. The NS, LS, RS planes are defined as follows:
 
BSTART

BLKUP
BEND

BLKDN
BPASTE

BSWAP
BCUT
BDEL
BKEEP

GREPL?
GREPL
FIND
REPL?
REPLALL
ARG?
CNTRINI
BSTART
STATUS
CNTR
BEND

ROW?
POS?
LEFT
LWORD
LSTART
UP
PGUP
TOP
RIGHT
RWORD
LEND
DFIND
BPOP
 
STACK
BPUSH
BCUT
FIND>
<FIND
BPASTE
DOWN
PGDN
BOTTOM
MEXEC
MSTART
MEND

CHR?
CHRCAT
BSLEFT

''
BSRIGHT
DELRIGHT
EVAL
BS
DEL
DELLINE
^
EXP
LN
'sqrt'
SQ
XROOT
SIN
ASIN
'sum'
COS
ACOS
'der'
TAN
ATAN
'intg'

ALOG
LOG

'=/'
=
X
'<='
<
INV
'>='
>
/
ABS
ARG
Alpha
TOGCASE
TOGOVER
7
SETMK7
GOMK7
8
SETMK8
GOMK8
9
SETMK9
GOMK9
*
[]
""
LShift

 
4
SETMK4
GOMK4
5
SETMK5
GOMK5
6
SETMK6
GOMK6
-
()
_
RShift

 
1
SETMK1
GOMK1
2
SETMK2
GOMK2
3
SETMK3
GOMK3
+
{}
«»
REDISP

OFF
0
'inf'
GOMK0
.
::
NEWLINE
SPACE
'pi'
TAB
EXIT

 

Special keys during InputLine:
- ENTER
- ON
- DEL
- BS
- LEFT/RIGHT


- NXT
- PREV
- CHARS
- DOWN
- Input ok
- Cancel
- Delete char
- Delete previous char
- Move left/right. During find input pressing Right at the end of input
  will take the next input char from the current match location,
  thus making it easier to complete the match
- Next match during find input
- Previous match during find input
- Starts character catalog
- Puts word under cursor to editline


Special keys during STATUS:
- B
- F
- other
- Toggle beep on/off. Default value is taken from the system flag
- Toggle regular/fast mode
- Cancel


Special keys in Alpha plane:
- A LS +
- A RS +
- A ENTER
- {\n}         (with indent checks)
- <<\n>>    (with indent checks)
- \n + indent the same way as the previous line


Notes:
Repetition and macro key execution can be aborted with the ON key. Repetition, macro save and macro execution are aborted automatically if an error occurs. Max lenght of a macro key sequence is 50 keys.



Samples:

To globally replace "L05712" with some more descriptive label just:
 - put cursor on the label, press [GREPL]
 - press [DOWN] to insert the label in the input line
 - press [ENTER] to accept it
 - type the replacement and press [ENTER]

Pressing [ARG?] 16 [ENTER] [CNTR] will produce "0123456789F"

Pressing [CNTRINI] 4 [ENTER] [ARG?] 6 [ENTER] [CNTR] will produce "456789"

Pressing [MSTART] 789 [MEND] [MEXEC] [MEXEC] will produce "789789"



The Object Viewer

VV is a general purpose object viewer, which depending on input works as follows:
 - strings
 - grobs
 - other
 
- view with special string viewer
- view with special grob viewer
- try to call ->GROB with small font size and then view the
  result with the grob viewer

The viewer returns the input unmodified in all cases.


String viewer keys:
  cursor keys
  MODE/STO/VAR/NXT
  LS/RS
  +
  -
  ON/ENTER
- scroll display
- scroll one page at a time
- jump to top/bottom
- fast mode
- slow mode
- exit


Grob viewer keys:
  cursor keys
  .
  A-F
  ON/ENTER
- move grob
- center grob
- set scroll speed 1-6
- exit



Credits
- Gustavo Portales [Peru]     (2005)
- Mika Heiskanen [Finland] (~1995)

BYTES:  #F57h  11650


This program is dedicated to my friend "Diana B. S." (1985-2005)


That's all.

April 14, 2005
- GaaK -