Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to map back-space to CTRL-H? #106

Open
E3V3A opened this issue Jan 22, 2019 · 1 comment
Open

How to map back-space to CTRL-H? #106

E3V3A opened this issue Jan 22, 2019 · 1 comment

Comments

@E3V3A
Copy link

E3V3A commented Jan 22, 2019

Many serial devices are using CTRL-H as the "delete" character function (at least on Windows Keyboards), but I don't find a way to map this in picoterm. Any ideas?

@edgar-bonet
Copy link

This is a setting of your terminal emulator. When you hit the ⌫ key at the top-right corner of the alphanumeric part of the keyboard, the terminal emulator emits either a backspace character (BS = 0x08 = Ctrl-H) or a delete character (DEL = 0x7f = Ctrl-?). In most terminal emulators, this can be configured. For example, in Gnome Terminal, Menu: Preferences / Default profile / Compatibility / Backspace key generates. Picocom then forwards the received character to the serial port, just like any other character.

Alternatively, if you do not want to mess with the settings of your terminal, you can ask picocom to map DEL to BS on output with the option --omap delbs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants