|
Home > Archive > Unix administration > May 2005 > Setting my terminal to binary mode
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Setting my terminal to binary mode
|
|
| themf@graffiti.net 2005-05-03, 6:00 pm |
| How do I do this?
I did, I think a "stty cs8", or something of that nature (whatever the
manpage said) on Linux - didn't work 
Thanks.
| |
| Bill Marcum 2005-05-03, 6:00 pm |
| On 3 May 2005 10:11:51 -0700, themf@graffiti.net
<themf@graffiti.net> wrote:
> How do I do this?
>
> I did, I think a "stty cs8", or something of that nature (whatever the
> manpage said) on Linux - didn't work 
>
What exactly are you trying to do? Does it involve UTF-8 characters?
If the terminal's UTF-8 setting does not match your locale, you will
see rectangles or extra characters, especially the letter A with a
tilde. To turn UTF-8 on or off in xterm, press ctrl and the right mouse
button, and select "UTF-8" in the menu.
--
QOTD:
"It's not the despair... I can stand the despair. It's the hope."
| |
| keeper 2005-05-04, 8:48 pm |
| 于 Tue, 03 May 2005 10:11:51 -0700,themf写到:
> How do I do this?
>
> I did, I think a "stty cs8", or something of that nature (whatever the
> manpage said) on Linux - didn't work 
>
>
>
>
>
>
> Thanks.
utf8 ?
| |
| Villy Kruse 2005-05-06, 2:52 am |
| On Thu, 05 May 2005 07:37:39 +0800,
keeper <ghut75@yahoo.com.cn> wrote:
> ? Tue, 03 May 2005 10:11:51 -0700?themf???
>
> utf8 ?
cs8 just means "don't strip the data to 7bits". For binary mode you
will need -icanon and -opost to disable processing of incomming and
outgoing data. Also, the proper setting of parity modes is required.
Villy
|
|
|
|
|