由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - The command line is powerful, but the UI can be more efficient!
相关主题
why terminal is not like an editor?问个基础问题,关于linux command存放地址
问个小问题有人能推荐和分享Ubuntu的入门书么?
命令行迟迟不出来,请问高手是何原因?Urgent help please! background process killed.
找不到命令的路径A question about two linux commands
command line升级LTSbash中比较无聊的功能
耗时很长的一个command请教一个linux下面matlab的问题
command line into tex file请教如何更改启动时的默认目录?
find linux command问个terminal的问题
相关话题的讨论汇总
话题: command话题: ps话题: ui话题: efficient话题: line
进入Linux版参与讨论
1 (共1页)
x********g
发帖数: 100
1
In most terminals, all commands and results are stacked stacked up, make it
not easy to find things, even if you can change the prompt statement (PS) to
make it distinct from the others. In my opinion, a more efficient user
interface could be like this:
1) The PS is fixed on the first line.
2) You enter a command, and the result shows below the PS.
3) When you are typing another command, the result of the previous command
stays until you type Enter, whereas the screen is cleared and shows the
re
i*****f
发帖数: 578
2
if this is not a 坑, I suggest you to do more investigation on any *nix
shell before mentionling ANY of the 4 points.

it
to

【在 x********g 的大作中提到】
: In most terminals, all commands and results are stacked stacked up, make it
: not easy to find things, even if you can change the prompt statement (PS) to
: make it distinct from the others. In my opinion, a more efficient user
: interface could be like this:
: 1) The PS is fixed on the first line.
: 2) You enter a command, and the result shows below the PS.
: 3) When you are typing another command, the result of the previous command
: stays until you type Enter, whereas the screen is cleared and shows the
: re

p*****s
发帖数: 344
3
basically you want your terminal act like a browser environment, which is
not a bad idea and can be easily implemented.

it
(PS) to
command

【在 x********g 的大作中提到】
: In most terminals, all commands and results are stacked stacked up, make it
: not easy to find things, even if you can change the prompt statement (PS) to
: make it distinct from the others. In my opinion, a more efficient user
: interface could be like this:
: 1) The PS is fixed on the first line.
: 2) You enter a command, and the result shows below the PS.
: 3) When you are typing another command, the result of the previous command
: stays until you type Enter, whereas the screen is cleared and shows the
: re

b*****l
发帖数: 9499
4
不好的地方在于,以前的 command 的结果就被抹掉了。
现在的方式有很多好处,比如说,screen 下可以向上翻屏看历史,等等。

it
to
to

【在 x********g 的大作中提到】
: In most terminals, all commands and results are stacked stacked up, make it
: not easy to find things, even if you can change the prompt statement (PS) to
: make it distinct from the others. In my opinion, a more efficient user
: interface could be like this:
: 1) The PS is fixed on the first line.
: 2) You enter a command, and the result shows below the PS.
: 3) When you are typing another command, the result of the previous command
: stays until you type Enter, whereas the screen is cleared and shows the
: re

x********g
发帖数: 100
5
我说的也是可以上下翻页的,而且每页只显示一个命令的结果,这样更清楚.通常不会需
要看上上一个命令结果吧?
x********g
发帖数: 100
6

一语中的! 具体怎么做呢,直接用.bashrc就可以吗?

【在 p*****s 的大作中提到】
: basically you want your terminal act like a browser environment, which is
: not a bad idea and can be easily implemented.
:
: it
: (PS) to
: command

b*****l
发帖数: 9499
7
嗯,那样的话应该挺不错的。不知道 emacs 有没有这种 mode。。。

【在 x********g 的大作中提到】
: 我说的也是可以上下翻页的,而且每页只显示一个命令的结果,这样更清楚.通常不会需
: 要看上上一个命令结果吧?

C********s
发帖数: 120
8
emacs has dozens of such modes, for example, sql-mode, where the frame (
emacs window) is split in two, the lower window is connecte to the database
server (say, using SQL*Plus), the upper window is a text buffer with SQL
syntax highlights. You enter/edit your SQL statements in the upper window,
use a key-sequence (Ctrl-c, Ctrl-c) to send the last SQL statement to lower
window. The content in lower window can be treated as a regular buffer, so
you can easily search/copy/edit the results as well
1 (共1页)
进入Linux版参与讨论
相关主题
问个terminal的问题command line升级LTS
.bash_profile not run when opening a terminal from desktop耗时很长的一个command
如何使terminal里面总是显示一行当前目录?command line into tex file
每次打开terminal,都会随机显示一首中文诗find linux command
why terminal is not like an editor?问个基础问题,关于linux command存放地址
问个小问题有人能推荐和分享Ubuntu的入门书么?
命令行迟迟不出来,请问高手是何原因?Urgent help please! background process killed.
找不到命令的路径A question about two linux commands
相关话题的讨论汇总
话题: command话题: ps话题: ui话题: efficient话题: line