Add mapping flags INLCRNL and ODELBS

The following new mapping flags are added:

INLCRNL: Map NL to CR-NL on input.
ODELBS: Map DEL to BS on output.

Flags requested and tested by Jan Ciger (janoc).
This commit is contained in:
Martin Lund 2017-12-29 11:24:28 +01:00
parent 60cbc5b368
commit 77c19ff152
3 changed files with 29 additions and 6 deletions

View file

@ -66,6 +66,8 @@ void print_help(char *argv[])
printf(" -v, --version Display version\n");
printf(" -h, --help Display help\n");
printf("\n");
printf("See the man page for list of supported mapping flags.\n");
printf("\n");
printf("In session, press ctrl-t q to quit.\n");
printf("\n");
}