vsh
vsh copied to clipboard
Write a "checkhealth" script to run under vsh
Since vsh has all sorts of tie-ins with other programs, the users environment can easily cause troubles.
It would be nice to provide a small introduction tutorial and script to check what might be wrong.
- Is
TERMset todumb? - Do we have
possible-completionsbound inreadline? - If so, has
vsh_completions_cmdcorrectly identified the relevant keys. - Ensure pagination is turned off in
gdb(based onTERM). - Recommend that
sttyis handled so that can mapC-q. - TODO -- anything else?
Then have an introduction file:
Existing .vsh file to show some features that the user can step through.
ix, ic, <F3>, etc commands.
Since zsh resets some tty variables on each new prompt, it seems like it would be good to check that and mention it.
(I personally have if TERM=dumb exec bash in my zshrc so that machines running zsh don't act wierd when I ssh into them).