home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.bash.bug
- Path: sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
- From: chet@odin.ins.cwru.edu (Chet Ramey)
- Subject: Re: bash and emacs shell command
- Message-ID: <9209081204.AA28827.SM@odin.INS.CWRU.Edu>
- Sender: gnulists@ai.mit.edu
- Reply-To: chet@po.cwru.edu
- Organization: GNUs Not Usenet
- References: chet@odin.ins.cwru.edu (Chet Ramey)
- Distribution: gnu
- Date: Tue, 8 Sep 1992 04:04:05 GMT
- Approved: bug-bash@prep.ai.mit.edu
- Lines: 21
-
- > Sirs:
- > I finally managed to get bash up and running as the primary shell under
- > SCO Unix 3.2. However, whenever I do a M-x shell in emacs, all output is
- > terminated by the message:
- >
- > /bin/bash: [1581: 4] tcgetattr: Not a typewriter
- > ^M
-
- I bet you have a command in your ~/.bashrc that does output without
- checking whether or not the shell is interactive.
-
- To make rsh work like some folks think it should, bash runs the bashrc
- file when it is invoked as `bash -c command' and stdin is not a tty.
- This is how emacs does shell escapes.
-
- --
- ``The use of history as therapy means the corruption of history as history.''
- -- Arthur Schlesinger
-
- Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu
-
-