我使用 PuTTY 登录到运行某些 Linux 的嵌入式系统。由于某些原因,在显示长行时,右侧的输出被截断。
/proc/2872# echo $TERM
vt100
/proc/2872# stty
speed 9600 baud; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-brkint ixoff -imaxbel
/proc/2872# resize
COLUMNS=80;LINES=60;export COLUMNS LINES;
/proc/2872# cat cmdline
containerd--config/var/log/docker/run/docker/containerd/containerd.toml--log-le
/proc/2872#
(最后的输出应该更长,但被截断了)
它似乎知道我使用了 80 列,但它就是不换行。cat、vi 等也一样。不是工具截断了行,而是没有换行。我该如何修复它?