在 putty 用右键会粘贴剪切板文本内容,如果文本含换行符,很容易误操作,直接就运行命令了,不太安全,解决:
- 打开 putty ——> 左侧 Category ——> 找到 Window ——> 找到 Selection
- 找到 Control use of mouse 下的 Action of mouse buttons
- 选择
xterm (Right extends, Middle pastes)
,毕竟鼠标中键不容易误按到 - 最后记得保存到对应的 Saved Sessions 里面去
在 putty 用右键会粘贴剪切板文本内容,如果文本含换行符,很容易误操作,直接就运行命令了,不太安全,解决:
xterm (Right extends, Middle pastes)
,毕竟鼠标中键不容易误按到