Re: RFE - support option for curses idea of term size.
On 4/26/21 7:19 PM, L A Walsh wrote: I'm not clear if termcap lib has this or not, when the curses library is in use, it supports the idea of reading and setting the term size. Can't you do this with `stty size' already? Users can set this with the 'tabs' program included in the curses package. Readline is tab-agnostic, or tab-stop-agnostic, in a sense. It performs tab expansion itself during redisplay, and currently uses a tab stop of 8. That's not user-settable. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/
RFE - support option for curses idea of term size.
I'm not clear if termcap lib has this or not, when the curses library is in use, it supports the idea of reading and setting the term size. Users can set this with the 'tabs' program included in the curses package. Besides supporting X/Open standards for tabs for some specific languages, it also supports setting tabstops to regular sizes and/or clearing them. A sample manpage: https://www.ibm.com/docs/en/zos/2.2.0?topic=descriptions-tabs-set-tab-stops It can set or clear them on arbitrary terms supported in the curses library & database. Very few program writers use an 8-column tab for indentation -- something that was meant to be a default size in lieu of actually setting the tabstops to values needed for a giving application.