readline-complete.el icon indicating copy to clipboard operation
readline-complete.el copied to clipboard

Doesn't work well with Cygwin

Open monsanto opened this issue 12 years ago • 1 comments

I know at least one user has had trouble getting rlc to work well on cygwin. I don't use cygwin (or windows) so I can't test this. If there are any cygwin rlc users out there who are having trouble, and are interested in doing a bit of group debugging with me, post here!

monsanto avatar Sep 15 '12 07:09 monsanto

When using cygwin/bash in emacs, it gives bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

Following configure within readline-complete.el doesn't work. (setq explicit-bash-args '("-c" "export EMACS=; stty echo; bash"))

fakecygpty solve this problem using something like this: (let ((comint-process-echoes t)) (make-comint "cyg-bash" "fakecygpty" nil "d:/cygwin/bin/bash.exe" "-c" "export EMACS=; stty echo;d:/cygwin/bin/bash.exe" ))

see emacswiki:SshWithNTEmacs

Need more work to do to enable fakcecygpty when using shell command. Maybe a wrapper? Any help?

xor3 avatar Oct 30 '14 07:10 xor3