The following pages have some useful notes on how to use pseudo terminals to emulate serial devices:
Socat seems to be the most powerful as it allows things like catting files into the pseudo serial port.
Socat is also in Fedora as standard, probably others too.