20

What is the difference between the "Return" an "Enter" keys in the VT100 terminal:

VT100 keyboard

26

Under normal circumstances, there is no difference (RETURN and ENTER will send CR or CR LF as configured by the New Line Mode). However, there is a mode called "keypad application mode" where all the keys on the numeric keypad send their own distinct control sequences which are different from the rest of the keyboard.

From the VT-100 User Guide:

Auxiliary Keypad – The keys on the auxiliary keypad normally transmit the codes for the numerals, decimal point, minus sign, and comma. In addition, the key labeled ENTER transmits the same code as the RETURN key. The host cannot tell if these keys were typed on the auxiliary keypad as opposed to the corresponding keys on the main keyboard. Therefore, software which requires considerable numeric data entry need not be rewritten to use the keypad.

However, if software must be able to distinguish between pressing a key on the auxiliary keypad and pressing the corresponding key on the main keyboard, the host can give the terminal a command to place it in keypad application mode. In keypad application mode all keys on the auxiliary keypad are defined to give control sequences which may be used by the host as user-defined functions.

  • "RETURN and ENTER will send CR or CR LF as configured by the New Line Mode" What is the "New Line Mode" exactly? – user7681202 May 24 '17 at 0:38
  • 1
    @user7681202: New Line Mode is also explained in the VT-100 User Guide which I linked to. – Greg Hewgill May 24 '17 at 0:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.