Maximus5 / cygwin-connector

https://conemu.github.io/ terminal connector for cygwin/msys
https://conemu.github.io/en/CygwinMsysConnector.html
Other
82 stars 5 forks source link

zsh: can't set tty pgrp: operation not permitted #5

Closed agross closed 8 years ago

agross commented 8 years ago

I'm trying to use Cygwin zsh with your new connector. First off, thanks for creating it, was looking forward to improved Cygwin integration.

My ConEmu task starts a new zsh session like this:

c:\Cygwin\bin\conemu-cyg-32.exe /usr/bin/zsh --interactive --login

My zsh startup initializes the completion system (compinit) and also attempts to run ssh-agent unless it already has been started. While these actions are performed, the shell prints output like this:

compinit:534: can't set tty pgrp: operation not permitted
/home/agross/.zsh/plugins/ssh-agent.plugin.zsh:68: can't set tty pgrp: operation not permitted
zsh: can't set tty pgrp: operation not permitted

I'm running ConEMU 151217 alpha, connection 0.7.1 and Cygwin latest.

calebj0seph commented 8 years ago

Same issue here using ConEmu 151217 and version 0.7.1 of the connector.

Maximus5 commented 8 years ago

What about mintty?

calebj0seph commented 8 years ago

The error doesn't happen in mintty, nor in ConEmu without the connector.

Maximus5 commented 8 years ago

https://github.com/Maximus5/cygwin-connector/releases/tag/v0.7.2

calebj0seph commented 8 years ago

Thanks, seems to be good now.

agross commented 8 years ago

Thanks! :+1: