Search found 98 matches

by gdridi
Wed Feb 19, 2025 5:03 pm
Forum: General Developer Support
Topic: ACTION_DISK_INFO and console
Replies: 1
Views: 10787

ACTION_DISK_INFO and console

Hello!

I use info AmigaDOS CMD to see information about non-interactive handler (file system) but when it’s a CON-handler it displays nothing even if ACTION_DISK_INFO is implemented?

Window address
Raw or cooked mode
Io address to communicate with console.device

Are this information useful for a ...
by gdridi
Wed Feb 19, 2025 4:48 pm
Forum: General AmigaOS
Topic: Rollover keyboard faulty
Replies: 2
Views: 23691

Re: Rollover keyboard faulty

Hello!

No one notice this bug on A1222+

Enhancer and V54 packs installed.

Rollover faulty ; even I ´m not Lucky luck ! It is noticeable ?

Sincerely your,

DGILLES
by gdridi
Wed Feb 19, 2025 4:42 pm
Forum: AmigaOS Feature Requests
Topic: Break AmigaDOS CMD generalization
Replies: 0
Views: 32847

Break AmigaDOS CMD generalization

Hello!

When I see a process in the tasklist (by AROS tasklist command) and even it isn’t in the process list of actual Shell (by status).

With the:
break C|D|E|F name=<process_not_in_status_list>

do nothing!

Why can we allow to send this signals with break CMD even if not in status task list ...
by gdridi
Tue Feb 18, 2025 4:06 pm
Forum: General Developer Support
Topic: Bug or line flushing protocol changes from FEu0 to FEu2 [SOLVED]
Replies: 5
Views: 12888

Re: Bug or line flushing protocol changes from FEu0 to FEu2


In newlib the buffering mode for stdout will default to line buffered (i.e. buffer is flushed implicitly if full or when a newline character is written) if the stdout file handle is a terminal.


To see if stdout is a terminal it checks with IsInteractive(fh) and then ObtainConsoleDataTags(OCD ...
by gdridi
Sun Feb 16, 2025 4:22 pm
Forum: General Developer Support
Topic: Bug or line flushing protocol changes from FEu0 to FEu2 [SOLVED]
Replies: 5
Views: 12888

Re: Bug or line flushing protocol changes from FEu0 to FEu2

Hello!

When I used this code:

int main() {
int c;
while( (c = getchar()) != EOF ) putchar(c);
return 0;
}


In interactive mode, with this code,
Under A1222+
I enter 3 lines but each line is not output as soon as I type Return [key].

Say :
abc<Return>
def<Return>
ghi<Return><Ctrl-\>
Outputs ...
by gdridi
Sat Feb 15, 2025 6:41 am
Forum: General Developer Support
Topic: Line discipline under latest OS version [solved - see flushing line]
Replies: 0
Views: 20404

Line discipline under latest OS version [solved - see flushing line]

Hello,

I have notice that when I enter text in my console and type return key that the line doesn’t appear twice.

Is it the responsibility of my handler (console ACTION_READ) to flush the line to the screen or whatever when it encounters NewLine char, so some (line of) text is display twice.

For ...
by gdridi
Fri Feb 14, 2025 2:16 pm
Forum: General Developer Support
Topic: Line discipline under FinalEdition update 2 [solved - see flushing line]
Replies: 0
Views: 20814

Line discipline under FinalEdition update 2 [solved - see flushing line]

Hello!

From the last response it seems that line discipline or line buffering [input/output] are not correct:

Understanding getchar() and putchar() in C - Stack Overflow

https://stackoverflow.com/questions/28779640/understanding-getchar-and-putchar-in-c

When I used DOSpacket handler of mine, it ...
by gdridi
Wed Feb 12, 2025 8:32 pm
Forum: General Developer Support
Topic: Bug or line flushing protocol changes from FEu0 to FEu2 [SOLVED]
Replies: 5
Views: 12888

Bug or line flushing protocol changes from FEu0 to FEu2 [SOLVED]

Hello!

Con-handler is not taking into account multiline in FEu2 or FEa1222, like "abc\ndef" as one string received instead of two strings "abc\n" and "def", with previous venerable FEu0


int main() {
int c;
while( (c = getchar()) != EOF ) putchar(c);
return 0;
}


TESTING THIS UNDER FE2 ...
by gdridi
Wed Feb 12, 2025 8:14 pm
Forum: General Developer Support
Topic: How SDK:/Local/C/cat works? [SOLVED]
Replies: 5
Views: 16839

Re: How SDK:/Local/C/cat works? [solved]

Hello!

The problem was when the last line(last char) is not ended by a NewLine.
With 'cat' the last line of characters when not ended even with a null character '\0'.
So it displays garbage after the correct lines.

Sorry for the inconvenience,
DGILLES
by gdridi
Sun Feb 09, 2025 11:16 am
Forum: General Developer Support
Topic: Crash when reading from a PIPE:
Replies: 13
Views: 78650

Re: Crash when reading from a PIPE:

Hello,

Where your buffer is declared ?

Try to Align it in 16 boundaries char _align16_ buffer[..]

Sincerely your,
DGILLES