You can copy text from an MSYS window to the clipboard simply by selecting the text you want to copy. As the text selection changes the clipboard is updated to contain the selected text. To paste text from the clipboard into an MSYS window either click the
left button while holding down the Shift key, or else click the mouse wheel (clicking anywhere in the MSYS window will do). Pasting text you've copied from MSYS into another program (e.g. Microsoft Word) is accomplished using the normal mechanism(s) supported
by the other program (e.g. Ctrl-V).
An alternative way to copy output from MSYS is to redirect it to /dev/clipboard. E.g. you can copy the contents of file foo to the clipboard using |cat foo > /dev/clipboard| and then paste it elsewhere.
粘贴:在任何地方复制需要粘贴的文本,在msys里面按住shift+左键,就可以完成粘贴操作。
复制:在msys里面用左键选中文本,松开左键,用右键点击,即可把选中内容拷贝到剪切板里。
在windows7下:
粘贴:快捷键ctrl+insert,或者右键点击控制台标题栏上的应用程序图标,选择编辑---粘贴
复制:右键点击控制台标题栏上的应用程序图标,选择编辑---标记,选中文本后按回车键(Enter)
本文介绍如何在MSYS环境下进行文本的复制与粘贴操作,包括使用鼠标选择文本并复制到剪切板,以及通过命令行直接将输出内容复制到剪切板的方法。同时,提供在不同操作系统环境下进行粘贴的具体步骤。
2540

被折叠的 条评论
为什么被折叠?



