RE: problem running bash inside NTemacs

2004-02-25 Thread Jason Pearce
I see the same thing in GNU Emacs 21.2.1 and Cygwin 1.5.7, can't say I 
ever noticed until now though.



--
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/


RE: problem running bash inside NTemacs

2004-02-25 Thread Ken Thompson


I can verify this behaviour for Cygwin 1.5.7 and NT emacs 21.3. Judging by
the lack of response on the list, I suspect this is something you will have
to chase down yourself if this is a big problem for you.

> -Original Message-
>
> David S.
> Sent: Monday, February 23, 2004 4:18 PM
> Subject: Re: problem running bash inside NTemacs
>
>
> Larry Hall suggested I check the email archives.
> I found nothing there related to this problem.
> He also pointed me to the "problems.html" page, so here
> is the suggested information.
>
> The problem can be recreated by running NTemacs
> (as noted in my original msg, I'm using "GNU Emacs 20.7.1
> (i386-*-nt5.1.2600)")
> running bash as the emacs shell
> (as noted in my original msg, I'm using
> "BASH_VERSION='2.05b.0(1)-release'")
> running 'ed' and performing any command that should print output
> (like ".").
>
> The erroneous behavior is that the output is not produced until the
> program is terminated.
>
> Additional information since original msg:
> a) the same behavior is produced with other shells; tcsh, sh
> b) 'less' behaves like 'cat'; it doesn't prompt at all
>
> `cygcheck -s -v -r` returns:
>
> Cygwin Win95/NT Configuration Diagnostics
> Current System Time: Mon Feb 23 10:23:46 2004
>
> Windows XP Professional Ver 5.1 Build 2600 Service Pack 1
>
> Path: f:\xxx\bin
>   C:\Progra~1\Cygwin\bin
>   c:\WINDOWS\system32
>   c:\WINDOWS
>   c:\WINDOWS\System32\Wbem
>   c:\PROGRA~1\THINKPAD\UTILITIES
>   c:\Progra~1\doxygen\bin
>   c:\SFU\common\
>   .
>   C:\Progra~1\Cygwin\usr\sbin
>   c:\progra~1\gsview\gsview
>   e:\xxx\Pkg\gnuplot\bin
>   c:\progra~1\ghostscript\gs7.04\bin
>   c:\progra~1\ghostscript\gs7.04\lib
>
> Output from C:\Progra~1\Cygwin\bin\id.exe (nontsec)
> UID: 1005(xxx) GID: 513(None)
> 513(None)
>
> Output from C:\Progra~1\Cygwin\bin\id.exe (ntsec)
> UID: 1005(xxx) GID: 513(None)
> 513(None)544(Administrators)
> 545(Users)
>
> SysDir: C:\WINDOWS\System32
> WinDir: C:\WINDOWS
>
> HOME = `f:\xxx'
> LD_LIBRARY_PATH = `C:\Progra~1\Cygwin\usr\local\src\hdf5-1.4.1\lib'
> PWD = `/f/xxx/ChomboCurrent/Chombo/lib/test/PIC'
>
> ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
> APPDATA = `C:\Documents and Settings\xxx\Application Data'
> CLIENTNAME = `Console'
> COMMONPROGRAMFILES = `C:\Program Files\Common Files'
> COMPUTERNAME = `GABLE'
> COMSPEC = `C:\WINDOWS\system32\cmd.exe'
> EMACS = `t'
> EMACSDATA = `C:/Program Files/Emacs/emacs-20.7/etc'
> EMACSDOC = `C:/Program Files/Emacs/emacs-20.7/etc'
> EMACSLOADPATH = `C:/Program
> Files/Emacs/emacs-20.7/site-lisp;C:/Program
> Files/Emacs/emacs-20.7/lisp;C:/Program Files/Emacs/emacs-20.7/leim'
> EMACSLOCKDIR = `C:/Program Files/Emacs/emacs-20.7/lock'
> EMACSPATH = `C:/Program Files/Emacs/emacs-20.7/bin'
> EMACS_DIR = `C:/Program Files/Emacs/emacs-20.7'
> EM_PARENT_PROCESS_ID = `1724'
> HOMEDRIVE = `C:'
> HOMEPATH = `\Documents and Settings\xxx'
> LOGNAME = `xxx'
> LOGONSERVER = `\\X
> MORE = `-s'
> NUMBER_OF_PROCESSORS = `1'
> OS = `Windows_NT'
> PAGER = `more'
> PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl'
> PROCESSOR_ARCHITECTURE = `x86'
> PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
> PROCESSOR_LEVEL = `6'
> PROCESSOR_REVISION = `0b01'
> PROGRAMFILES = `C:\Program Files'
> PS1 = `\h:\w \#> '
> RSYNC_RSH = `ssh'
> SESSIONNAME = `Console'
> SFUDIR = `C:\SFU\'
> SHELL = `/bin/bash'
> SHLVL = `1'
> SYSTEMDRIVE = `C:'
> SYSTEMROOT = `C:\WINDOWS'
> TEMP = `c:\DOCUME~1\xxx\LOCALS~1\Temp'
> TERM = `emacs'
> TERMCAP = `emacs:co#105:tc=unknown:'
> TMP = `c:\DOCUME~1\xxx\LOCALS~1\Temp'
> TMPDIR = `c:\DOCUME~1\xxx\LOCALS~1\Temp'
> USERDOMAIN = `GABLE'
> USERNAME = `xxx'
> USERPROFILE = `C:\Documents and Settings\xxx'
> WINDIR = `C:\WINDOWS'
> _ = `/usr/bin/cygcheck'
> setpath = `1'
>
> HKEY_CURRENT_USER\Software\Cygnus Solutions
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
>   (default) = `/'
>   cygdrive flags = 0x0022
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
> HKEY_LOCAL_M

