Re: Linux AX.25 Socket programming

From: M Taylor (terhi.victor@logonet.com)
Date: Fri Jan 03 2003 - 23:02:22 EET

  • Next message: Luc Langehegermann: "KTrack 0.2.1 released"

    On Sat, Jan 04, 2003 at 09:47:05AM +1300, Wilbert Knol wrote:
    >
    >
    > > The standard end-of-line in AX.25 related world is CR
    >
    > # Un-buffer STDIN:
    > $|=1;
    > # Use AX25 EOL:
    > # (Check the '$/' paragraph in 'man perlvar')
    > $/="\r";

    For portable Perl,
            $/ = \015; # CR
    because \r and \n can vary across different Perl platforms (e.g. MacOS as
    I recall).

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to qykij@nomi.cz
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Fri Jan 03 2003 - 23:02:41 EET