In 3270 mode, the Dup() inputs the DUP character. Then the cursor is moved to the beginning of the next modifiable field.
In NVT mode, Dup() does nothing.
Dup()
how to read keymap tables