Kakoune on windows platform


Hi all, for those coming from osx to win10.

I just moved to win10 platform this month (Feb 2019) and using the wsl/ubuntu. I found ‘apt-get’ did not install the same kakoune experience I had been used to on the osx. I used homebrew package manager for linux which solved my kakoune problems and am now back to normal with little effort.

As I read this thread on my way to eventually finding a solution thought it might help others posting it here.

brew formulae kakoune
ubuntu/bionic apt-get kakoune
windows subsystem for linux


If you don’t mind, I would like to ask you, what kind of problems/differences you had during the usage of kakoune installed with apt compared to the one installed with brew?


It was only late last year that the Debian package for Kakoune started getting updated regularly. Even the most recent Ubuntu release has a Kakoune from 2016, but the next release (in April) should be up-to-date.


Oh my…


Thanks for the explanation Screwtapello that answers my head scratching as well.


Winkoune vote it up.

The console team at Microsoft have put together a blog on the future direction of ‘Windows Command-Line applications’. And quote ‘The new Win32 ConPTY API provides a mechanism that is similar to the POSIX PTY model’.
Link: Introducing the Windows Pseudo Console (ConPTY) API

With a github repo “EchoCon” ConPTY Sample App.
Link: EchoCon


The terminal IO (which ConPTY would help with) is an easy problem, Kakoune already has user interfaces abstracted away, so implementing a win32 based UI (with actual windows widgets) is doable and might be relatively easy to write.

The hard problem for native windows support is that the interaction/extension model of Kakoune expects a posix shell and the basic posix tools to be available, most interaction of Kakoune with the external world starts by it forking a shell process (I am thinking of |command<ret> and %sh{...}). I suspect we can get relatively far if there was (did not check if that exists) a windows native busybox, then its just a matter of tweaking ShellManager to use win32 api to run busybox in shell mode with the relevant arguments and redirections.




Yeesss of course…for those who are thinking along the lines of IO redirection to win32 from wsl Windows and Ubuntu Interoperability another great blog post from Microsoft.

The continuous development of the wsl on win10 and with Terminus I am enjoying an uninterrupted experience with Kakoune. The new April 2019 windows patch will add file sharing between the mediums.

So I think I will head over to @Screwtapello @andreyorst help on kakoune documentation (racket/scribble just putting it out there have not looked if it is possible yet, docs::OOP->Functional).

Make more sense @andreyorst we back to playing nice.
Don’t mind me I am on a new badge frenzy emoji time :name_badge:.


Quick note: you should not use surround with back-tics on links. Plain [text](url) is enough to insert links.

Excuse me, but I simply can’t understand the message here (why me? I’m maintaining a plugin manager and several plugins for Kakoune, not the documentation)


I just posted into the thread request help on Kakoune documentation where you are a participant, along with others, perhaps its a mistake or just merely a laps in judgement. More coffee or quieter music take your pick.

Appreciate plug.kak.


Thanks :blush: