From: despen@verizon.net
To: help-gnu-emacs@gnu.org
Subject: Re: Running Programs from Inside Emacs
Date: Sat, 19 Feb 2011 10:48:34 -0500 [thread overview]
Message-ID: <ictyg0nhyl.fsf@verizon.net> (raw)
In-Reply-To: 8762sgryy4.fsf@kuiper.lan.informatimago.com
"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
> Oleksandr Gavenko <gavenkoa@gmail.com> writes:
>
>> On 2011-02-17 15:09, despen@verizon.net wrote:
>>> IMO, better is to use the Makefile.
>>>
>>> [...]
>>>
>>> helloworld.test: helloworld
>>> ./helloworld
>>>
>> But if your './helloworld' is interactive console app and it ask you
>> for input you get can not pass input to it.
>>
>> Or this possible in comiplation-mode?
>
> No it is not. For console applications, I advised to use M-x shell in
> that case, but there are other ways.
>
> In emacs, you can use M-x term if the program
> uses curses or in general terminal control codes beyond the dumbest
> CR-LF.
>
> Or, outside of emacs, you can launch your program via xterm or some
> other terminal emulator:
>
> helloworld.test: helloworld
> xterm -e ./helloworld
Seems to me, that's inside emacs.
It's running under emacs from compilation mode.
You can probably devise something with gnuclient running one of the
emacs terminals.
prev parent reply other threads:[~2011-02-19 15:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 11:08 Running Programs from Inside Emacs haziz
2011-02-17 11:15 ` Pascal J. Bourguignon
2011-02-17 15:09 ` despen
2011-02-19 12:08 ` Oleksandr Gavenko
2011-02-19 12:25 ` Peter Dyballa
[not found] ` <mailman.4.1298117344.32106.help-gnu-emacs@gnu.org>
2011-02-19 12:28 ` Pascal J. Bourguignon
2011-02-19 15:48 ` despen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ictyg0nhyl.fsf@verizon.net \
--to=despen@verizon.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.