When we use the ttyadm command, one of the parameters we need to specify is the line settings that we would like to apply to the port. In our example, we've used “contty5H,” so let's find out what this means.
A file named /etc/ttydefs contains the list of all the line settings known to the system. Each one of these has a corresponding label that is matched against the option passed to ttyadm. Let's have a look at the one we have used:
hydrogen# grep contty5H /etc/ttydefs contty5H:19200 opost onclr:19200 hupcl sane::conttyH hydrogen#
So what does this mean? First, we can see that the file is colon-separated and split into fields. The first field contains the label that will be matched to find the correct entry. The next contains ...