From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Glenn Ammons Newsgroups: gmane.emacs.help Subject: Terminal problem in shell mode Date: 21 Apr 2003 18:15:45 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050967279 21066 80.91.224.249 (21 Apr 2003 23:21:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2003 23:21:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 22 01:21:12 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 197kae-0005Ro-00 for ; Tue, 22 Apr 2003 01:20:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 197kaW-00079k-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 21 Apr 2003 19:20:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!news.cs.wisc.edu!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) Original-Lines: 19 Original-NNTP-Posting-Host: salsa.cs.wisc.edu Original-X-Trace: 1050966945 spool.cs.wisc.edu 1167 128.105.175.15 Original-Xref: shelby.stanford.edu gnu.emacs.help:112162 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8661 I am running GNU Emacs 21.2.1 on a Windows XP machine, and using the cygwin bash (2.05b.0(9)-release) as my shell in shell-mode. The problem is that when I try to run scp (for example): scp foo ammons@bar:/tmp/baz I get an error message like bash: [4828: 1] tcsetattr: Not a typewriter and scp is stopped in the background. Emacs sets TERM to "emacs", which is not in c:/cygwin/etc/termcap; I have tried setting TERM to "dumb" in my .bash_profile, but that didn't work. I've never had this problem on Unix boxes. Does anyone have a fix for this behavior? Thanks. --glenn