skr*_*lav 5 freebsd bash putty xterm
我刚刚在一台电脑上安装了最新的稳定版 FreeBSD,我遇到了以下问题:
如果在 Putty 中,我发出类似ps uxa给出长行输出的命令,它们会被裁剪。ps uxa|more没有帮助。即使我做ps uxa > file.txt,线裁剪到80个字符的文件中!
有一些它的外观图片:http: //yfrog.com/0rfilecroppx
这会在全新安装后立即发生,所有内容都设置为默认值。默认 shell 是 csh,将其更改为 bash 没有帮助。我在 Linux 中从未发生过这种情况。
我的名字 -a
FreeBSD freebsd.localdomain 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Run Code Online (Sandbox Code Playgroud)
如何解决这个问题?我已经看过 env vars、.profile、.cshrc、/etc/login.conf。
尝试使用该-w选项:
从 MAN 页面:
-w Use 132 columns to display information, instead of the default which is your
window size. If the -w option is specified more than once, ps will use as
many columns as necessary without regard for your window size. When output
is not to a terminal, an unlimited number of columns are always used.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1582 次 |
| 最近记录: |