[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to PICK the CTRL-u argument from the file or some other method,
From: |
David Golden |
Subject: |
Re: How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE |
Date: |
Thu, 23 Sep 2004 23:50:23 +0100 |
User-agent: |
KNode/0.8.0 |
Chris F.A. Johnson wrote:
>> still waiting for a solution
>
> Still wondering why it was posted to comp.unix.shell.
>
Heh. Remember it IS emacs, after all. It IS (or typically includes "out-of-box"
an implementation of) an sh-family shell called eshell.
http://www.newartisans.com/johnw/eshell.html
"""
Eshell is a command shell implemented entirely in Emacs Lisp. It invokes no
external
processes beyond those requested by the user. It is intended to be a functional
replacement for command shells such as bash, zsh, rc, 4dos; since Emacs itself
is
capable of handling most of the tasks accomplished by such tools.
"""
So, on your average linux install (okay for the pedants, linux is not unix
exactly,
but emacs works on real unix too) one can do the following (tested, actual
copy+pastes from my system):
# adduser tryme
# chsh -s /usr/bin/emacs tryme
# su - tryme
File Edit Options Buffers Tools Help
Welcome to GNU Emacs, one component of a Linux-based GNU system.
[*** snipped blurb]
----:---F1 *scratch* (Lisp Interaction)--L1--All----------------------
For information about the GNU Project and its goals, type C-h C-p.
[*** Now type M-x eshell]
File Edit Options Buffers Tools Help
Welcome to the Emacs shell
~ $ cd /usr
/usr $ ls
X11R6 bin doc games include info lib local sbin share src
/usr $ echo $SHELL
/usr/bin/emacs
/usr $ echo $TERM
xterm
/usr $
----:---F1 *eshell* (EShell)--L11--All-------------------------------
- How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE, Jose Cuthberto, 2004/09/22
- Re: How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE, Jose Cuthberto, 2004/09/23
- Re: How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE, Chris F.A. Johnson, 2004/09/23
- Re: How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE,
David Golden <=
- Re: How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE, Johan Ur Riise, 2004/09/23
- Re: How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE, Joakim Hove, 2004/09/24
- Re: How to PICK the CTRL-u argument from the file or some other method, with EXAMPLE, Greg Hill, 2004/09/24