The DEFINE command (abbreviated DEF) defines either editing keys for keypad mode or macros for line mode.