[20201119]安裝cygwin.txt

lfree發表於2020-11-20

[20201119]安裝cygwin.txt

--//工作需要想在自己的工作機器上安裝cygwin軟體,居然在選擇映象下載站點列表上顯示為空。
--//只好手工加入


--//整個過程還是蠻快的,不知道為什麼工作環境的網路這麼多限制。幹一點點事情浪費大量的時間。

--//補充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部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2735397/,如需轉載,請註明出處,否則將追究法律責任。

相關文章