History log of /netbsd-src/lib/libedit/chared.c (Results 26 – 50 of 64)
Revision Date Author Comments
# 53fbf029 12-Jul-2013 christos <christos@NetBSD.org>

cast to avoid warning.


# 255f657e 12-Jul-2013 christos <christos@NetBSD.org>

Add a function to move the cursor.


# 1f432e45 18-Jul-2012 christos <christos@NetBSD.org>

From Kamil Dudka: fix crash of el_insertstr() on incomplete multi-byte


# 6a96f344 23-Oct-2011 christos <christos@NetBSD.org>

Fixed misplaced parenthesis (Nirbhay Choubey)


# 3d802cf5 16-Aug-2011 christos <christos@NetBSD.org>

re-enable -Wconversion


# c11bd863 29-Jul-2011 christos <christos@NetBSD.org>

pass -Wconversion


# 7ecb1ef2 29-Jul-2011 christos <christos@NetBSD.org>

kill ifdef notdef


# b71bed95 29-Jul-2011 christos <christos@NetBSD.org>

KNF return (\1); -> return \1;


# a13cd756 28-Jul-2011 christos <christos@NetBSD.org>

kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.


# 98c7cbeb 28-Jul-2011 christos <christos@NetBSD.org>

term -> terminal
XXX: need to rename key_ too.


# 7741aae9 28-Aug-2010 christos <christos@NetBSD.org>

setup a callback to be invoked on resize buffers so that readline can
reset rl_line_buffer which unfortunately some applications use it directly.


# 34e53048 30-Dec-2009 christos <christos@NetBSD.org>

Wide character support (UTF-8) from Johny Mattsson; currently disabled.


# 5c894153 15-Feb-2009 christos <christos@NetBSD.org>

pass lint on _LP64.


# fe3391bd 06-Feb-2009 sketch <sketch@NetBSD.org>

de-__P()


# 76b5907b 08-Aug-2005 christos <christos@NetBSD.org>

The previous commit removed too much and forgot to reset the history event
number. From Kouichirou Hiratsuka, many thanks!


# 0895008a 01-Aug-2005 christos <christos@NetBSD.org>

Don't reset the macro strings each time we enter el_gets(), otherwise
el_push() is unusable programmatically.


# ac636bd1 01-Jun-2005 lukem <lukem@NetBSD.org>

Don't use non-standard uint or u_int.


# 6360c4b0 13-Aug-2004 mycroft <mycroft@NetBSD.org>

Delete-previous-char and delete-next-char without an argument are not supposed
to modify the yank buffer in Emacs. Make it so.


# 62a5c8a6 02-Nov-2003 christos <christos@NetBSD.org>

Always use el->el_buffer, because newbuffer could have moved. From
Gerry Swislow gerry at certif dot com


# 6e782349 18-Oct-2003 christos <christos@NetBSD.org>

change allocation policy in el_push to allocate the string itself.
fix issues with strdup.


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 4a97685c 20-Nov-2002 christos <christos@NetBSD.org>

Fix problem with previous patches that broke vi history.
- c_gets() was usually returning a length, but sometimes
one of the CC_xxx values (which are small +ve integers)!
- fixed c_gets() by puttin

Fix problem with previous patches that broke vi history.
- c_gets() was usually returning a length, but sometimes
one of the CC_xxx values (which are small +ve integers)!
- fixed c_gets() by putting a ' ' under the cursor.
From David Laight.

show more ...


# 39f224af 15-Nov-2002 christos <christos@NetBSD.org>

PR/18995: David Laight: libedit fixes for posix conformant sh

The posix 'sh' specification defines vi-mode editing quite tightly.
The netbsd libedit code (used by sh to do this) was missing several

PR/18995: David Laight: libedit fixes for posix conformant sh

The posix 'sh' specification defines vi-mode editing quite tightly.
The netbsd libedit code (used by sh to do this) was missing several
features, there were also minor errors in others.

Compare netbsd sh to the definition available from:
http://www.opengroup.org/onlinepubs/007904975/utilities/sh.html
In particular the following were not supported:
U - undo all changes to line
| - goto column
Y - yank to end of line
y - yank
# - comment out current line
@ - take input from shell alias [1]
G - goto numbered line in history buffer
v - edit history line with vi
_ - append word from last input line
. - redo last command
Other minor changes have also been made.

[1] This needs the shell to define an appropriate routine to
return the text of the alias. There is no requirement that
such a function exist.

show more ...


# a17c7fe4 27-Oct-2002 christos <christos@NetBSD.org>

vi mode and memory fixes from david laight.


# 0e0ac6b7 18-Mar-2002 christos <christos@NetBSD.org>

- constify; passes all gcc and lint strict checks.
- add config.h [Jason Evans], to create a portable version of libedit that
can be easily compiled on other OS's.


123