tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: termcap(5)

On Thu, 9 Feb 2012 18:03:05 +0100, Ignatios Souvatzis wrote:
On Thu, Feb 09, 2012 at 04:48:23PM +0000, Roy Marples wrote:
On Thu, 9 Feb 2012 16:39:11 +0000 (UTC), wrote:
>Roy Marples <> wrote:
>>New version attached.
>You lost the section about escapes in string caps. In the old manual
>it starts with:
>     A number of escape sequences are provided in the
>string-valued capabili-
>     ties for easy encoding of control characters there.  [...]

I lost that on purpose as that is describing termcap specific escape
codes which are also used in terminfo.
It has nothing todo with the termcap file format itself.

Are you sure? Unless you're talking about something else, I've needed
and used



Yes I'm sure.
The capability returned is \004 and it's up to the program that uses that printcap entry to process the escape codes. Another program could equally use 0 to escape with and translate the above to example to \04. The only escaping as noted by the termcap format is to join lines with a trailing \



Home | Main Index | Thread Index | Old Index