Skip to content

Commit

Permalink
more spring cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
karahobny committed Dec 26, 2017
1 parent 8583a6c commit a587845
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
surpasses our Acme in shape, material or finish.
```
solid forged of unsigned int pieces of best wrought C, linked at the binary; tag line is made of one piece of code, compiled with -funroll-loops to the the rest of the window column and warranted with a [permissive license](https://raw.githubusercontent.com/9fans/plan9port/master/LICENSE). text window has sufficient refactoring done to insure stability and prevent SEGFAULTing; has ug, but perfectly written shell: [rc](http://doc.cat-v.org/plan_9/4th_edition/papers/rc); acme is linted and debugged by a special compiler so that there are no functions that return structures or integer and floating numbers in object code not converted to known formats and byte orders; [config.h](https://github.com/karahobny/acme2k/blob/master/acme/config.h) should be perfectly tempered by the user or it will fuck up. mkfiles are straight and true, so you will have no trouble on account of acme returning cryptic compiler errors and not compiling.
solid forged of unsigned int pieces of best wrought C, linked at the binary; tag line is made of one piece of code, compiled with -funroll-loops to the the rest of the window column and warranted with a [permissive license](https://raw.githubusercontent.com/9fans/plan9port/master/LICENSE). text window has sufficient refactoring done to insure stability and prevent SEGFAULTing; has ug, but perfectly written shell: [rc](http://doc.cat-v.org/plan_9/4th_edition/papers/rc); acme is linted and debugged by a special compiler so that there are no functions that return structures or integer and floating numbers in object code not converted to known formats and byte orders; [config.h](https://github.com/karahobny/acme2k/blob/master/src/cmd/acme/config.h) should be perfectly tempered by the user or it will fuck up. mkfiles are straight and true, so you will have no trouble on account of acme returning cryptic compiler errors and not compiling.

ready thyself for thine bodieth utmost horrrifiength challengeth and read more about [acme](http://acme.cat-v.org/)

Expand Down Expand Up @@ -82,15 +82,15 @@ you run `fontsrv -p .` to list all the available fonts from X11 to fontsrv; basi
"/mnt/font/GohuFont/9/font",
```

![a3](https://raw.githubusercontent.com/karahobny/acmecolors/master/img/a3.png)
![a3](https://raw.githubusercontent.com/karahobny/acme2k/master/img/a3.png)
>*dont be shackled by dark hues and saturated pinks, make Glenda, the Bunny, proud by showing off the team colors aka the Rio Windowing Systems. "little black-on-white makes a little rob pike smile. when? every now and then!", or so ive been told.*
in this case the first option would stand for Monaco size 9 antialised, the second for GohuFont size 9 aliased, ofc.

insert two fonts into `config.h`'s font-array separating them with a comma. the first one is treated as a proportional width font and is used everywhere in `acme`, and by extension `acme2k`, by default. the second one can be activated for a specific window by executing `Font` from its tag window.

#### colors
colors need to be in the format of `0x*rgb hex color code*FF` without the prefixed hashtag. i'd suggest just to experiment what all the **#defines** mean but to start you with something `c_tagbg` means tag window background color. `c_txtbg` means text window backgorund color. `...hlbg/fg` means highlighted text background and foreground color etc. i've taken the liberty to comment all the color variations and what they affect on [config.h's noticeable comment section](https://github.com/karahobny/acme2k/blob/master/acme/config.h).
colors need to be in the format of `0x*rgb hex color code*FF` without the prefixed hashtag. i'd suggest just to experiment what all the **#defines** mean but to start you with something `c_tagbg` means tag window background color. `c_txtbg` means text window backgorund color. `...hlbg/fg` means highlighted text background and foreground color etc. i've taken the liberty to comment all the color variations and what they affect on [config.h's noticeable comment section](https://github.com/karahobny/acme2k/blob/master/src/cmd/acme/config.h).

## but WHAT can I do
definetly check out [TODO](https://github.com/karahobny/acme2k/blob/master/docs/TODO.md) and feel free to chime in what would you like to see as a feature, add an issue or clone the repo and edit [TODO.md](https://github.com/karahobny/acme2k/blob/master/docs/TODO.md) and push it to the upstream, if all you want to do is add feature ideas. for bug fixes and coding features its better to contact me at:
Expand Down
16 changes: 13 additions & 3 deletions docs/TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
### todo
+ .diff -file for easier application (modified files so far: acme.c, mkfile, config.h)
+ fontsrv-modification (LCDFILTER? hardcoded dpi? font-height? see: `$PLAN9/src/cmd/fontsrv/x11.c`)
+ .diff -file for easier application for some?
+ `diff -Naur` compared to `plan9port`-project's files.
+ modified files so far on `src/cmd/acme/`:
+ `acme.c`
+ `mkfile`
+ `config.h`
+ `text.c`
+ also featuring `src/cmd/fontsrv/x11.c`
+ fontsrv-modification? what is up with that? can i make it better
+ cursor color and shape (it defaults still to black in center even though the blocks seem to follow the text foreground color rule)
+ ctrl+shift+z = redo; delete = deletes current character see: `$PLAN9/include/keyboard.h` and `$PLAN9/src/cmd/acme/text.c`.
+ look into grabbing just the neccesary parts of acme from plan9port to create a "stand alone complex" of some sort
+ look into grabbing just the neccesary parts of acme from plan9port to create a "stand alone complex" of some sort.
+ windows-version? not really friendly to the whole compiled from the source idea, which leads me to
+ parsing colorscheme at the start of `acme2k` from a config file.
+ `Xlib/Xresources.h` or w/e atleast looked reasonable to me
+ add more to do (contribute by adding an issue)
Binary file removed src/cmd/acme/mail/html.o
Binary file not shown.
Binary file removed src/cmd/acme/mail/mail.o
Binary file not shown.
Binary file removed src/cmd/acme/mail/mesg.o
Binary file not shown.
Binary file removed src/cmd/acme/mail/o.Mail
Binary file not shown.
Binary file removed src/cmd/acme/mail/reply.o
Binary file not shown.
Binary file removed src/cmd/acme/mail/util.o
Binary file not shown.
Binary file removed src/cmd/acme/mail/win.o
Binary file not shown.
Binary file removed src/cmd/acme/o.acme
Binary file not shown.
Binary file removed src/cmd/fontsrv/main.o
Binary file not shown.
Binary file removed src/cmd/fontsrv/o.fontsrv
Binary file not shown.
Binary file removed src/cmd/fontsrv/pjw.o
Binary file not shown.
Binary file removed src/cmd/fontsrv/x11.o
Binary file not shown.

0 comments on commit a587845

Please sign in to comment.