linesw[] directly to using the ttyld...() functions The ttyld...() functions ar inline so there is no performance hit.