git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: pseudo terminal support, was Re: [git-for-windows] Re: [ANNOUNCE] Git for Windows 2.27.0-rc0

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
May 20, 2020, 14:04 UTC
Message-ID
<20200520140404.GA2893@danh.dev>
In-Reply-To
<nycvar.QRO.7.76.6.2005191311540.56@tvgsbejvaqbjf.bet>
On 2020-05-19 13:16:40+0200, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 6 quoted lines
> > > > To be honest, this time round I would _really_ like to ask for some manual
> > > > testing. I upgraded the MSYS2 runtime from being based on Cygwin v3.0.7 to
> > > > v3.1.4, and the biggest new feature is support for those new-fangled
> > > > pseudo terminals that Windows 10 now supports. I did find a couple of
> > > > rough edges in my use cases, but I am not exactly a typical Git for
> > > > Windows user...
Hi Dscho,

I've installed Git for Windows 2.27.0 rc0 in my $work_machine today, I've run into this error during installation:

	Cannot create file "<my %localappdata%>\Programs\Git\dev\fd".
	Access is denied.

I have GfW 2.19.0 installed (by IT policy) in "%programfiles%\Git", and GfW 2.26.2 installed in %localappdata%\Programs\Git. I don't have the right to install software in my $work_machine

I can still use git-bash (by double-click git-bash.exe) after installation, though.

If you want more information, please tell me, I'll try to get it, tomorrow.

Show 16 quoted lines
> > > > Could I ask for some manual testing in particular of anything run inside
> > > > the Git Bash?
> > >
> > >
> > > I’m happy to set it up and use it as my daily driver on one of my
> > > workstations, but I don’t want to overpromise how much help I can really
> > > offer for that sort of testing. I don’t do much of my full-time development
> > > on Windows anymore for a variety of reasons, so even if I install it in my
> > > Windows machines I won’t get that much active use in. And when I do use
> > > Windows, I keep my workflow pretty simple, so aside from basic adds and
> > > commits with an occasional checkout or very rare rebase, I just don’t cover
> > > that much functionality.
> 
> Turns out that I ran into even more issues when trying to do a visual
> selection in `vim`: it would frequently "lose" the selection when I moved
> via the cursor keys.

My Windows machine is only used to run Ubuntu in a Virtual Box. My limited exposure to GfW doesn't have any trouble. My normal vim usage in GfW's git-bash works pretty well. FWIW, I don't use arrow keys with vim.

Show 10 quoted lines
> So I've come to the conclusion that the pseudo console support code is
> still too buggy to unleash onto Git for Windows' users, except as an
> experimental option. I will patch it to make the pseudo console feature
> opt-in instead of opt-out, and then also offer to configure it in Git for
> Windows' installer via an experimental option.
> 
> Has anybody else run into issues with console programs (such as `vim`,
> interactive Bash, etc)? Or is there anybody with a very different
> experience than mine, i.e. _not_ having run into any issues despite using
> (interactively) Git Bash extensively?

Is there anything that you would like to have a cross-check, I can check during my free time, I can't promise much since I mostly work inside my Ubuntu virtual machine.

-- 
Danh
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 6 of 7 in “[ANNOUNCE] Git for Windows 2.27.0-rc0”
  1. Johannes SchindelinMay 15, 2020
  2. Bryan TurnerMay 15, 2020
  3. Johannes SchindelinMay 16, 2020
  4. Johannes SchindelinMay 18, 2020
  5. pseudo terminal support, was Re: [git-for-windows] Re: [ANNOUNCE] Git for Windows 2.27.0-rc0Johannes Schindelin, May 19, 2020
  6. Đoàn Trần Công DanhMay 20, 2020
  7. Johannes SchindelinMay 18, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.