[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: terminfo trouble
From: |
Daniel Weaver |
Subject: |
Re: terminfo trouble |
Date: |
Fri, 17 Aug 2001 15:51:04 -0700 |
At 09:00 PM 8/17/01 +0200, Lars Brinkhoff wrote:
>Hello,
>
>I'm trying to write a terminfo description for a peculiar terminal
>type, but there are some problems:
>
>1. The terminal uses byte values in the range 128 - 153 (decimal) as
> control codes. However, some applications, for example Emacs, seem
> to clear the most significant bit. The version of vi installed on
> my machine doesn't do that.
>
> Is there a way to indicate that the control codes should be sent
> unchanged? (The "km" capability doesn't seem to work for this.)
km identifies a meta key. I wouldn't expect it to change the input
character width. Your problem is more likely with you tty driver
settings. Check out the STTY command and see if 8-bit is set. (cs8)
>
>2. In fact all byte values from 128 to 255 are reserved as control
> codes. Sending a character > 127 can be done by sending a byte
> with value 141 first.
>
> Is there a way to do this?
There is no provision to expand printable characters into multi-character
sequences. This can be done with control functions such as CR and BS.
>
>3. The row and column addresses are start from zero. But sending a
> null byte with %c doesn't work. Nothing is sent.
>
> Can %c be used for this somehow, or is there another way to do
> this?
That should have worked. Post you terminfo and I will check it out.
There is a program called TACK in the distribution that may help
you build your terminfo. Chcek it out.
-----------------------------
Dan Weaver, ZNYX Networks
address@hidden
- terminfo trouble, Lars Brinkhoff, 2001/08/17
- Re: terminfo trouble,
Daniel Weaver <=