Sample Header Ad - 728x90

Anyway to bind keyboard to dash (Debian Almquist Shell)?

1 vote
1 answer
183 views
Specifically Up/Down for history navigation. # What I already know I understand [dash](https://en.wikipedia.org/wiki/Debian_Almquist_shell#Dash) is a minimalistic, no bloat, (somewhat) strict POSIX shell. I understand the philosophy behind it, and the reason features, that have become basic in other interactive shells, are not present in dash. I've looked into the following resources: * [man](https://www.man7.org/linux/man-pages/man1/dash.1.html) page * [Arch Linux Wiki](https://wiki.archlinux.org/title/Dash) page As well as a bunch of other pages and answers specific about history in dash. From my reading, I gather _there is_ a history mechanism, as well as a vi mode. However I can't find how to map the ` key, or the [UP]/[DOWN]` arrow keys (or any key) to any meaningful action. No bind or bindkey builtin commands either. My goal - make dash minimally usable as an interactive shell for debugging purposes. # Questions * Is there a default mapping? * Is there a way to manipulate the keyboard mapping in dash? * Is there another source of information that can shed some light on interactive usability of dash?
Asked by Lockszmith (768 rep)
Jan 11, 2023, 10:58 PM
Last activity: Jan 11, 2024, 06:37 AM