mostly renaming message field names to the new names. tty stored process numbers in chars in tty and pty structs - now ints.