Stata 15 help for set_ctrlh

[R] set ctrlh -- Set behavior of Ctrl+H for command-line editing in Unix (console)


set ctrlh {default | erase | left} [, permanently]


set ctrlh allows you to control how Ctrl+H behaves for command-line editing in Unix (console). The default is set ctrlh erase, which means that Ctrl+H will behave the same as a backspace.


permanently specifies that, in addition to making the change right now, the setting be remembered and become the default setting when you invoke Stata.


Unix/Linux terminals differ in how they behave when Ctrl+H is pressed. Stata allows you to control the behavior of Ctrl+H with the set ctrlh command. set ctrlh erase, which is the same as set ctrlh default, makes Ctrl+H behave the same as the backspace key. set ctrlh left makes Ctrl+H behave the same as the left arrow.

If you prefer one mode over the other, specify the permanently option, and Stata for Unix (console) will automatically use this mode every time you start Stata.

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index