Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libcurses
On Sun, Nov 10, 2013 at 23:45:46 +0000, David Laight wrote:
> On Sat, Nov 09, 2013 at 11:17:00AM +0000, Brett Lymn wrote:
> > Module Name: src
> > Committed By: blymn
> > Date: Sat Nov 9 11:16:59 UTC 2013
> >
> > Modified Files:
> > src/lib/libcurses: add_wch.c addbytes.c addch.c addchnstr.c
> > curses_private.h
> >
> > Log Message:
> > Rename the old __waddbytes function to _cursesi_waddbytes and add a
> > parameter that controls whether or not certain characters in the
> > string are interpreted or not (things like tab being expanded).
> ...
> > Fix the addchstr family functions so that they call _cursesi_waddbytes
> > with character interpretation off as per SUSV2.
>
> Does not expanding tabs actually make sense?
> At a guess it would lead to tab characters being send to the terminal
> and the display getting f**cked up.
>
> I also suspect it will break applications that expect curses to
> expand tabs.
This is what addchstr() &c are defined to to. Position is not
changed, special characters are not processed, wrapping is not done.
-uwe
Home |
Main Index |
Thread Index |
Old Index