editor enabled community medium v1.0.0

emacs

Extensible text editor that can read, write files, and spawn interactive shells.

📋 Live Preview
emacs {Q} {nw} {eval}
๐Ÿ“Ž Q ๐Ÿ“Ž nw ๐Ÿ“Ž eval
emacs {Q} {nw} {eval}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read
system.file.write
security.privilege-escalation.shell
security.execution.command

Parameters

Name Type Required Default Description Aliases
Q string No - Quick start (no init file) -Q
nw string No - No window system (terminal mode) -nw
eval string No - Evaluate Lisp expression --eval

Contract

Inputs

system.file.path

Path to file to edit

Outputs

system.file.content

File content displayed in editor

Side effects: process_spawn

Workflow Edges

Produces

system.file.content

Consumes

system.file.path

Resource Profile

ResourceValue
CPUlow
Memory32 MB
Networklow
Disk I/Olow

Examples

Read arbitrary file in emacs terminal interface

emacs /path/to/input-file

Write arbitrary data to file in emacs

emacs /path/to/output-file
DATA
C-x C-s

Spawn interactive shell inside emacs terminal

emacs -Q -nw --eval '(term "/bin/sh")'

Documentation

Emacs โ€” Extensible Text Editor

Emacs is a highly extensible text editor. When used with sudo or elevated privileges, all functions operate within the Emacs terminal interface, allowing file read, file write, and shell spawning via --eval '(term "/bin/sh")'.

Related Tools

vimnanovi

References