REPOST: Re: Can't exit python with ^D under certain circumstances
Kaden
sfam at mailandnews.com
Fri Dec 28 12:40:25 EST 2001
More information about the Python-list mailing list
Fri Dec 28 12:40:25 EST 2001
- Previous message (by thread): Can't exit python with ^D under certain circumstances
- Next message (by thread): Can't exit python with ^D under certain circumstances
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 28 Dec 2001 11:33:43 -0500, Steve Holden <sholden at holdenweb.com> wrote: > "wealthychef" <wealthychef at yahoo.com> wrote in message > news:mailman.1009322789.23019.python-list at python.org... >> Hi, this is weird to me, don't know how to fix. >> On my local python installation on machine A in a normal shell, ^ >> D works to exit Python as expected. On machine B on the >> console, ^D also works fine, but if I ssh to machine B from >> machine A and try to exit Python with ^D, Python does not exit, >> instead I get the following strange error message: >> >> >>> ^D >> File "<stdin>", line 1 >> c >> ^ >> SyntaxError: invalid syntax Have you checked your TERM envariable? Try checking what it's set to while at the local console. Then ssh into the remote machine and check what that one is set to. I've got a machine here at home that sets my TERM to dumb if I ssh into it for some reason. You can imagine the kinds of problems that causes :) If this is the problem, just explicitly set it in your ~/.profile || ~/.bashrc || ~/.cshrc || whatever. Should clear it up. ========= WAS CANCELLED BY =======: Path: news.sol.net!spool1-milwwi.newsops.execpc.com!newsfeeds.sol.net!newspump.sol.net!newsfeed.direct.ca!look.ca!newsfeed.dacom.co.kr!news-hub.kaist.ac.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r From: Kaden <sfam at mailandnews.com> Newsgroups: comp.lang.python Subject: cmsg cancel <a0iaq9$1ga$1 at news.xmission.com> Control: cancel <a0iaq9$1ga$1 at news.xmission.com> Date: Mon, 31 Dec 2001 05:16:24 GMT Organization: A poorly-installed InterNetNews site Lines: 2 Message-ID: <cancel.a0iaq9$1ga$1 at news.xmission.com> NNTP-Posting-Host: 211.57.49.2 X-Trace: news2.kornet.net 1009775193 27193 211.57.49.2 (31 Dec 2001 05:06:33 GMT) X-Complaints-To: usenet at news2.kornet.net NNTP-Posting-Date: Mon, 31 Dec 2001 05:06:33 +0000 (UTC) X-No-Archive: yes X-Unac4ncel: yes X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999) This message was cancelled from within Mozilla.
- Previous message (by thread): Can't exit python with ^D under certain circumstances
- Next message (by thread): Can't exit python with ^D under certain circumstances
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list