Xterm:找不到 shell 的绝对路径:500

Xterm:找不到 shell 的绝对路径:500

在通过 sshing(使用启用了 X11 的 putty)进入我的虚拟机虚拟机后,我尝试打开一个 xterm 窗口。但是以下命令:

xterm -sb 500

甚至

/usr/bin/xterm -sb 500

返回错误:

xterm: No absolute path found for shell: 500

我似乎无法弄清楚该错误意味着什么!

编辑:

ls -la /usr/bin/xterm
-rwxr-xr-x 1 root root 450888 Sep 28  2012 /usr/bin/xterm

alias xterm
-bash: alias: xterm: not found


DISTRIB_DESCRIPTION="Ubuntu 12.10"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"

答案1

也许你的意思是

xterm -sl 500

-sb选项没有使用价值。

手动的这些选项的页面:

   -sb     This  option  indicates  that  some  number  of  lines that are
           scrolled off the top of the window should be saved and  that  a
           scrollbar  should  be  displayed  so  that  those  lines can be
           viewed.  This option may be turned on  and  off  from  the  "VT
           Options" menu.

-sl选项:

   -sl number
           This option specifies the number of lines  to  save  that  have
           been  scrolled  off the top of the screen.  This corresponds to
           the saveLines resource.  The default is "64".

相关内容