AI Prompt generated AmigaOS4 native MUI basic text editor.
|
|
3 months ago | |
|---|---|---|
| docs | 3 months ago | |
| include | 3 months ago | |
| tools | 3 months ago | |
| AmiWriterMUI | 3 months ago | |
| Makefile | 3 months ago | |
| README.md | 3 months ago | |
| RELEASE_NOTES.md | 3 months ago | |
| main.c | 3 months ago | |
| main.o | 3 months ago | |
| screenshot.png | 3 months ago | |
| screenshot2.png | 3 months ago | |
| screenshot3.png | 3 months ago | |
| screenshot4.png | 3 months ago |
AmiWriterMUI is a minimal MUI-based text editor for AmigaOS 4.1 that uses TextEditor.mcc. It supports open/save, copy/paste/undo, tabs, drag-and-drop, and a first-pass C syntax colorizer. This repo is intentionally small and approachable so you can use it as a template or tutorial for your own MUI apps.
MUI:Libs/mui/TextEditor.mcc)This project expects the OS4 SDK inside the docker image.
Start the build:
sudo docker run --rm -v /home/auzieman/Projects:/Projects \
rolfkopman/os4env /bin/bash -lc "cd /Projects/AmiWriterMUI && make clean && make"
The output binary is:
AmiWriterMUI/AmiWriterMUI
AmiWriterMUI to your AmigaOS 4.1 machine.TextEditor.mcc is installed in MUI:Libs/mui/.If the editor gadget fails to open, the class is usually missing.
Recolor action in the Edit menuEdit -> Recolor.open_libraries() opens muimaster.library, intuition.library, asl.library, and dos.library and grabs interfaces.init_color_map() sets up a small pen palette and assigns it to MUIA_TextEditor_ColorMap.ApplicationObject and WindowObject, with a toolbar row and RegisterObject for tabs.MUIM_Notify and handled in the MUIM_Application_NewInput loop.apply_syntax_colors() scans the editor text and uses MUIM_TextEditor_SetBlock to color ranges.docs/CONCEPTS.md for a guided tour of tabs, history, file IO, and the colorizer.docs/PROJECT_NOTES.md for build setup and collaboration notes.If your container SSL intercept breaks validation, this helper posts issues with certificate verification disabled.
export GOGS_BASE="https://dtlab.auzietek.com"
export GOGS_REPO="auzieman/AmiWriterMUI"
python3 tools/post_issue.py --token "...your token..." \
--title "Bug: double paste" --body "Alt-V triggers twice."
Optional extras:
python3 tools/post_issue.py --token "...your token..." \ --assignee "auzieman" --labels 1 2 --verbose \ --title "Test issue" --body "Testing post_issue.py from Codex"
exec/types.h, you are compiling outside
the OS4 SDK environment. Use the docker command above.Open... or Save... does nothing, verify ASL is available and
asl.library opens successfully on the target.TextEditor.mcc is installed.