Problems with cygwin bash shell under NT Emacs

rolf rff.news@gmail.com
Mon Jul 14 00:10:00 GMT 2008


Hello, 

I'm running a native win32 version emacs.

M-x shell invokes Cygwin's bash. So far, so good, everything seems to 
work, i.e. almost everything. 

Example 1:
Running  the Python interpreter under cygwin.bat works just fine,
but under bash in ntemacs the situation is different:

If I try to call the (cygqin-) Python interpreter with $ python, I
don't get the Python prompt >>>. The cursor simply moves one line
forward to the beginning of the line. No prompt, nothing.
 
Now typing  "2+2" and hitting Return, again, the cursor moves
forward. 

Now something to choke on: an 'ö' (German Umlaut o)
Sure enough, my shell wakes up, here's the output:

$ python
2+2
ö
  File "<stdin>", line 2
SyntaxError: Non-ASCII character '\xc3' in file <stdin> on line 2, but
no encoding declared; see http://www.python.org/peps/pep-0263.html for
details


Attached are the output from cygcheck -s -v -r, run under cygwin_bat
and in ntemacs.


rolf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntemacs_cygcheck.out
Type: application/octet-stream
Size: 40274 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080714/8315858c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygbat_cygcheck.out
Type: application/octet-stream
Size: 44891 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080714/8315858c/attachment-0001.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list