Projects
Jed is my own version of jed, currently written in java.
Ticalcprograms are a set of small programs written in C for the TI-84 Pluse CE graphing calculator.
About
I'm Jacob McDonnell. I have been interested in computers since I was young. My father has been in the technology field since before I was born, so I guess that interest came from him.
My interests, with respect to computers, are programming, UNIX/Plan9, and electronics/hardware. I know how to program in Java thanks to a high school course, and I like the language for somethings. Currently I am learning the C programming language with the hopes to write my own operating system one day. In my free time I like to play basketball, row, practice German and Russian, and play guitar.
I do not know what I will do with this website just yet, maybe I will write articles about projects that I am working on.
#include <stdio.h>
int
main(void) {
printf("hello world\n");
return 0;
}
JED - Jacob's ed
Jed is a line mode text editor written in Java. It is similar to ed but not a clone, infact the commands are changed. It currently works but has much room for improvement.
Commands
Jed commands:
q: quits.
w: writes the file.
w: filename: writes with inputted name.
o: filename: opens the file.
a: appends user input to the end of the file.
A: appends user input after the current line.
p: prints the file.
n: prints the file with line numbers.
c: deletes and changes the current line.
d: deletes the current line.
Any integer: changes to that line number.
g/expression/: finds and prints the expression.
%s/expression/newExpression/: replaces an expression
with new user input through the whole file.
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
<integer, integer>: prefix works with d
and s/ex/nex/ for a range of line.
s/expression/newExpression/: replaces an
expression with new user input in the current line.
h: prints the commands and their description.
Building Jed
make
sudo cp jed /usr/bin/jed && sudo cp jed.jar /usr/bin/jed.jar
TODO
- Add Regex support
- check and rewrite poorly written functions