diff --git a/ChangeLog b/ChangeLog index 9c32932..d3fae66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,11 +16,11 @@ Changes since tio v1.21: Changes since tio v1.20: - * Add support for hexidecimal mode + * Add support for hexadecimal mode A new key command 'ctrl-t h' is introduced which toggles between - hexidecial mode and normal mode. When in hexidecimal mode data received - will be printed in hexidecimal. + hexadecimal mode and normal mode. When in hexadecimal mode data received + will be printed in hexadecimal. * Do not distribute src/bash_completion/tio diff --git a/man/tio.1 b/man/tio.1 index ca551bb..93a239a 100644 --- a/man/tio.1 +++ b/man/tio.1 @@ -75,7 +75,7 @@ Send serial break (triggers SysRq on Linux, etc.) .IP "\fBctrl-t c" Show configuration (baudrate, databits, etc.) .IP "\fBctrl-t h" -Toggle hexidecimal mode +Toggle hexadecimal mode .IP "\fBctrl-t l" Clear screen .IP "\fBctrl-t q" diff --git a/src/tty.c b/src/tty.c index 6b6723c..02b3feb 100644 --- a/src/tty.c +++ b/src/tty.c @@ -93,7 +93,7 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c tio_printf(" ctrl-t ? List available key commands"); tio_printf(" ctrl-t b Send break"); tio_printf(" ctrl-t c Show configuration"); - tio_printf(" ctrl-t h Toggle hexidecimal mode"); + tio_printf(" ctrl-t h Toggle hexadecimal mode"); tio_printf(" ctrl-t l Clear screen"); tio_printf(" ctrl-t q Quit"); tio_printf(" ctrl-t s Show statistics"); @@ -118,12 +118,12 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c break; case KEY_H: - /* Toggle hexidecimal printing mode */ + /* Toggle hexadecimal printing mode */ if (print_mode == NORMAL) { print = print_hex; print_mode = HEX; - tio_printf("Switched to hexidecimal mode"); + tio_printf("Switched to hexadecimal mode"); } else {