-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
Some (yabasic-) programs to investigate various issues. | ||
Some yabasic-programs to study new features and old issues. |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
clear screen | ||
error "foo" | ||
dim cols$(7) | ||
for i=0 to 7:read cols$(i):next i | ||
for i=0 to 7:for j=0 to 7:print color(cols$(i),cols$(j)) ">>> " + cols$(i) + cols$(j) + " <<<";:next j:next i | ||
for i=0 to 7:for j=0 to 7:print color(cols$(i),cols$(j)) ">>> fg=" + cols$(i) + ", bg=" + cols$(j) + " <<<";:next j:next i | ||
data "white","red", "blue", "green", "yellow", "cyan", "magenta", "black" |
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,30 @@ | ||
All sorts of temporary notes related to studies in yabasic; not ment to be readable by | ||
themselves; might even be in german | ||
|
||
* [2024-12-28 Sat] Error messages after curinit() should switch of curses first | ||
|
||
Code looks right, behaviour not. | ||
|
||
Puzzling: | ||
|
||
- Artifical error "thud" in initcol | ||
- Some sleeps to make sequence of things easier visible | ||
- Should trigger printf in this sequence (according to code): | ||
- foo0, foo1, foo2 in error_with_position | ||
- qux0, qux1 in show_and_mark_line | ||
- However the sequence on screen is: | ||
- foo0 in curses | ||
- qux0, qux1 out of curses | ||
- foo1, foo2 out of curses | ||
- Maybe threading-error ? Which threads ? | ||
|
||
|
||
./configure CFLAGS="-g -O0" && make | ||
|
||
gdb setup: | ||
|
||
break main.c:2055 | ||
break main.c:1961 | ||
tty /dev/pts/3 | ||
run study/colors.yab | ||
|