O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Line Settings

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required