Re: ax25_callL: no \n?

From: Tomi Manninen (terhi.victor@logonet.com)
Date: Tue Feb 13 2001 - 22:46:38 EET

  • Next message: Martyn Kinder G0CZD: "Re: Newbie LINUX AX25type question(s)"

    On Wed, 14 Feb 2001, Wilbert Knol wrote:

    > Received data is displayed all in one line. AX25_CALL appears to
    > discard line feeds. The same happens on TX. As a result, the local BPQ
    > node rejects the commands I am sending.
    >
    > I checked the sources, and indeed, even AX25_CALL status messages
    > are terminated with '\r' only. Is this a wrongly configured compilation
    > option?? No reference found to this anywhere.

    A single CR is the standard end-of-line sequence on packet radio. The
    user_call family of utilities is intended for use in applications where
    any end-of-line conversions are not necessary. That is both sides of the
    connection to/from ax25_call are supposed to be AX.25 connactions. Like
    when ax25_call is launched from ax25d or from node. In its intended use
    ax25_call uses the right eol.

    If you want to use ax25_call from the command line I just tested and
    piping the output through tr seems to work:

      ax25_call ... | tr '\r' '\n'

    Maybe you can use that?

    -- 
    Tomi Manninen           Internet:  wfozpusx.lbtqylptsq@csoft.co.uk
    OH2BNS                  AX.25:     miiuz.dppbfqqqi@eurodyn.com
    KP20ME04                Amprnet:   yvnpxuc.tjpdwwjfn@headoff.net
    

    - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to tanrm@vvvmost.cz



    This archive was generated by hypermail 2b30 : Tue Feb 13 2001 - 22:51:28 EET