From: Adam Hardy <emacs@cyberspaceroad.com>
Subject: running emacs in perl script
Date: Sun, 08 Feb 2004 13:52:21 +0100 [thread overview]
Message-ID: <40263105.1040600@cyberspaceroad.com> (raw)
I've got a perl script which I use for ripping CDs. It gets the CDDB
entry off the net, saves the entry in a file and then asks if I want to
edit it with this command:
print `emacs \"/tmp/xmcd/$files[2]\"`;
This launches emacs with the file nicely in x-windows. However I often
want to run the script on an old box which runs x so slowly I never
bother and do everything on the command line.
But on the command line, this command above launches emacs in the
background I think. I'm not sure. I never see emacs, the script just
sits there with the cursor blinking, hanging below the command line.
If I do 'ps -eaf' I see an emacs process. But I can't get to it.
It makes no difference if I put the '-nw' flags on the emacs command.
Does anybody know what to do?
Adam
--
GNU Emacs 21.3.1 on Linux 2.4.20 Debian
next reply other threads:[~2004-02-08 12:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-08 12:52 Adam Hardy [this message]
[not found] <mailman.2085.1076244892.928.help-gnu-emacs@gnu.org>
2004-02-08 16:34 ` running emacs in perl script Barry Margolin
2004-02-08 21:14 ` Adam Hardy
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40263105.1040600@cyberspaceroad.com \
--to=emacs@cyberspaceroad.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).