mintty

ConEmu/cygwin newlines don't perform carriage return functionality

别等时光非礼了梦想. 提交于 2020-12-12 06:18:08
问题 I upgraded Cygwin and now Bash is acting weird. Newlines aren't always returning the cursor to the left side of the screen, but sometimes they do. Here is what I'm experiencing: $ echo hello hello Thu Jan 30 08:31:33 :~ $ python3 Python 3.6.9 (default, Jul 21 2019, 14:33:59) [GCC 7.4.0] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> 56+23 79 >>> 2+3 5 >>> exit() Thu Jan 30 08:31:46 :~ $ I have TERM=xterm-color , and I've tried TERM=cygwin and just TERM=

Windows搭建Git、TortoiseGit

风格不统一 提交于 2020-12-05 23:37:14
1. Git 简介: Git 是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。 Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。 Git 与常用的版本控制工具 CVS, Subversion 等不同,它采用了分布式版本库的方式,不必服务器端软件支持。 Git 与 SVN 区别 GIT不仅仅是个版本控制系统,它也是个内容管理系统(CMS),工作管理系统等。Git 与 SVN 区别点: GIT 是分布式的,SVN不是:这是GIT和其它非分布式的版本控制系统,例如SVN,CVS等,最核心的区别。 GIT 把内容按元数据方式存储,而SVN是按文件:所有的资源控制系统都是把文件的元信息隐藏在一个类似.svn,.cvs等的文件夹里。 GIT 分支和SVN的分支不同:分支在SVN中一点不特别,就是版本库中的另外的一个目录。 GIT 没有一个全局的版本号,而SVN有:目前为止这是跟SVN相比GIT缺少的最大的一个特征。 GIT 的内容完整性要优于SVN:GIT的内容存储使用的是SHA-1哈希算法。这能确保代码内容的完整性,确保在遇到磁盘故障和网络问题时降低对版本库的破坏。 2. Git 安装: 下载 下载地址: https://git-scm.com/downloads 安装 第一步:双击下载好的git安装包

Could Git correctly display ISO Latin 1 accents in a UTF-8 terminal?

只愿长相守 提交于 2020-01-03 01:58:09
问题 Fork from Don't display ^M (carriage return) in git grep output In my MinTTY (Cygwin on Windows), git grep display weird chars instead of accents: Upon verification, it seems that the filetype is: ISO-8859 text, with very long lines, with CRLF line terminators While my MinTTY is set up as UTF-8: # Text Font=Powerline Consolas FontHeight=9 BoldAsFont=yes BoldAsColour=yes AllowBlinking=yes Locale=C Charset=UTF-8 # Terminal Term=xterm-256color Of course, when grepping in files from different

Why isn't git bash transforming the path to *nix notation for my python installation?

旧街凉风 提交于 2019-12-22 01:06:58
问题 Working on Windows 7, I've installed git with the git bash and then installed python and am having trouble running it from the command line. Here's what I've learned so far: *nix uses : as a path separator. Therefore C:/Users/Someone would be seen as two separate paths. *nix uses /c/users/someone notation instead. When I run echo $PATH from git bash, every path there (including Node, which I only just installed now, after everything else) is using the correct /c/ notation-- --except Python,

How do i start Mintty and run a script file?

家住魔仙堡 提交于 2019-12-18 12:59:12
问题 I wrote a simple CURL and put it in a script file. if i run mintty first and then "test.sh" it runs the script in the file just fine. Works perfectly. however, if i try to run mintty with any of the following command line, it will not run. I'm running these in CMD C:\>c:\cygwin\bin\mintty.exe --exec '/cygdrive/c/cygwin/bin/test.sh' C:\>c:\cygwin\bin\mintty.exe --exec '/bin/test.sh' C:\>c:\cygwin\bin\mintty.exe --exec '/test.sh' C:\>c:\cygwin\bin\mintty.exe --exec 'test.sh' C:\>c:\cygwin\bin

nant hanging when run in cygwin

偶尔善良 提交于 2019-12-13 04:58:28
问题 I updated to cygwin 1.7.15 this afternoon and went to run the same nant script I ran successfully this morning, except that nant now hangs - no output is ever shown. I've verified nant (0.91.3881.0 alpha2) still runs in a windows cmd prompt and I've tried to rebaseall on cygwin without any luck. Edit: In 1.7.15, nant doesn't show as a process in task manager nor Process Explorer (sysinternals). How do I get nant back working in cygwin? 回答1: It looks like this is a known bug with a fix coming.

How to get Vim on Cygwin to display right colors?

倖福魔咒の 提交于 2019-12-12 12:36:50
问题 I am using Vim on Cygwin. And I am trying to use desert color scheme. In gVim it looks like this: http://i.stack.imgur.com/FNaVa.png But in my MinTTY terminal it looks like this: http://i.stack.imgur.com/dYPkF.png Is there way to fix it? My TERM variable is set to xterm-256color. Also, I have added t_Co=256 to my .vimrc file. But it doesn't help. P.S. I have already found some solution. I can fix it using CSApprox/guicolorscheme plugins. However, is there way to fix it not using plugins? 回答1:

How do I change charset / locale in conemu?

戏子无情 提交于 2019-12-09 13:38:20
问题 I am using gitbash via conemu. I have a charset issue where the chars look wrong in gitbash via conemu and gitbash directly. I fixed it in gitbash by setting the locale in .minttyrc to .. BoldAsFont=-1 Locale=en_US Charset=UTF-8 But this doesn't fix it in gitbash when launched via conemu. Any ideas where I would change conemu settings to address locale or to get it to pick up .minttyrc settings? 回答1: As mentioned in "git log output encoding issues on Windows 10 command prompt", can you check