unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Barry Margolin <barry.margolin@level3.com>
Subject: Re: WARNING: terminal is not fully functional
Date: Fri, 30 May 2003 18:26:50 GMT	[thread overview]
Message-ID: <KnNBa.18$Wb3.84@paloalto-snr1.gtei.net> (raw)
In-Reply-To: bb87ig$qqi$1@reader1.panix.com

In article <bb87ig$qqi$1@reader1.panix.com>,
Irving Kimura  <irving_kimura@lycos.com> wrote:
>I suppose that the problem with that machine has to do with to do with
>the environment, but I have not being able to test this.  This is
>because when I start from "emacs -q -nw -no-site-file" and try "M-x
>term" with "/usr/bin/env -i /bin/bash --noprofile --norc" I get:
>
>
>
>..: [: too many arguments
>..: /usr/bin/env -i /bin/bash --noprofile --norc: No such file or directory
>..: exec: /usr/bin/env -i /bin/bash --noprofile --norc: cannot execute:
>No such file or directory
>
>Process terminal exited abnormally with code 126
>
>
>
>I'm not sure which files do not exist ("No such file or directory"),
>since the only files mentioned definitely exist:

The file you mentioned is "/usr/bin/env -i /bin/bash --noprofile --norc".
The spaces are being treated as part of the file name, it's not parsing it
as a shell command line (what shell should it use to parse it, if the whole
point is to specify the shell to use?).

Try creating a shell script that contains the "/usr/bin/env" command you
want, and then specify the pathname of that script as the shell to use with
M-x term.

-- 
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

  reply	other threads:[~2003-05-30 18:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-29 14:13 WARNING: terminal is not fully functional Irving Kimura
2003-05-29 14:18 ` Phillip Lord
2003-05-29 14:26 ` lawrence mitchell
2003-05-31  9:28   ` Tim X
2003-05-29 14:29 ` Paolo Gianrossi
2003-05-29 14:39 ` Stefan Monnier
2003-05-29 18:52   ` Irving Kimura
2003-05-30  4:58     ` Kai Großjohann
2003-05-30 18:23       ` Irving Kimura
2003-05-30 18:26         ` Barry Margolin [this message]
2003-05-31  9:39     ` Tim X
2003-06-02 17:25       ` Kevin Rodgers
2003-05-29 16:02 ` Kevin Rodgers
2003-05-29 18:07 ` Pascal Bourguignon
     [not found]   ` <878ysp1kyk.fsf@kruhft.vc.shawcable.net>
2003-06-01  6:07     ` Pascal Bourguignon

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='KnNBa.18$Wb3.84@paloalto-snr1.gtei.net' \
    --to=barry.margolin@level3.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).