norwim
28th July 2006, 10:37
Hi there,

this problem annoys me since years.
I use ba6.1 ascii. I want to change a value of a field (while changing a report for example).
So, in the option field I enter "C" and the cursor moves to the field containing the print expression.
The cursor is placed before the first letter the field contains.
If I enter one character, the field is emptied and contains the character I entered.
I can press the [INSERT] key to change to insert-mode. In this case the chars I enter are placed behind the current cursor position and the content of the field persists.
So far so good.
BUT I cannot activate an overwrite mode. Nor can I delete single characters. Neither [BACKSPACE] nor [DEL] key does work.
I looked up text editor commands and standard options ... but can't find the correct ascii values for delete character or overwrite.
Plz help!
I am too lazy to retype all that stuff when I only need to replace 3 of 40 characters :-)

Thx in advance

Norbert

PS: This problem only occurs, if I have to change the first character(s) ... if the cursor is placed somewhere in the filed, overwrite mode is active.

jp.aalders
1st August 2006, 16:12
1. Activate Insert
2. Insert character
3. Cursor on the character to be deleted
4. <CTRL> backspace

Note: I used Reflection for terminal emulation.

norwim
1st August 2006, 18:23
Thanks very much for your reply.
Unfortunately <CTRL> + Backspace does not work (doesn't delete a character). I am using netterm.
But this was extremely helpful still, as I could find out that the code that works is HEX 7f .... (another emulation program behaved like you described it).
Now I only have to find a way to teach netterm :-)

Thank you very much!

regards

Norbert

lbencic
1st August 2006, 18:57
Backspace/delete problem: In most terminal emulators this is the option for "Backspace key sends" - It should be set to 'Delete (DEL)', the common option that messes this up is 'Backspace (BS)'. The actual 'DEL' key on the keyboard is not used, you have to map the Backspace to Delete in your emulator.
Not familair with Netterm, but this option is available in SmartTerm and Reflections, so I expect it exists in some form.