Displaying 2 results from an estimated 2 matches for "nefg".
Did you mean:
efg
2023 Jan 15
1
logging strategy
...t for mostly-ascii. There is a log of a read string "\nOK" that
is messy (and there's a real bug lurking that this exposes).
I think I want (actually I want octal because I was raised PDP-11, but
not trying to rock that boat):
ABCD\{LF}EFG\[89]\\
or similar for printf("ABCD\nEFG%c\\", 0x89). The point is to be
- compact for mostly ascii
- unambigous
- guaranteed printable only
- otherwise as simple as possible
How would people feel about adjusting upsdebug_ascii to do this? I
would consider a PR if it is ok, and skip the effort if not.
2023 Jan 15
1
logging strategy
...f a read string "\nOK" that
> is messy (and there's a real bug lurking that this exposes).
>
> I think I want (actually I want octal because I was raised PDP-11, but
> not trying to rock that boat):
>
> ABCD\{LF}EFG\[89]\\
>
> or similar for printf("ABCD\nEFG%c\\", 0x89). The point is to be
> - compact for mostly ascii
> - unambigous
> - guaranteed printable only
> - otherwise as simple as possible
>
> How would people feel about adjusting upsdebug_ascii to do this? I
> would consider a PR if it is ok, and skip the ef...