all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* I knew&forgot: .el allowing eg more, less (vi? top?) in *shell*
@ 2008-04-17 13:48 David Combs
  2008-04-17 16:09 ` Rebecca Breu
  2008-04-17 20:53 ` David Hansen
  0 siblings, 2 replies; 3+ messages in thread
From: David Combs @ 2008-04-17 13:48 UTC (permalink / raw)
  To: help-gnu-emacs

1: What's the name of that .../lisp/xxx.el that allows you
to run eg more, less, and other cursor-jumping programs
within *shell*?

(Had a short name, 3 or 4 chars long.)

2: before I try it and get hung or something, what
   about running eg vi, top, etc there too?

   (Hell, what about running another EMACS within *shell*!)

3: This xxx.el -- is it the only, or the best, of such modules?



Thanks!

David





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I knew&forgot: .el allowing eg more, less (vi? top?) in *shell*
  2008-04-17 13:48 I knew&forgot: .el allowing eg more, less (vi? top?) in *shell* David Combs
@ 2008-04-17 16:09 ` Rebecca Breu
  2008-04-17 20:53 ` David Hansen
  1 sibling, 0 replies; 3+ messages in thread
From: Rebecca Breu @ 2008-04-17 16:09 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

dkcombs@panix.com (David Combs) wrote:

> 2: before I try it and get hung or something, what
>    about running eg vi, top, etc there too?
> 

I am able to run those programs from within

M-x ansi-term


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I knew&forgot: .el allowing eg more, less (vi? top?) in *shell*
  2008-04-17 13:48 I knew&forgot: .el allowing eg more, less (vi? top?) in *shell* David Combs
  2008-04-17 16:09 ` Rebecca Breu
@ 2008-04-17 20:53 ` David Hansen
  1 sibling, 0 replies; 3+ messages in thread
From: David Hansen @ 2008-04-17 20:53 UTC (permalink / raw)
  To: help-gnu-emacs

On 17 Apr 2008 09:48:15 -0400 David Combs wrote:

> 1: What's the name of that .../lisp/xxx.el that allows you
> to run eg more, less, and other cursor-jumping programs
> within *shell*?

How about

viewfile ()
{
    emacsclient -e "(view-file \"$1\")"
}

alias less=viewfile

in your .bashrc?  Don't forget to (server-start).

David





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-17 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17 13:48 I knew&forgot: .el allowing eg more, less (vi? top?) in *shell* David Combs
2008-04-17 16:09 ` Rebecca Breu
2008-04-17 20:53 ` David Hansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.