vaniacer/sshto

Dialog error message is `Expected at least 20 tokens` since Awk changes

Closed this issue · 2 comments

Dialog doesn't like the new awk list creation (commit 68ad4dd). Specialy this line create problem:
--menu "Select host to connect to. $USERNOTE" 0 0 0 "${list[@]}")

Dialog error message is
Expected at least 20 tokens for --men, have 4.
followed by
ESC[0mESC[?25hESC[HESC[2JESC[3J
followed by current directory content.

Unrelated, but additonaly only few lines of the output can be seen, and the output is not browsable (terminal window looks locked at current screen).

It is a known issue with Dialog, very similar to this old error on slackware. Browse at the bottom for explanation.

Is this 16d203e fixed the issue?

Yes ! thank you !