History log of /netbsd-src/lib/libedit/terminal.c (Results 1 – 25 of 46)
Revision Date Author Comments
# 7a0279c0 04-Feb-2023 christos <christos@NetBSD.org>

Remove unused stuff, and limit the scope of some of the used ones.
(from des@freebsd)


# 21a4b1cc 30-Oct-2022 christos <christos@NetBSD.org>

improvements in malloc/free handling.


# e2b95d2c 09-Sep-2021 christos <christos@NetBSD.org>

Add casts to appease conversions between wchar_t and wint_t


# 6953eca8 10-Jul-2020 christos <christos@NetBSD.org>

Fix numeric variable handling in settc (lyzliyuzhi at 163 dot com)


# 58b288d8 31-May-2020 christos <christos@NetBSD.org>

use strlcpy() instead of strncpy() for gcc happiness


# b9ecc063 12-Nov-2019 christos <christos@NetBSD.org>

PR/54654: Soren Tempel: Make sure el_cursor.v < el_terminal.t_size.v when
moving around.


# a5a5a01f 15-Sep-2019 christos <christos@NetBSD.org>

Fix type and remove cast (Yuichiro NAITO/FreeBSD).


# 113f06a3 23-Jul-2019 christos <christos@NetBSD.org>

PR/54399: Sören Tempel: Uninitialized memory access in libedit history.
Initialize the buffer using calloc. While here change all malloc(a * sizeof(b))
to calloc(a, sizeof(b)). XXX: should fix reallo

PR/54399: Sören Tempel: Uninitialized memory access in libedit history.
Initialize the buffer using calloc. While here change all malloc(a * sizeof(b))
to calloc(a, sizeof(b)). XXX: should fix realloc similarly.

show more ...


# ac94b724 30-Jun-2019 christos <christos@NetBSD.org>

Add a comment explaining why we don't use DO here. Correct the attribution
on the previous patch: The patch was from Jordan Lewis and the report from
Raphael Poss.


# 0d316601 29-Jun-2019 christos <christos@NetBSD.org>

PR/54329: Raphael Ross: According to https://www.gnu.org/software/termutils/\
manual/termcap-1.3/html_chapter/termcap_4.html#SEC23 the cursor move multiple
escapes have undefined results when moving

PR/54329: Raphael Ross: According to https://www.gnu.org/software/termutils/\
manual/termcap-1.3/html_chapter/termcap_4.html#SEC23 the cursor move multiple
escapes have undefined results when moving out of the screen. Stop using DO
to move down multiple lines and use a loop of newlines instead.

show more ...


# 2f37aad7 12-Apr-2019 christos <christos@NetBSD.org>

PR/52359: Benjamin Lorenz: When resizing because of a signal save and restore
the cursor position, since it does not change.


# 52b10dfd 15-Feb-2019 christos <christos@NetBSD.org>

PR/53983: Jonathan Perkins: Fix types for readline compatibility


# e06500e2 24-Nov-2018 christos <christos@NetBSD.org>

PR/53682: Jordan Lewis: use newlines instead of padded spaces when restoring
multi-line histories.


# 06d596a8 27-Jun-2017 christos <christos@NetBSD.org>

- handle literal escape sequence printing.
- factor out common code in allocation and freeing of the display.


# a2d6b270 09-May-2016 christos <christos@NetBSD.org>

s/protected/libedit_private/g


# 300e2ca4 02-May-2016 christos <christos@NetBSD.org>

eliminate static buffer with custom resizing code.


# 4fc1f47d 18-Apr-2016 christos <christos@NetBSD.org>

From Ingo Schwarze:
* Replace fcns.c by a shorter and simpler func.h
and include it only in the one file needing it, map.c.
* Combine help.h and help.c into a simplified help.h
and include it

From Ingo Schwarze:
* Replace fcns.c by a shorter and simpler func.h
and include it only in the one file needing it, map.c.
* Combine help.h and help.c into a simplified help.h
and include it only in the one file needing it, map.c.
* Check the very simple, static files editline.c, historyn.c, and
tokenizern.c into CVS rather than needlessly generating them.
* So we no longer autogenerate any C files. :-)
* Shorten and simplify makelist by deleting the options -n, -e, -bc,
and -m; the latter was unused and useless in the first place.
* Move the declaration of el_func_t from fcns.h to the header
actually needing it, map.h. Since that header is already
included by el.h for unrelated reasons, that makes el_func_t
just as globally available as before.
* No longer include the simplified fcns.h into el.h,
include it directly into the *.c files needing it.

show more ...


# 469d44f8 11-Apr-2016 christos <christos@NetBSD.org>

Get rid of private/public; keep protected (Ingo Schwarze)


# 0594af80 11-Apr-2016 christos <christos@NetBSD.org>

Char -> wchar_t from Ingo Schwarze.


# 0aefc7f9 11-Apr-2016 christos <christos@NetBSD.org>

more macro WIDECHAR undoing from Ingo Schwarze.


# fcf85103 09-Apr-2016 christos <christos@NetBSD.org>

More WIDECHAR elimination (Ingo Schwarze)


# 4e541d85 23-Mar-2016 christos <christos@NetBSD.org>

Start removing the WIDECHAR ifdefs; building without it has stopped working
anyway. (Ingo Schwarze)


# 62666ab4 22-Mar-2016 christos <christos@NetBSD.org>

put back NUL check (Ingo Schwarze)


# d784c575 02-Mar-2016 christos <christos@NetBSD.org>

PR/50880: David Binderman: Remove redundant code.
While here, fix all debugging formats.


# 22383670 17-Feb-2016 christos <christos@NetBSD.org>

whitespace and header sorting changes (Ingo Schwarze). No functional changes.


12