From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Mysterious hidden end of line characters. Date: Thu, 31 Jan 2008 17:21:38 +1100 Organization: Rapt Technologies Message-ID: <871w7yms5p.fsf@lion.rapttech.com.au> References: <20080126171451.GB20762@univ-fcomte.fr> <6437D39B-1CA5-4BEA-9A6B-09A208114800@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201772062 30619 80.91.229.12 (31 Jan 2008 09:34:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jan 2008 09:34:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 31 10:34:43 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKVoW-0002bb-4I for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jan 2008 10:34:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKVo4-0002Nz-NV for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jan 2008 04:34:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-03!sn-xt-sjc-07!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:R/4N+YODD/qdijqiZvbwHh9qBcI= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 68 Original-Xref: shelby.stanford.edu gnu.emacs.help:155731 X-Mailman-Approved-At: Thu, 31 Jan 2008 04:30:45 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51115 Archived-At: David writes: > > Ha ha, I thought someone might spot this. After 2 years of emacs use I > still have one or two newbie feathers lerking in my plummage. I do use > *shell* buffers alot, but there is some terminal functionality which I > do not have. > > Examples of commands in a *shell* buffer which for me don't work as in > a terminal include > > 1) shell_prompt:~$ man pwd ## (or any other command), this gives > something rather unfriendly in emacs. Only today did I discover M-x > man was the proper way to do this. Nice feature, but rather > non-evident to the newbie. Why is *shell* not totally equivelent to a > terminal? The command M-x shell gives you a 'dumb' terminal. This means any program that relies on terminal IO to display correctly wil fail. for programs like this, use M-x term. > > 2) shell_prompt:~$ grass ## Similarly to typing man at the prompt, the > lack of terminal functionality used to prevent me from passing the > terminal based setup page. I recently discoverred the solution (for > older versions of GRASS) was to add a flag specifying a GUI setup > page. Also updating to more recent versions appears to avoid this > problem. So now I am finally using GRASS in emacs (horrah!). > Again, M-x term may be a better solution. Of course, you could just write a special grass-mode and stick it up on emacswiki :) > 3) shell_prompt:~$ mutt ## Similarly, I cannot find a way to navigate > my mail boxes using mutt inside emacs. Emacs just isn't displaying > anything that would normally appear in the terminal apart from when I > hit q it asks if I really want to quit - of course I do, I can't see > anything! The best I can do is to run mutt in the terminal, pass to > emacs to write messages and pass back to the terminal to handle > attachments etc. What am I missing? > I think there may be amode out there for running mutt in emacs. However, maybe switch to a native emacs mail client. If you use IMAP, you could use one of the many emacs mail clients that support imap and then when your not in emcs, you can use mutt and still have access to all your mail. There are also interfaces to gmail. > 4) shell_prompt:~$ su ## I never like moving to super user in emacs > because the password appears on screen as I type it. So all > administration is terminal based for me. How to hide passwords as a > terminal would? > I don't get this problem using M-x term I also use tramp to edit files owned by others from within emacs i.e. /root@localhost:/path/to/file Use M-x shell only when you want to execute simple line oriented programs that don't need things like ncurses or formatted screen IO. finally, if your someone who likes to use lisp at the shell level and have nice integration with emacs, have a look at the emacs shell - type M-x eshell Tim -- tcross (at) rapttech dot com dot au