ft 发帖数: 106 | 1 【 以下文字转载自 Linux 讨论区 】
【 原文由 ft 所发表 】
I recently installed a linux, but the configuration is still poor.
The up and down arrow key is not working when I want to make it
work like doskey. I wonder if anyone could tell me how to set
it up? I am using bsh, csh, and tcsh, and I hope to know
how to set them up respectively.
Thank you. | B**z 发帖数: 153 | 2 As I know of, it only works for tcsh, other shells work like vi or emacs
on the command line.
【在 ft 的大作中提到】 : 【 以下文字转载自 Linux 讨论区 】 : 【 原文由 ft 所发表 】 : I recently installed a linux, but the configuration is still poor. : The up and down arrow key is not working when I want to make it : work like doskey. I wonder if anyone could tell me how to set : it up? I am using bsh, csh, and tcsh, and I hope to know : how to set them up respectively. : Thank you.
| h******a 发帖数: 198 | 3 bsh,csh doesn't not support history.
bash, tcsh, ksh do.
bash is the default shell for Linux system, so it should work.
perhaps you need to write "set -o history" into your .bashrc in ur
home directory.
【在 ft 的大作中提到】 : 【 以下文字转载自 Linux 讨论区 】 : 【 原文由 ft 所发表 】 : I recently installed a linux, but the configuration is still poor. : The up and down arrow key is not working when I want to make it : work like doskey. I wonder if anyone could tell me how to set : it up? I am using bsh, csh, and tcsh, and I hope to know : how to set them up respectively. : Thank you.
| c*****t 发帖数: 1879 | 4 one correction, csh does support history, though in a wierd
way.
【在 h******a 的大作中提到】 : bsh,csh doesn't not support history. : bash, tcsh, ksh do. : bash is the default shell for Linux system, so it should work. : perhaps you need to write "set -o history" into your .bashrc in ur : home directory.
| h******a 发帖数: 198 | 5 csh does support command history,
like !!,!n,!-n,!cmd
but not like bash/tcsh/ksh doskey style
【在 c*****t 的大作中提到】 : one correction, csh does support history, though in a wierd : way.
|
|