Search found 101 matches

by gdridi
Sun Sep 21, 2025 7:41 pm
Forum: General AmigaOS
Topic: Is libInit() protected from switching i.e not running multitask
Replies: 2
Views: 16369

Re: Is libInit() protected from switching i.e not running multitask

Thank you Hypex!


That’s what I do (mutex for open() and another for close() - should be the same mutex? )

Mutex is not strictly a binary semaphore (no wait() function implies, so mutex could work with multicore).


Best regards,

DGILLES - Arabic console os4depot.net -
by gdridi
Fri Sep 19, 2025 5:42 pm
Forum: AmigaOS Feature Requests
Topic: Break AmigaDOS CMD generalization
Replies: 2
Views: 40907

Re: Break AmigaDOS CMD generalization

Hello,

Hi Hypex,

Tasklist is not only an AROS command.

I read your post.
I want to send a CTRL-C to any task with its name as it appears not only with status command but with tasklist.

This with the break AmigaDOS cmd and the Name option.

Regards,
DGILLES - Arabic console http://os4depot.net -
by gdridi
Wed Feb 19, 2025 5:03 pm
Forum: General Developer Support
Topic: ACTION_DISK_INFO and console
Replies: 1
Views: 14136

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: 27203

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: 2
Views: 40907

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 process 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: 16704

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: 16704

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: 26781

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: 27288

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 ...