stty -ixany should also cause the dc1/dc3 sequence to be recognized exclusively. It is a lot easier than patching source code.