[20201119]安装cygwin.txt
--//工作需要想在自己的工作机器上安装cygwin软件,居然在选择镜像下载站点列表上显示为空。
--//只好手工加入
http://mirrors.163.com/
--//整个过程还是蛮快的,不知道为什么工作环境的网络这么多限制。干一点点事情浪费大量的时间。
--//补充cygwin设置:
--//.bashrc加入如下:
export
--//.inputrc
# $HOME/.inputrc
# Last modified: 8 August 1998. append by zhang.wensheng
#
# This file is read by bash and defines key bindings to be used by the shell;
# what follows fixes the keys END, HOME, and DELETE, plus accented letters.
# For more information, man readline.
"\e[1~": beginning-of-line # home
"\e[2~": yank-last-arg # insert
"\e[3~": delete-char # delete
"\e[4~": end-of-line # end
"\e[5~": backward-kill-word # page up
"\e[6~": kill-word # page down
#set bell-style visible
set bell-style none
set meta-flag On
set convert-meta Off
set input-meta on
set output-meta On
set horizontal-scroll-mode On
set show-all-if-ambiguous On
# (F1 .. F5) are "\e[[A" ... "\e[[E"
#"\e[[B": "select * from v$system_event ;" # F2
"\e[[A": backward-word # F1
"\e[[B": forward-word # F2
"\e[[C": backward-kill-line # F3
"\e[[D": kill-line # F4
"\e[[E": yank # F5
"\e[17~": undo # F6
"\e[18~": history-search-forward # F7
"\e[19~": history-search-backward # F8
"\e[20~": character-search # F9
"\e[21~": character-search-backward # F10
"\e[23~": "\eb'\ef'" # F11
"\e[24~": kill-whole-line # F12
--//另外:
$ echo $TERM
xterm
--//不确定是否需要修改为linux.简单测试有问题.vim下不好用.还是选择xterm。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/267265/viewspace-2735397/ ,如需转载,请注明出处,否则将追究法律责任。