Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2012
Mapping Text Stream To and From /dev/ttyS0
I'm looking for an easy way to, map the io stream on dev/ttyS0 for those characters. So from the terminal I might type \7E to get a } to be sent, and when a } is seen in the text going to the terminal, I want a \7E sent.
It might not be the same mapping each way, and I may want to do this for more than one /dev/ttyS0. I know I can do this with hardware, but I was hoping I could find a software solution.
Is there a program or module that can do this, so the whole session over /dev/ttyS0 is being mapped? Is there a module in the kernel I can patch to accomplish this, triggering this mapping based on a $TERM environment variable setting. I'm skilled in Perl, if that helps.
Last edited by jwhitney; 11-08-2012 at 07:20 PM. Reason: correction