From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: WARNING: terminal is not fully functional Date: Fri, 30 May 2003 18:26:50 GMT Organization: Genuity Managed Services, Woburn, MA Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84brxlhvyx.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054319643 29022 80.91.224.249 (30 May 2003 18:34:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 May 2003 18:34:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 30 20:34:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LofL-0007Ob-00 for ; Fri, 30 May 2003 20:31:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Loe6-0003aa-Kk for gnu-help-gnu-emacs@m.gmane.org; Fri, 30 May 2003 14:30:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news-out.spamkiller.net!propagator2-maxim!news-in.superfeed.net!enews.sgi.com!crtntx1-snf1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 35 Original-X-Trace: /bNDCxAGyvnitkPhuhKnAL5jgKeuqvrdeYKzwzRQ17RaSyZc3vYv7l5O4neQwLSoy/Vi4FGZd+Zc!HJFyPu02jzXv8vXOuxsBAkHfttpNcikQWK9viGDCD1w+KdVknY+W6b/bDjSJhZS8Xzh/pNL/RziP!7KBHP0UscLY= Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Fri, 30 May 2003 18:26:50 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:113902 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10396 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10396 In article , Irving Kimura 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.