Running: GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600)  of 2003-03-27 on buffy
on: Windows XP SP2

When I run rsh from a shell window in Emacs, I get extra output 
  
  Terminal readThe handle is invalid.

in the stderr stream:

  # c:/winnt/system32/rsh somehost.sas.com echo hello
  Terminal readThe handle is invalid.
  hello
  : #

I'm also getting a colon and a space but no newline after the command output.

This also occurs when I switch the shell to cmd:

  # cmd
  C:\> c:\WINNT\system32\rsh somehost.sas.com echo hello
  Terminal readThe handle is invalid.
  hello
  :
  C:\>

My SHELL and ESHELL environment variables are "bash". This occurs with 

  emacs -q
  M-x shell

so it is not due to any .emacs customization. Even if I trim my PATH to just 
C:\Winnt\system32
and unset SHELL and ESHELL, the problem persists.

If I run a normal cygwin bash or windows cmd shell outside of Emacs, I do not 
get this extra output.

Does anyone know what causes this and more importantly how to remove it? I 
could not find much on this via Google.

-- 
David J. Biesack     SAS Institute Inc.
(919) 531-7771       SAS Campus Drive
http://www.sas.com   Cary, NC 27513



Reply via email to