/
rlwrap: error: My terminal reports width=0 (is it emacs?) I can't handle this, sorry!
rlwrap: error: My terminal reports width=0 (is it emacs?) I can't handle this, sorry!
Problem
When trying to use the signer-console
command on a serial terminal, rlwrap
can give this error due to the console's height and width not being defined.
Solution
The simplest solution is installing the resize
command on the system and using it. On Ubuntu and RHEL systems this appears to be available as part of the xterm
package. To resolve the issue, do the following:
Install
xterm
using the operating systems package manager, e.g.apt install xterm
oryum install xterm
Run the command
resize
Run the original
signer-console
command that was giving the error
The resize
command will only affect the current terminal session. When the session is closed and opened again, the resize
command also needs to be ran again.
Related articles
, multiple selections available,
Related content
X-Road v6.24.1 Release Notes
X-Road v6.24.1 Release Notes
More like this
X-Road v6.20.2 Release Notes
X-Road v6.20.2 Release Notes
More like this
X-Road v6.24.0 Release Notes
X-Road v6.24.0 Release Notes
More like this
X-Road v6.21.2 Release Notes
X-Road v6.21.2 Release Notes
More like this
X-Road v7.4.1 Release Notes
X-Road v7.4.1 Release Notes
More like this
X-Road v7.4.2 Release Notes
X-Road v7.4.2 Release Notes
More like this