Subj : Re: More on Magiterm
To   : apam
From : deon
Date : Tue Jun 14 2022 10:52 am

 Re: Re: More on Magiterm
 By: apam to deon on Tue Jun 14 2022 10:55 am

>  de> I've noticed that if you CTRL-M to change screen resollution ALT-Z
>  de> (help) no longer works.
>
> Thanks, Fixed in git.

Works well.

BTW: I got a few compile warnings - are you interested in those?

[ 27%] Building CXX object CMakeFiles/MagiTerm.dir/dialdirectory.cpp.o
/Users/deon/Sync/devel/MagiTerm/dialdirectory.cpp:1297:57: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
           snprintf(buffer, 10, "\x1b[9;%" PRIu64 "H", strlen(tmpbbs) + 24);
                                        ~~~~~~~~~      ^~~~~~~~~~~~~~~~~~~
/Users/deon/Sync/devel/MagiTerm/dialdirectory.cpp:1307:58: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
           snprintf(buffer, 10, "\x1b[11;%" PRIu64 "H", strlen(tmphost) + 24);
                                         ~~~~~~~~~      ^~~~~~~~~~~~~~~~~~~~
/Users/deon/Sync/devel/MagiTerm/dialdirectory.cpp:1333:49: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
                       snprintf(buffer, 10, "\x1b[16;%" PRIu64 "H", strlen(tmpuser) + 24);
                                                     ~~~~~~~~~      ^~~~~~~~~~~~~~~~~~~~
/Users/deon/Sync/devel/MagiTerm/dialdirectory.cpp:1345:49: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
                       snprintf(buffer, 10, "\x1b[18;%" PRIu64 "H", strlen(tmppass) + 24);
                                                     ~~~~~~~~~      ^~~~~~~~~~~~~~~~~~~~
/Users/deon/Sync/devel/MagiTerm/dialdirectory.cpp:1356:49: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
                       snprintf(buffer, 10, "\x1b[20;%" PRIu64 "H", strlen(tmpmemo) + 24);
                                                     ~~~~~~~~~      ^~~~~~~~~~~~~~~~~~~~
/Users/deon/Sync/devel/MagiTerm/dialdirectory.cpp:1365:49: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
                       snprintf(buffer, 10, "\x1b[22;%" PRIu64 "H", strlen(tmpdownload) + 24);
                                                     ~~~~~~~~~      ^~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.

[ 63%] Building C object CMakeFiles/MagiTerm.dir/sexyz/zmodem.c.o
/Users/deon/Sync/devel/MagiTerm/sexyz/zmodem.c:141:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
       bname = &(filename[i]);
             ^ ~~~~~~~~~~~~~~
/Users/deon/Sync/devel/MagiTerm/sexyz/zmodem.c:2262:4: warning: format specifies type 'unsigned long *' but the argument has type 'uint32_t *' (aka 'unsigned int *') [-Wformat]
               ,&tmptime                               /* file time (octal unix format) */
                ^~~~~~~~
2 warnings generated.


...����
--- SBBSecho 3.15-Linux
* Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)