Re: problem running bash inside NTemacs

2004-02-23 Thread David S.
Larry Hall suggested I check the email archives.
I found nothing there related to this problem.
He also pointed me to the "problems.html" page, so here 
is the suggested information.

The problem can be recreated by running NTemacs
(as noted in my original msg, I'm using "GNU Emacs 20.7.1 (i386-*-nt5.1.2600)")
running bash as the emacs shell
(as noted in my original msg, I'm using "BASH_VERSION='2.05b.0(1)-release'")
running 'ed' and performing any command that should print output (like ".").

The erroneous behavior is that the output is not produced until the
program is terminated.

Additional information since original msg: 
a) the same behavior is produced with other shells; tcsh, sh
b) 'less' behaves like 'cat'; it doesn't prompt at all

`cygcheck -s -v -r` returns:

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Feb 23 10:23:46 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   f:\xxx\bin
C:\Progra~1\Cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\PROGRA~1\THINKPAD\UTILITIES
c:\Progra~1\doxygen\bin
c:\SFU\common\
.
C:\Progra~1\Cygwin\usr\sbin
c:\progra~1\gsview\gsview
e:\xxx\Pkg\gnuplot\bin
c:\progra~1\ghostscript\gs7.04\bin
c:\progra~1\ghostscript\gs7.04\lib

Output from C:\Progra~1\Cygwin\bin\id.exe (nontsec)
UID: 1005(xxx) GID: 513(None)
513(None)

Output from C:\Progra~1\Cygwin\bin\id.exe (ntsec)
UID: 1005(xxx) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `f:\xxx'
LD_LIBRARY_PATH = `C:\Progra~1\Cygwin\usr\local\src\hdf5-1.4.1\lib'
PWD = `/f/xxx/ChomboCurrent/Chombo/lib/test/PIC'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\xxx\Application Data'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `GABLE'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
EMACS = `t'
EMACSDATA = `C:/Program Files/Emacs/emacs-20.7/etc'
EMACSDOC = `C:/Program Files/Emacs/emacs-20.7/etc'
EMACSLOADPATH = `C:/Program Files/Emacs/emacs-20.7/site-lisp;C:/Program 
Files/Emacs/emacs-20.7/lisp;C:/Program Files/Emacs/emacs-20.7/leim'
EMACSLOCKDIR = `C:/Program Files/Emacs/emacs-20.7/lock'
EMACSPATH = `C:/Program Files/Emacs/emacs-20.7/bin'
EMACS_DIR = `C:/Program Files/Emacs/emacs-20.7'
EM_PARENT_PROCESS_ID = `1724'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\xxx'
LOGNAME = `xxx'
LOGONSERVER = `\\X
MORE = `-s'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PAGER = `more'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0b01'
PROGRAMFILES = `C:\Program Files'
PS1 = `\h:\w \#> '
RSYNC_RSH = `ssh'
SESSIONNAME = `Console'
SFUDIR = `C:\SFU\'
SHELL = `/bin/bash'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\xxx\LOCALS~1\Temp'
TERM = `emacs'
TERMCAP = `emacs:co#105:tc=unknown:'
TMP = `c:\DOCUME~1\xxx\LOCALS~1\Temp'
TMPDIR = `c:\DOCUME~1\xxx\LOCALS~1\Temp'
USERDOMAIN = `GABLE'
USERNAME = `xxx'
USERPROFILE = `C:\Documents and Settings\xxx'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
setpath = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/'
  cygdrive flags = 0x002a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\Progra~1\Cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\Progra~1\Cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\Progra~1\Cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\Progra~1\Cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS7006Mb  96% CP CS UN PA FC IBM_PRELOAD
d:  cd   N/AN/A
e:  hd  FAT32   1996Mb  73% CPUN   
f:  hd  NTFS   18597Mb  12% CP CS UN PA FC 

.   / user
binmode,cygdrive
C:\Progra~1\Cygwin  / system  binmode
C:\Progra~1\Cygwin/bin  /usr/bin  system  binmode
C:\Progra~1\Cygwin/lib 

Re: problem running bash inside NTemacs

2004-02-20 Thread Larry Hall
At 05:21 PM 2/20/2004, David S. you wrote:
>I recently ran 'setup' and now have a problem I didn't used
>to have.
>
>I run bash (2.05b.0(1)-release) as the shell inside 
>NTemacs (GNU Emacs 20.7.1 (i386-*-nt5.1.2600)) on WinXP.
>
>Some programs dont output correctly to the terminal
>anymore.  For example, running 'ed' produces no output
>except prompts until the program is terminated, after which all
>the output is printed.
>
>I don't think it behaved this way before I updated.  It's
>been probably 6 months at least since I did a major update.
>
>Any ideas what this might be or what I might try to work around it?


Have you checked the email archives for related reports?  If nothing
there seems relevant, read and follow this:

>Problem reports:   http://cygwin.com/problems.html



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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/