Epics@GSI Webhome

HadCon 2 Multipurpose Controls Api Basic Operation Stty Options


The command line to change hadcon2 usb communication settings



$> stty -F /dev/ttyUSBx -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke 115200

    • Output settings:
      do not post-process output
      do not translate newline to carriage return-newline
    • Local settings:
      do not enable interrupt, quit, and suspend special characters
      do not enable erase, kill, werase, and rprnt special characters
      do not enable non-POSIX special characters
      do not echo input characters
      do not echo erase characters as backspace-space-backspace
      do not echo a newline after a kill character
      do not echo control characters in hat notation ('^c')
      kill all line by obeying the echoctl and echok setting
      sets the speed to 115200 Bit/s

    Summarizing the settings prevent any additional manipulation of input or output.

-- PeterZumbruch - 2017-11-30
-- PeterZumbruch - 2017-11-30

This topic: Epics > WebHome > EpicsProjectsAndActivities > HardwarePlatforms > HadCon2 > HadCon2MultipurposeControlsApi > HadCon2MultipurposeControlsApiBasicOperation > HadCon2MultipurposeControlsApiBasicOperationSttyOptions
Topic revision: 2017-11-30, PeterZumbruch
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)