Adding Other New Commands

To add new commands using vvtermcap, take the following steps:

1 Edit vvtermcap to add the new command definitions to the entries for all terminals you wish to support.
2 Add a global variable to hold the command. It is best to add this variable in vv_main.h with the other terminal interface variables.
3 In vv_main.h, edit the array terminal definition parse table _td_tbl[ ] by adding a TD_DEF structure for each command you add. For the pointer to the terminal interface variable to hold the commands found in vvtermcap, specify a pointer to the global variable you want to hold the parsed command.


Home Contents Previous Next