Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
jed-common /
html /
[ HOME SHELL ]
Name
Size
Permission
Action
contents_motif.svg
185
B
-rw-r--r--
index.html
3.4
KB
-rw-r--r--
jed.css
3.25
KB
-rw-r--r--
jed001.html
4.67
KB
-rw-r--r--
jed002.html
1.23
KB
-rw-r--r--
jed003.html
3.16
KB
-rw-r--r--
jed004.html
1.88
KB
-rw-r--r--
jed005.html
3.74
KB
-rw-r--r--
jed006.html
5.35
KB
-rw-r--r--
jed007.html
1.25
KB
-rw-r--r--
jed008.html
2.87
KB
-rw-r--r--
jed009.html
1.93
KB
-rw-r--r--
jed010.html
8.77
KB
-rw-r--r--
jed011.html
18.59
KB
-rw-r--r--
jed012.html
7.65
KB
-rw-r--r--
jed013.html
3.21
KB
-rw-r--r--
jed014.html
2.18
KB
-rw-r--r--
jed015.html
2.06
KB
-rw-r--r--
jed016.html
1.45
KB
-rw-r--r--
jed017.html
3.45
KB
-rw-r--r--
jed018.html
3.7
KB
-rw-r--r--
jed019.html
19.12
KB
-rw-r--r--
jed020.html
6.86
KB
-rw-r--r--
jed021.html
4.35
KB
-rw-r--r--
next_motif.svg
190
B
-rw-r--r--
previous_motif.svg
185
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : jed013.html
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="generator" content="hevea 2.35"> <link rel="stylesheet" type="text/css" href="jed.css"> <title>Keyboard Macros</title> </head> <body > <a href="jed012.html"><img src="previous_motif.svg" alt="Previous"></a> <a href="index.html"><img src="contents_motif.svg" alt="Up"></a> <a href="jed014.html"><img src="next_motif.svg" alt="Next"></a> <hr> <h2 id="sec30" class="section">12 Keyboard Macros</h2> <p><span style="font-weight:bold">jed</span> is able to record a series of keystrokes from the terminal and replay them. The saved series of keystrokes is known as a keyboard macro. To begin a keyboard macro, simply enter the begin keyboard macro key sequence which is bound to <span style="font-variant:small-caps">Ctrl-X (</span> if <code class="verb">emacs.sl</code> is loaded. To stop recording the keystrokes, enter <span style="font-variant:small-caps">Ctrl-X )</span>. Then to “execute” the macro, press <span style="font-variant:small-caps">Ctrl-X e</span>. Please note that it is illegal to execute a macro while defining one and doing so generates an error. A macro can be aborted at anytime by pressing the <span style="font-variant:small-caps">Ctrl-G</span> key.</p><p>One nice feature <span style="font-weight:bold">jed</span> includes is the <code class="verb">macro_query</code> function. That is, while defining a macro, the key sequence <span style="font-variant:small-caps">Ctrl-X q</span> will cause <span style="font-weight:bold">jed</span> to issue the prompt <span style="font-family:monospace">Enter String:</span> in the minibuffer. Any string that is entered will be inserted into the buffer and the process of defining the macro continues. Every time the macro is executed, <span style="font-weight:bold">jed</span> will prompt for a NEW string to be inserted.</p><p>Any time an error is generated, the process of defining the macro is aborted as well as execution of the macro. This is very useful and may be exploited often. For example, suppose you want to trim excess whitespace from the end of ALL lines in a buffer. Let us also suppose that the number of lines in the buffer is less than 32000. Then consider the following keystrokes: </p><pre class="verbatim"> Ctrl-X ( (begin macro) Ctrl-E (goto end of line) ESC (trim whitespace) Down Arrow (go down one line) Ctrl-X ) (end macro) </pre><p>Now the macro has been defined. So move to the top of the buffer and execute it 32000 times: </p><pre class="verbatim"> ESC < (top of buffer) ESC 3 2 0 0 0 (repeat next command 32000 times Ctrl-X e (execute macro) </pre><p> If the buffer has less than 32000 lines, the end of the buffer will be reached and an error will be generated aborting the execution of the macro.</p> <hr> <a href="jed012.html"><img src="previous_motif.svg" alt="Previous"></a> <a href="index.html"><img src="contents_motif.svg" alt="Up"></a> <a href="jed014.html"><img src="next_motif.svg" alt="Next"></a> </body> </html>
Close