8-bit ascii chars over telnet

Chris Nestrud ccn at uark.edu
Wed Jan 24 01:31:07 EST 2001


I've tried connecting to various telnet bbs's, and have run into the
problem of high ascii characters not being interpreted correctly. If
anyone else has had such problems, the below script might help with
things. It's called bbs. It enables support for high ascii chars, connects
to the host specified as argument (or ner.uark.edu, which should be
released as of tomorrow) if no host is specified. After connection closes
it sets the terminal back to its prior state.

Chris

#!/bin/bash
# proces argument
HOST=$1
HOST=${HOST:=ner.uark.edu}
# enable extended ascii
echo -en '\033(U'
# connect to host
echo "Connecting to ${HOST}"
telnet -8 ${HOST}
# remove extended ascii support
echo -en '\033(B'





More information about the Speakup mailing list