You are not logged in.

#1 2020-12-22 16:16:20

sharethewisdom
Member
Registered: 2014-09-22
Posts: 61

[SOLVED] archiso cryptsetup prompt problem with accepting line input

I booted the latest archiso, and ran a cryptsetup command that prompted an "Are you sure?" question.

If I then type "YES" and then enter, a raw ^M is printed on the line, which isn't accepted. The same goes for passphrase entry. I tried stty sane but to no avail. Without much thought I then did bindkey '^M' end-of-line, and didn't figure out how to accept lines with zle otherwise.

How do terminate raw input to cryptsetup without having to use a heredoc? Could it be a problem with the usb keyboard or the keymap I used? (I did loadkeys be-latin1)

I'm sure that this is a common problem, and I think it can be a bit complicated, but I couldn't find an answer on the wiki or the forums. Sorry for such a noob question. I looked at man console_codes and man zshall but ran out of patience.

*edit* I use a usb keyboard

edit the issue was solved automagically. I have no idea what happened.

Last edited by sharethewisdom (2021-01-02 18:43:56)

Offline

Board footer

Powered by FluxBB