[Seek Help] 为什么deepin终端不能用PgUp和PgDn补全?
Tofloor
poster avatar
lindorx
deepin
2021-03-08 17:20
Author

如题。

Reply Favorite View the author
All Replies
liwl
deepin
2021-03-08 17:47
#1

请问补全什么?

Reply View the author
deepin_z
deepin
2021-03-08 18:47
#2

补全不是用tab键吗?

 

Reply View the author
lindorx
deepin
2021-03-08 19:24
#3
deepin_z

补全不是用tab键吗?

 

在centos下用PgUp和PgDn可以补全以前输入过整行命令,tab只能补全一个单词吧?debian系没有这功能吗?

Reply View the author
lindorx
deepin
2021-03-08 19:25
#4
liwl

请问补全什么?

补全以前输入过的整行命令

Reply View the author
SamLukeYes
deepin
2021-03-08 19:25
#5
lindorx

在centos下用PgUp和PgDn可以补全以前输入过整行命令,tab只能补全一个单词吧?debian系没有这功能吗?

正常不是用方向键吗

Reply View the author
lindorx
deepin
2021-03-08 19:33
#6
SamLukeYes

正常不是用方向键吗

不是吧,方向键不是只能一个一个翻到自己输入过的命令吗?centos里输入开头几个字母按pgup直接就补上后面的了

Reply View the author
SamLukeYes
deepin
2021-03-08 19:45
#7
lindorx

不是吧,方向键不是只能一个一个翻到自己输入过的命令吗?centos里输入开头几个字母按pgup直接就补上后面的了

用 fish 可以直接用方向键实现类似的功能。page up 和 page down 我都好久没用过了。

Reply View the author
虫子集花
deepin
2021-03-08 23:36
#8
SamLukeYes

用 fish 可以直接用方向键实现类似的功能。page up 和 page down 我都好久没用过了。

怎么操作?

Reply View the author
SamLukeYes
deepin
2021-03-08 23:38
#9
虫子集花

怎么操作?

命令输一半,然后向上翻

Reply View the author
enforcee
deepin
2021-03-09 21:01
#10

zsh也有这功能,bash没有

Reply View the author
剥壳白煮蛋
deepin
2021-03-09 23:03
#11

换 zsh

Reply View the author
groudon_
deepin
2023-07-08 00:58
#12

你好。我也有这个问题。我用irssi时候是很需要pgdn和pgup的。

我的终端本是5.2.11。我看有新的本版在snap或者flatpak,而且没有着到。不用qt,用gnome的,而且不过几个事情想用deepin终端.

别的终端都有--tab的命令。deepin有吗?

Reply View the author
lindorx
deepin
2023-08-12 00:19
#13
groudon_

你好。我也有这个问题。我用irssi时候是很需要pgdn和pgup的。

我的终端本是5.2.11。我看有新的本版在snap或者flatpak,而且没有着到。不用qt,用gnome的,而且不过几个事情想用deepin终端.

别的终端都有--tab的命令。deepin有吗?

我已经放弃了,不过可以用ctrl+r替代这个功能

Reply View the author
hotime
deepin
2023-08-12 02:19
#14

询问了百度AI一些相关问题,最后确定是因为Debian系统的/etc/inputrc文件中,关于“history-search-backward”以及"history-search-forward”的按键映射项默认是注释状态,需要取消注释。

在DeepinV23系统中,这两项映射在第41行和42行,你可以检查一下,将注释取消,然后重启终端就可以正常使用PgUp、PgDn的历史命令补全功能了。

Reply View the author