1
Vote

Running vim in poshconsole fails

description

Trying to launch vim in poshconsole seems to cause vim to get stuck in some kind of startup loop or something and you can't cancel it in poshconsole, so you need to both close poshconsole and terminate vim.exe in task manager.

Starting gvim (gui vim) works fine though.

I've tried with both the latest beta and the latest mercurial source code running the Net4 64bit version. I don't know why vim would cause this. Works fine in regular PowerShell.

comments

Mattiasjp wrote Apr 16, 2011 at 1:42 PM

I just found out you can terminate it all without having to go to taskmanager for vim by pressing Esc. Still would love to have vim running since that's the app I use the most.

Mattiasjp wrote Apr 16, 2011 at 1:45 PM

Ok that was false... I think I just pressed Esc before vim got executed and stuck in a loop or something the first time. Still have to terminate via task manager... (And why is there no delete comment / edit comment button)

Jaykul wrote Apr 18, 2011 at 4:05 AM

At this point, I have no plans to support full apps that do full console drawing like edit.com or vim or emacs ... As far as I know, I'd have to wrap up the whole Win32 console API for that, and it's just way more work than I'm ready to do (I don't use in-console editors anyway, so ...)

Jaykul wrote Jan 24, 2012 at 8:54 PM

I'm updating this just to report status (I still have no plans to implement native interactive console app support). I'm going to try to do two things here: 1) add a black list like PowerShell ISE uses to prevent you from launching such apps. 2) add a kill switch to automatically kill interactive apps and add them to the black list if you launch them accidentally.

I'd welcome any contributions toward this, but since there aren't really any other rich consoles that do anything like that, I expect others have found the problem as intractable as I did.