由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - How to use the command history in SUN?
相关主题
Re: [转载] How to find match { ?two silly questions :-(
unix command to give terminal a name on top bar?How to make server keep running command after end telnet?
Re: How to setup the arrowkey(for history command) and table-complete[转载] How to use telnet to access a URL
AIX shell configuration再次急问: *.tgz 文件怎么解?
Command history双面打印
A Unix questionhelp on job control commands
问一个关于at的问题wait on line: simple question
Re: How to make server keep running command after end telnet?how to run background process after logout
相关话题的讨论汇总
话题: sun话题: command话题: ctrl话题: history话题: upwoard
进入Unix版参与讨论
1 (共1页)
M**********n
发帖数: 432
1
Could somebody help me on this problem.
I am telneting to a SUN machine with ssh. I could not access the command
history by pressing the upwoard key as I normally do in Linux. In fact every
time when I press the upwoard key, the following characters show up: "^[[A
".
Somebody know how to resolve this problem?
Thanks!
B******e
发帖数: 48
2
I don't like moving cursor around using arrows.
you can set emacs way to move cursor by "set -o emacs"
few examples:
previous command: Ctrl+p
next command: Ctrl+n
search history: Ctrl+r
in-place editing: Ctrl+f, Ctrl+b, Ctrl+d,Ctrl+k ...

every
[A

【在 M**********n 的大作中提到】
: Could somebody help me on this problem.
: I am telneting to a SUN machine with ssh. I could not access the command
: history by pressing the upwoard key as I normally do in Linux. In fact every
: time when I press the upwoard key, the following characters show up: "^[[A
: ".
: Somebody know how to resolve this problem?
: Thanks!

B******e
发帖数: 48
3
btw, your original problems seems to be related to settings of terminal type.
the client is sending a sequence representing "up arrow" but not understood
by the server side.

^[

【在 B******e 的大作中提到】
: I don't like moving cursor around using arrows.
: you can set emacs way to move cursor by "set -o emacs"
: few examples:
: previous command: Ctrl+p
: next command: Ctrl+n
: search history: Ctrl+r
: in-place editing: Ctrl+f, Ctrl+b, Ctrl+d,Ctrl+k ...
:
: every
: [A

c****j
发帖数: 258
4
seems you are using bourn shell,
use ESC then the vi commands to move cursor among histories (j,k) or
position
(h,l), and other commands (x-delete, i-insert ....)

every
[A

【在 M**********n 的大作中提到】
: Could somebody help me on this problem.
: I am telneting to a SUN machine with ssh. I could not access the command
: history by pressing the upwoard key as I normally do in Linux. In fact every
: time when I press the upwoard key, the following characters show up: "^[[A
: ".
: Somebody know how to resolve this problem?
: Thanks!

t*****g
发帖数: 1275
5
bash? try ctril+r

every
[A

【在 M**********n 的大作中提到】
: Could somebody help me on this problem.
: I am telneting to a SUN machine with ssh. I could not access the command
: history by pressing the upwoard key as I normally do in Linux. In fact every
: time when I press the upwoard key, the following characters show up: "^[[A
: ".
: Somebody know how to resolve this problem?
: Thanks!

1 (共1页)
进入Unix版参与讨论
相关主题
how to run background process after logoutCommand history
Re: 为什么emacs自动给我加^M.A Unix question
在x-win的matlab中按了一个键,suspend了问一个关于at的问题
Re: 怎么在UNIX下面放CD?Re: How to make server keep running command after end telnet?
Re: [转载] How to find match { ?two silly questions :-(
unix command to give terminal a name on top bar?How to make server keep running command after end telnet?
Re: How to setup the arrowkey(for history command) and table-complete[转载] How to use telnet to access a URL
AIX shell configuration再次急问: *.tgz 文件怎么解?
相关话题的讨论汇总
话题: sun话题: command话题: ctrl话题: history话题: upwoard