-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate online documentation in repository.
- Loading branch information
Showing
4 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>µEMACS</title> | ||
<style> | ||
body { | ||
width: 1024px ; | ||
margin-left: auto ; | ||
margin-right: auto ; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>µEMACS</h1> | ||
|
||
<b>µEMACS</b> (ue) based on uEmacs/PK (em) from | ||
<a href="https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git/">kernel.org</a>. | ||
Latest version built and tested on Cygwin, Ubuntu Linux and NetBSD. | ||
<p> | ||
<a href="quick.html">Quick build and install</a> | ||
<p> | ||
<img src="img/ue_425.png" alt="µEMACS sample screenshot"> | ||
|
||
<hr>© 2020-2024 Renaud Fivet | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Quick µEMACS build and install</title> | ||
<style> | ||
body { | ||
width: 1024px ; | ||
margin-left: auto ; | ||
margin-right: auto ; | ||
} | ||
pre { | ||
background-color: #F3F6FA ; | ||
margin-left: 1% ; | ||
margin-right: 25% ; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Quick µEMACS build and install</h1> | ||
|
||
<h2>Dependencies and build environment</h2> | ||
|
||
To build µEMACS, you need to have gcc, GNU make and ncurses development | ||
library installed. | ||
|
||
<h2>Checking environment</h2> | ||
|
||
gcc and GNU make are often preinstalled with GNU make set as the default | ||
make. Use your favorite package manager to check their availability. | ||
|
||
<pre> | ||
% which gcc make | ||
/usr/bin/gcc | ||
/usr/bin/make | ||
% apt list gcc make | ||
gcc/focal,now 4:9.3.0-1ubuntu2 amd64 [installed] | ||
make/focal,now 4.2.1-1.2 amd64 [installed] | ||
</pre> | ||
|
||
Use your favorite package manager if they need to be installed. | ||
|
||
<pre>% sudo apt install gcc make</pre> | ||
|
||
To check that make is actually GNU make: | ||
|
||
<pre> | ||
% make --version | ||
GNU Make 4.2.1 | ||
Built for x86_64-pc-linux-gnu | ||
Copyright (C) 1988-2016 Free Software Foundation, Inc. | ||
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html | ||
This is free software: you are free to change and redistribute it. | ||
There is NO WARRANTY, to the extent permitted by law. | ||
</pre> | ||
|
||
ncurses development library usually need to be installed. Query your | ||
favorite package manager to check which packages are available for | ||
installation: | ||
|
||
<pre>% apt search libncurses</pre> | ||
|
||
Use your favorite package manager to install the needed package: | ||
|
||
<pre>% sudo apt install libncurses-dev</pre> | ||
|
||
On Ubuntu, apt will select the package that matches your architecture | ||
(amd64 or i386). | ||
|
||
<h2>Getting the sources</h2> | ||
|
||
µEMACS source code is available on | ||
<a href="https://github.com/rfivet/uemacs">github</a> and mirrored at | ||
<a href="https://git.sdf.org/rfivet/uemacs">git.sdf.org</a>. From github, you | ||
can either clone the | ||
<a href="https://github.com/rfivet/uemacs.git">git repository</a> or download a | ||
<a href="https://github.com/rfivet/uemacs/archive/master.zip">zip archive</a>. | ||
<p> | ||
Move to working directory and clone: | ||
|
||
<pre> | ||
% mkdir ~/Projects | ||
% cd ~/Projects | ||
% git clone https://github.com/rfivet/uemacs.git | ||
</pre> | ||
|
||
<h2>Building</h2> | ||
|
||
<pre> | ||
% cd ~/Projects/uemacs | ||
% make | ||
</pre> | ||
|
||
If <b>GNU make</b> is not set as the default make you will have to call it | ||
explicitly | ||
|
||
<pre>% gmake</pre> | ||
|
||
<h2>Testing</h2> | ||
|
||
Start the editor: | ||
|
||
<pre>% ./ue</pre> | ||
|
||
To leave the editor type CTL-X CTL-C | ||
<p> | ||
Execute a sample script: | ||
|
||
<pre>% ./ue -x screensize.cmd</pre> | ||
|
||
<img src="img/ue_screensize.png" alt="Executing script screensize.cmd"> | ||
|
||
<hr>© 2020-2024 Renaud Fivet | ||
</body> | ||
</html> |