The .jedrc file can be configured in the HOME directory or the current directory to override the default command definitions.
#comment line
set opt
set noopt
set opt=value{:value{:value...}}
set opt | set option opt to true (See Option table below) |
set noopt | set option opt to false |
set opt=value{:value{:value...}} | set the command option to a specific value (See Value table below) |
Option | Description |
---|---|
back_tab | moves the cursor to the previous tab position on the current line |
backspace | issues a destructive backspace |
carriage_return | inserts at new line at the current cursor position |
change_case | reverse the case of the character at the current cursor position then move cursor 1 position to the right |
clear_end_line | clears all characters from the current cursor position to the end of line |
copy_character | inserts at the current cursor position the character from the same position on the preceding line |
cursor_down | moves the cursor down one line |
cursor_left | moves the cursor left one position |
cursor_right | moves the cursor right one position |
cursor_up | moves the cursor up one line |
delete_char | deletes the characters at the current cursor position |
delete_line | deletes the entire line specified by the current cursor position |
delete_word | deletes text from the cursor position to the end of the word |
end_line | moves the cursor to the end of the current line |
escape | invokes the jed command line |
exit_record | exits the current record |
forward_tab | moves the cursor to the next tab position on the current line |
indent_screen | apply jBC code formatting to the lines displayed on the current screen |
insert_line | inserts a blank line below the current line and positions the cursor on it |
insert_space | inserts a space to the right of the cursor position |
insert_sub_value | inserts a value mark (ASCII 253) |
insert_value | inserts a sub-value mark (ASCII 254) |
mark_line | sets the start or end position for marking a block of text |
next_indent | places the cursor at the next line which matches the indentation to the current line |
next_locate | locates the next occurrence of a earlier located string |
prev_indent | places the cursor at the previous line which matches the indentation to the current line |
prev_locate | locates the previous occurrence of a earlier located string |
repaint | redisplays the screen and discards the changes since the last carriage return |
scroll_bottom | moves the cursor to the last line of the record or file |
scroll_down_line | scrolls the screen down one line |
scroll_down_page | scrolls the screen down one page |
scroll_top | moves the cursor to the first line of the record or file |
scroll_up_half | scrolls the screen up half a page |
scroll_up_line | scrolls the screen up one line |
scroll_up_page | scrolls the screen up one page |
start_line | moves the cursor to the start of the current line |
toggle_insert | toggles between the Overwrite and Insert data entry modes |
Value | Description |
---|---|
key_xxx | constant that corresponds to user's current terminfo definition |
^X | ctrl<A> through ctrl<Z> |
\nnn | 3 digit octal number |
File . , Record .jedrc
Insert 17:17:17 Command-> 001 set delete_line = ^D 002 set noexit_record 003 set toggle_insert = \006 004 set escape = \033:\117:\101 -------------------------------- End Of Record ------------------------------- |
Line 1 sets the delete line command to control-D. By default, control-D must be pressed
twice to delete a line.
Line 2 removes the exit record command. The default is control-X. The user may still exit
the record the log way - go to the command line and type ex.
Line 3 sets the command to toggle between insert and overwrite modes to octal 6
(control-F).
Line 4 specifies that the jed command line will be invoked when the octal characters
33, 117 and 101 are sent. This is the sequence issued by the F12 key from the jSHELL
console on Windows.
Note: In order to remap any of the command options, you may first need to "unmap" the current function. Failure to unmap a command option that is already mapped will result in the new mapping being ignored. An example:
To set the delete command to Octal 31:
set noback_tab
set delete_line = \031
(the "set noback_tab" is needed because \031 is already mapped to the value "noback_tab")