查看问题详情
编号 | 项目 | 分类 | 查看权限 | 报告日期 | 最后更新 |
---|---|---|---|---|---|
0000101 | Anolis OS 8 | gpm | public | 2021-04-30 11:31 | 2021-05-14 09:44 |
报告员 | yinyongchen | 分派给 | ZhangBinChen | ||
优先级 | normal | 严重性 | @30@ | 出现频率 | always |
状态 | feedback | 处理状况 | reopened | ||
目标版本 | 8.2 正式版 | ||||
标题 | 0000101: [Anolis 8.2-4.19-x86/aarch64]查看gpm帮助信息出现乱码 | ||||
描述 | 查看gpm帮助信息出现乱码,x86_64\aarch64均涉及 [环境信息]: 内核信息: [root@VM20210305-8]# uname -r 4.19.91-23.1.an8.x86_64 操作系统信息: # cat /etc/os-release NAME="Anolis OS" VERSION="8.2" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.2" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.2" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" [期望结果]: 查看gpm帮助信息显示正常 [实际结果]: 查看gpm帮助信息中有乱码 # /usr/sbin/gpm -h Usage: /usr/sbin/gpm [options] Valid options are (not all of them are implemented) -a accel sets the acceleration (default 2) -A [limit] start with selection disabled (`aged') -b baud-rate sets the baud rate (default 1200) -B sequence allows changing the buttons (default '123') -d delta sets the delta value (default 25) (must be 2 or more) -D debug mode: don't auto-background -g tap-button sets the button (1-3) that is emulated by tapping on a glidepoint mouse, none by default. (mman/ps2 only) -i interval max time interval for multiple clicks (default 250) -k kill a running gpm, to start X with a busmouse -l charset loads the inword() LUT (default '-a-zA-Z0-9_./▒-▒▒-▒▒-▒') -m mouse-device sets mouse device -M enable multiple mice. Following options refer to the second device. Forces "-R" -o options decoder-specific options (e.g.: "dtr", "rts") -p draw the pointer while striking a selection -q quit after changing mouse behaviour -r number sets the responsiveness (default 10) -R mouse-type enter repeater mode. X should read /dev/gpmdata like it was a mouse-type device. Default is MouseSystems. You can also specify "raw" to relay the raw device data. -s sample-rate sets the sample rate (default 100) -S [commands] enable special commands (see man page) -t mouse-type sets mouse type (default 'ms') Use a non-existent type (e.g. "help") to get a list -T test: read mouse, no clients -v print version and exit -V verbosity increase number of logged messages Examples: gpm -m /dev/misc/psaux -t ps2 to start with a ps2 mouse gpm -m /dev/tts/0 -t mman to use mouse man on COM1 [原因定位]: 未知 [修复建议]: 请确认该情况是否正常 | ||||
问题重现步骤 | 1、下载gpm包,执行/usr/sbin/gpm -h,观察有无乱码 yum install -y gpm /usr/sbin/gpm -h | ||||
附注 | yum repolist: Repo-id : AppStream Repo-baseurl : http://mirrors.openanolis.org/anolis/8/AppStream/x86_64/os ----- Repo-id : BaseOS Repo-baseurl : http://mirrors.openanolis.org/anolis/8/BaseOS/x86_64/os ----- Repo-id : PowerTools Repo-baseurl : http://mirrors.openanolis.org/anolis/8/PowerTools/x86_64/os ----- Repo-id : epel Repo-baseurl : http://yum.tbsite.net/epel/8/Everything/x86_64 ----- Repo-id : epel-modular Repo-baseurl : http://yum.tbsite.net/epel/8/Modular/x86_64/ | ||||
标签 | 没加标签. | ||||
|
并没有发现乱码 请检查自身环境终端字体是否有所缺失 请使用多种终端连接查看验证 我是使用linux ssh远程连接执行结果没有乱码 [root@localhost ~]# uanme -r bash: uanme: command not found... Similar command is: 'uname' [root@localhost ~]# uname -r 4.19.91-23.2.an8.x86_64 [root@localhost ~]# cat /etc/os-release NAME="Anolis OS" VERSION="8.2" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.2" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.2" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" [root@localhost ~]# /usr/sbin/gpm -h Usage: /usr/sbin/gpm [options] Valid options are (not all of them are implemented) -a accel sets the acceleration (default 2) -A [limit] start with selection disabled (`aged') -b baud-rate sets the baud rate (default 1200) -B sequence allows changing the buttons (default '123') -d delta sets the delta value (default 25) (must be 2 or more) -D debug mode: don't auto-background -g tap-button sets the button (1-3) that is emulated by tapping on a glidepoint mouse, none by default. (mman/ps2 only) -i interval max time interval for multiple clicks (default 250) -k kill a running gpm, to start X with a busmouse -l charset loads the inword() LUT (default '-a-zA-Z0-9_./---') -m mouse-device sets mouse device -M enable multiple mice. Following options refer to the second device. Forces "-R" -o options decoder-specific options (e.g.: "dtr", "rts") -p draw the pointer while striking a selection -q quit after changing mouse behaviour -r number sets the responsiveness (default 10) -R mouse-type enter repeater mode. X should read /dev/gpmdata like it was a mouse-type device. Default is MouseSystems. You can also specify "raw" to relay the raw device data. -s sample-rate sets the sample rate (default 100) -S [commands] enable special commands (see man page) -t mouse-type sets mouse type (default 'ms') Use a non-existent type (e.g. "help") to get a list -T test: read mouse, no clients -v print version and exit -V verbosity increase number of logged messages Examples: gpm -m /dev/misc/psaux -t ps2 to start with a ps2 mouse gpm -m /dev/tts/0 -t mman to use mouse man on COM1 |
|
请在实体机上进行测试,实体机上x86/aarch64还是会出现乱码 |
|
|
日期 | 用户名 | 字段 | 更改 |
---|---|---|---|
2021-04-30 11:31 | yinyongchen | 新建问题 | |
2021-04-30 14:38 | qingming2021 | 分派给 | => geliwei-ali |
2021-04-30 14:38 | qingming2021 | 状态 | 新建 => 已分配 |
2021-05-06 11:26 | jacobwang | 分派给 | geliwei-ali => ZhangBinChen |
2021-05-06 11:26 | jacobwang | 目标版本 | => 8.2 正式版 |
2021-05-06 18:54 | ZhangBinChen | 状态 | 已分配 => 已解决 |
2021-05-06 18:54 | ZhangBinChen | 处理状况 | 未处理 => 已修正 |
2021-05-06 18:54 | ZhangBinChen | 注释已添加: 0000145 | |
2021-05-11 15:28 | gaomingyang | 状态 | 已解决 => 反馈 |
2021-05-11 15:28 | gaomingyang | 处理状况 | 已修正 => 重新打开 |
2021-05-11 15:28 | gaomingyang | 注释已添加: 0000187 | |
2021-05-11 15:29 | gaomingyang | 注释已编辑: 0000187 | |
2021-05-14 09:44 | gaomingyang | 注释已添加: 0000206 | |
2021-05-14 09:44 | gaomingyang | 添加了以下文件:: 5.png |