/usr/share/doc/jed-common/html/jed014.html is in jed-common 1:0.99.19-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<META name="GENERATOR" content="hevea 1.10">
<LINK rel="stylesheet" type="text/css" href="jed.css">
<TITLE>Shells and Shell Commands</TITLE>
</HEAD>
<BODY >
<A HREF="jed013.html"><IMG SRC="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="jed015.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
<HR>
<H2 CLASS="section"><A NAME="htoc30">13</A>  Shells and Shell Commands</H2><P>The default binding to execute a shell command and pump the output to a
buffer is <SPAN STYLE="font-variant:small-caps">Esc !</SPAN>. <B>jed</B> will prompt for a command line and spawn a
subprocess for its execution.</P><P>Strictly speaking, <B>jed</B> does not support interactive subprocesses.
However, <B>jed</B> includes <B>S-Lang</B> code that “emulates” such a
subprocess. It may invoked by typing <CODE>shell</CODE> at the <CODE>M-x</CODE>
minibuffer prompt. A window will be created with a buffer named
<TT>*shell*</TT> attached to it. Any text entered at the system dependent
shell prompt will be executed in a subprocess and the result stuffed back
in the shell buffer. Don’t try to execute any commands which try to take
over the keyboard or the screen or something undesirable may happen.
Examples of types of stupid commands are spawning other editors, logging
in to remote systems, et cetera. Even <TT>chdir</TT> is stupid since its
effect is not permanent. That is,</P><PRE CLASS="verbatim"> > cd ..
> dir
</PRE><P>will not do what might naively be expected. That is, the two commands
above are not equivalent to the single command <TT>dir ..</TT>.</P><HR>
<A HREF="jed013.html"><IMG SRC="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="jed015.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
|