'Read terminal status line: Data Set Ready'

@property
def dsr(self):

    if (not self.is_open):
        raise portNotOpenError
    s = fcntl.ioctl(self.fd, TIOCMGET, TIOCM_zero_str)
    return ((struct.unpack('I', s)[0] & TIOCM_DSR) != 0)
