Article View: gnu.emacs.help
Article #189360SHELL - with processes that use getcchar()
From: Viet Anh
Date: Tue, 19 Feb 1991 22:47
Date: Tue, 19 Feb 1991 22:47
16 lines
1331 bytes
1331 bytes
I'd like to run a program from within an emacs shell [M-x shell]. My problem is that my program's main loop (where it polls the mouse/tablet) does a getchar() BUT... the emacs shell only sends input to the running process upon receiving a return. So.. my problem is that I have to be holding down the return key in order to track the cursor for my program. Is there a way so that input to the shell can be fed directly into my program without having to wait for a return? ...And, still let me use [c-x o] to switch emacs windows, etc. If it matters, I'm using version 18.55.2 running on an HP 9000 model 835. Thanks in advance, david young
Technical Details
Message-ID:
<5291@media-lab.MEDIA.MIT.EDU>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!olivea!mintaka!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!media-lab!dyoungShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,2bd98b60240ed699,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-02-21 01:04:31 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!olivea!mintaka!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!media-lab!dyoung From: dyoung@media-lab.MEDIA.MIT.EDU (Viet Anh) Newsgroups: gnu.emacs.help Subject: SHELL - with processes that use getcchar() Message-ID: <5291@media-lab.MEDIA.MIT.EDU> Date: 19 Feb 91 22:47:31 GMT Reply-To: dyoung@media-lab.media.mit.edu.UUCP (David Young) Distribution: gnu Organization: MIT Media Lab, Cambridge MA Lines: 16