• [PATCH] Syncterm spell

    From Ragnarok@ragnarok@docksud.com.ar to DOVE-Net.Synchronet_Programming_C+ on Fri Oct 3 23:09:33 2014
    This is a multi-part message in MIME format. --------------000303080403010405060604
    Content-Type: text/plain; charset=ISO-8859-1
    Content-Transfer-Encoding: 8bit

    Hi Deuce,

    Since continued with my always-still-eternal packaging attemp for
    debian, i attach a trivial patch to solve 3 o 4 spell issues to avoid
    lintian warnings [1].

    [1] http://mentors.debian.net/package/syncterm

    it's made for the syncterm source from 2014-10-03


    --------------000303080403010405060604
    Content-Type: text/x-patch;
    name="spell_lintian_1.patch"
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: attachment;
    filename="spell_lintian_1.patch"

    --- src/syncterm/bbslist.c.orig 2014-10-03 07:00:57.000000000 -0300
    +++ src/syncterm/bbslist.c 2014-10-03 19:52:34.655157734 -0300
    @@ -1056,7 +1056,7 @@ int edit_list(struct bbslist **list, str
    case 15:
    uifc.helpbuf=3D "`Comm Rate (in bits-per-second)`\n\n"
    "`For TCP connections:`\n"
    - "Select the rate which recieved characters will be displayed.\n\=
    n"
    + "Select the rate which received characters will be displayed.\n\=
    n"
    "This allows animated ANSI and some games to work as intended.\n=
    \n"
    "`For Modem/Direct COM port connections:`\n"
    "Select the `DTE Rate` to use."
    --- src/conio/cterm.txt.orig 2014-10-03 19:53:06.491158411 -0300
    +++ src/conio/cterm.txt 2014-10-03 19:53:23.427158771 -0300
    @@ -549,7 +549,7 @@ CSI [ p1 ] n
    and x is
    the current row.
    255 - NON-STANDARD EXTENSION
    - Replies as though a CSI [ 6 n was recieved with the cursor in + Replies as though a CSI [ 6 n was received with the cursor in
    the bottom right corner. ie: Returns the terminal size as a
    position report.
    =20
    --- src/xpdev/xpprintf.c.orig 2014-10-03 20:10:59.563181221 -0300
    +++ src/xpdev/xpprintf.c 2014-10-03 20:11:56.243182425 -0300
    @@ -280,7 +280,7 @@ int DLLCALL xp_printf_get_type(const cha
    *
    * Does not currently support the $ argument selector.
    *
    - * Currently, the type is not overly usefull, but this could be used for=

    + * Currently, the type is not overly useful, but this could be used for
    * automatic type conversions (ie: int to char *). Right now it just as= sures
    * that the type passed to sprintf() is the type passed to
    * xp_asprintf_next().
    --- src/build/Common.gmake.orig 2014-10-03 20:11:15.199181553 -0300
    +++ src/build/Common.gmake 2014-10-03 20:12:27.431183088 -0300
    @@ -58,7 +58,7 @@
    # USE_UPROFILE - Builds using information generated by UPROFILE. #
    # (RELEASE builds only) #
    # DONT_CLOBBER_CC - Do not change the default setting of CC #
    -# OBJPATH_SUFFIX - Suffix appended to OBJPATH usefull for compiling #=

    +# OBJPATH_SUFFIX - Suffix appended to OBJPATH useful for compiling #
    # different options of the same source file #
    # STATIC - Create a statically linked build if possible #
    # #
    --- src/build/Common.bmake.orig 2014-10-03 20:11:23.939181739 -0300
    +++ src/build/Common.bmake 2014-10-03 20:12:42.407183407 -0300
    @@ -17,7 +17,7 @@
    # (Mutually exclusive, if both are set, RELEASE #
    # is cleared) #
    # DONT_CLOBBER_CC - Do not change the default setting of CC #
    -# OBJPATH_SUFFIX - Suffix appended to OBJPATH usefull for compiling #=

    +# OBJPATH_SUFFIX - Suffix appended to OBJPATH useful for compiling #
    # different options of the same source file #
    # #
    # Common Build Macros Defined: #
    --- src/syncterm/term.c.orig 2014-10-03 20:11:32.727181925 -0300
    +++ src/syncterm/term.c 2014-10-03 20:13:07.139183932 -0300
    @@ -787,7 +787,7 @@ static BOOL is_connected(void* unused)
    static int guts_lputs(void* cbdata, int level, const char* str)
    {
    struct GUTS_info *gi=3Dcbdata;
    - /* ToDo: Do something usefull here. */
    + /* ToDo: Do something useful here. */
    /* fprintf(stderr,"%s\n",str); */
    return(0);
    }
    @@ -795,7 +795,7 @@ static int guts_lputs(void* cbdata, int
    void guts_zmodem_progress(void* cbdata, ulong current_pos)
    {
    struct GUTS_info *gi=3Dcbdata;
    - /* ToDo: Do something usefull here. */
    + /* ToDo: Do something useful here. */
    return;
    }
    =20
    @@ -1950,7 +1950,7 @@ void capture_control(struct bbslist *bbs
    uifc.helpbuf=3D"`Capture Type`\n\n"
    "~ ASCII ~ Strips out ANSI sequences\n"
    "~ Raw ~ Leaves ANSI sequences in\n\n"
    - "Raw is usefull for stealing ANSI screens from other systems.\n"
    + "Raw is useful for stealing ANSI screens from other systems.\n"
    "Don't do that though. :-)";
    if(uifc.list(WIN_MID|WIN_SAV,0,0,0,&i,NULL,"Capture Type",opts)!=3D-1)=
    {
    j=3Dfilepick(&uifc, "Capture File", &fpick, bbs->dldir, NULL, UIFC_FP=
    _ALLOWENTRY);

    --------------000303080403010405060604--