Using the JED Editor and Navigation in Classic
Introduction:
JED is a robust, terminal independent screen editing tool
Editor for create, modify and delete operations in database
There are two types of commands:(1) Command line (2) Text line (Execution)
JED Command Syntax:
JED < Filename > < Record Id >
Filename can be Hashed and Non-Hashed.
Switch Between Command line and Text line (Execution):
Command line to text line - <line number>
Text line to command line Esc
Command line Commands:
1
: Move cursor to line number 1 (one)
9999
: Move cursor to the end of the program provided the program
has less than 9999 lines
EX
: Exit without saving (same as EXIT, Ctrl X)
FI
: Save and Exit
FS
: Save
BI
: Format code
Nn
: Goes to line number nn
DE
: Delete current line (DE5 Delete next 5 lines)
L <chars>
: Locate the next occurrence of chars
Ctrl n
: Repeat the locate
!<command> : Execute jBASE/OS command
!!
: Re-execute the last command
Text line (Execution) Commands:
Arrow keys
: Move around in editor (also, Page Up and Page Down)
Ctrl A
: Move to start of current line
Ctrl E
: Move to end of current line
Ctrl W
: Delete word
Ctrl K
: Clear to end of line or join
Ctrl D
: Delete the current line
Ctrl L
: Insert line below current line
Ctrl N
: Locate next occurrence ( used after using command line
command L)
Ctrl O
: Toggle between insert and overwrite mode (Default is insert)
Ctrl V
: Format code (same as BI in command line)
Ctrl G
: Marking block ( 1st -> block start, 2nd -> block end, 3rd ->
remove block)
CA after
Blocking
: Copy block after current line (CB -> copy before current line)
MA after
Blocking
: Move block after current line (MB-> move before current line)
DB after
Blocking
: Delete block
Enter
: New line / break current line
Navigation in Classic:
EX
: Command to enter into T24 prompt. This is a core T24 routine
BK
: exit T24 and back to jBASE prompt
F5
: Commit ( Ctrl + V + Enter)
F3
: Move to next record ( Ctrl + F + Enter)
F2
: Move to previous record ( Ctrl + B + Enter)
F4
: Move to the end of the record ( Ctrl + E + Enter)
F1
: Return to previous state ( Ctrl + U + Enter)
Field Number : Go to the specified field
>
: Multi value after the current point
<
)
: Multi value before the current point
: Sub value after the current point
: Sub value before the current point
- Enter
: Delete a multi value / sub value