System.Posix.Terminal

# Terminal support

## Terminal attributes

data TerminalAttributes
getTerminalAttributes
data TerminalState
setTerminalAttributes
data TerminalMode
withoutMode
withMode
terminalMode
bitsPerByte
withBits
data ControlCharacter
controlChar
withCC
withoutCC
inputTime
withTime
minInput
withMinInput
data BaudRate
inputSpeed
withInputSpeed
outputSpeed
withOutputSpeed

## Terminal operations

sendBreak
drainOutput
data QueueSelector
discardData
data FlowAction
controlFlow

## Process groups

getTerminalProcessGroupID
setTerminalProcessGroupID

## Testing a file descriptor

queryTerminal
getTerminalName
getControllingTerminalName

## Pseudoterminal operations

openPseudoTerminal
getSlaveTerminalName