Obselete command?

Discussion in 'Mac Programming' started by jamesapp, Sep 22, 2009.

  1. jamesapp macrumors 6502a

    Mar 7, 2008
    After googling for awhile I came across a unix command
    It is supposed to communicate with the serial port driver and I would have been able to do like:
    serreset 9600, n, 8, 1
    Or something like that. But my mac os x 10.6 machine running snow leopard does not support this command I tried reading serreset's man page and my computer said that a man entry wasn't available. I was excited when I found the article on the mac website, the article was from 2007. I wonder when this command stopped being used? I have time machine on my computer, maybe I could look back and try to find it? But I don't know where to look? Also I wondered if there was a similar program I could use, or if there was a way to somehow get the source code and install it?
  2. admanimal macrumors 68040

    Apr 22, 2005
    What are you actually trying to use serreset for?
  3. jamesapp thread starter macrumors 6502a

    Mar 7, 2008
    I was going to use serreset to configure my serial port to test an external speech synthesizer. Which I have plugged into an USB to serial adaptor which I have plugged into my computer. I have not been able to get audio output from the cat or echo command. And when I read an article on the apple website serreset seemed like it was just what I needed to test my synthesizer.
  4. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    What is the URL of the page describing this serreset command?

    I googled the word and I mainly see two kinds of things:

    1. SerReset, a function in the classic Mac OS programming API.
    2. serreset, a command in the CCL language for writing modem-scripts.

    Neither of those is a Unix command that you could type into Terminal.

    Example of SerReset function reference:


    Example of serreset CCL modem-script:

    http://www.opensource.apple.com/source/modemccl/modemccl-7.1/Modems/I-O DATA PCMA-9664P(PDC)

    Reference doc for CCL scripting language:


    Appendix A lists the builtin commands, one of which is serreset.

    I also searched a PowerPC G4 that has multiple bootable partitions ranging from 10.1 to 10.4, and there isn't a serreset command anywhere.
  5. jamesapp thread starter macrumors 6502a

    Mar 7, 2008
    You're right it was a modem script command, atleast the web page I had looked at was referring to a CCL modem script command, I assumed it was a unix command.

Share This Page