forked from valefor/MYCOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMEMO
More file actions
executable file
·26 lines (21 loc) · 705 Bytes
/
MEMO
File metadata and controls
executable file
·26 lines (21 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
F*ck the messcode off in cygwin:
1> edit /$HOME/.inputrc:
uncomments the following lines:
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
2> edit /$HOME/.bash_profile: adding following codes
export LC_ALL=en_US.UTF-16
export LC_CTYPE=en_US.UTF-16
export LANG=en_US.UTF-16
export XMODIFIERS="@im=Chinput"3
stty cs8 -istrip
stty pass8
export LESSCHARSET=latin1
3> if you want to show control chars with commands like 'ls' etcetera,this line should be added in your /$HOME/.bashrc:
alias ls='ls --color --show-control-chars'
#start gdb
140 export CYGWIN="$CYGWIN error_start=gdb -nw %1 %2"
141 # generate core dump
142 #export CYGWIN="$CYGWIN error_start=dumper.exe -d %1 %2"