The NetBSD Project

CVS log for src/lib/libedit/tty.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libedit

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.70 / (download) - annotate - [select for diffs], Wed Jul 14 07:47:23 2021 UTC (2 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.69: +6 -6 lines
Diff to previous 1.69 (colored) to selected 1.1.1.1 (colored)

Via Jess Thrysoee, from Adrian Bunk: Fix libedit build on Linux/Alpha
Alpha is the only Linux architecture that has SIGINFO:
    https://sources.debian.org/src/manpages/5.10-1/man7/signal.7/#L522

But even on Alpha Ctrl-T is not supported, and therefore no VSTATUS:
    https://sources.debian.org/src/manpages/5.10-1/man3/termios.3/#L603-L608

For consistency check both signal existence and character existence

Revision 1.69 / (download) - annotate - [select for diffs], Sun May 31 23:24:23 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.68: +3 -4 lines
Diff to previous 1.68 (colored) to selected 1.1.1.1 (colored)

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

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:23 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.67: +32 -2 lines
Diff to previous 1.67 (colored) next main 1.68 (colored) to selected 1.1.1.1 (colored)

Sync with HEAD

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:27 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.67: +32 -2 lines
Diff to previous 1.67 (colored) next main 1.68 (colored) to selected 1.1.1.1 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 2 16:58:13 2018 UTC (5 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.67: +32 -2 lines
Diff to previous 1.67 (colored) to selected 1.1.1.1 (colored)

Add a couple more readline compat functions.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jan 1 22:32:46 2018 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.66: +5 -4 lines
Diff to previous 1.66 (colored) to selected 1.1.1.1 (colored)

Only FLUSH if we are ending libedit; DRAIN if we suspend for readline.
This allows pasting multiline buffers (Gerry Swislow)

Revision 1.66 / (download) - annotate - [select for diffs], Tue Sep 5 18:07:59 2017 UTC (6 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) to selected 1.1.1.1 (colored)

For readline emulation, don't reset the tty to "sane" (cooked) mode if we
did not start this way. Also set and reset the tty on entry and exit from
readline() since this is what readline does.

Revision 1.65 / (download) - annotate - [select for diffs], Mon May 9 21:46:56 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.64: +11 -11 lines
Diff to previous 1.64 (colored) to selected 1.1.1.1 (colored)

s/protected/libedit_private/g

Revision 1.64 / (download) - annotate - [select for diffs], Mon Apr 18 17:01:19 2016 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.63: +3 -2 lines
Diff to previous 1.63 (colored) to selected 1.1.1.1 (colored)

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.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Apr 11 18:56:31 2016 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.62: +27 -27 lines
Diff to previous 1.62 (colored) to selected 1.1.1.1 (colored)

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

Revision 1.62 / (download) - annotate - [select for diffs], Mon Apr 11 00:50:13 2016 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.61: +9 -8 lines
Diff to previous 1.61 (colored) to selected 1.1.1.1 (colored)

Char -> wchar_t from Ingo Schwarze.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Apr 11 00:22:48 2016 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.1.1.1 (colored)

more macro WIDECHAR undoing from Ingo Schwarze.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Apr 9 18:43:17 2016 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.59: +9 -7 lines
Diff to previous 1.59 (colored) to selected 1.1.1.1 (colored)

More WIDECHAR elimination (Ingo Schwarze)

Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 22 01:34:32 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.58: +7 -4 lines
Diff to previous 1.58 (colored) to selected 1.1.1.1 (colored)

Fix reversed condition in tty_end() (Ingo Schwarze)
Also don't succeed if calling setup twice.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Feb 27 18:13:21 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.57: +7 -2 lines
Diff to previous 1.57 (colored) to selected 1.1.1.1 (colored)

PR/50863: John Hein: libedit el_end() messes up term settings if piped
Keep track if we initialized the tty, and only reset it if we did.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Feb 17 19:47:49 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (colored) to selected 1.1.1.1 (colored)

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

Revision 1.56 / (download) - annotate - [select for diffs], Tue Feb 16 22:53:14 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored) to selected 1.1.1.1 (colored)

More header cleanups from Ingo Schwarze.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Feb 16 19:08:41 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored) to selected 1.1.1.1 (colored)

more include file cleanup (Ingo Schwarze)

Revision 1.54 / (download) - annotate - [select for diffs], Tue Feb 16 15:53:48 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.53: +2 -5 lines
Diff to previous 1.53 (colored) to selected 1.1.1.1 (colored)

From Ingo Scharze:
Let "el.h" include everything needed for struct editline,
and don't include that stuff multiple times.  That also improves
consistency, also avoids circular inclusions, and also makes it
easier to follow what is going on, even though not quite as nice.
But it seems like the best we can do...

Revision 1.53 / (download) - annotate - [select for diffs], Tue Feb 16 14:08:25 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored) to selected 1.1.1.1 (colored)

cleanup chartype.h includes (Ingo Schwarze)

Revision 1.52 / (download) - annotate - [select for diffs], Tue Feb 16 14:06:05 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.51: +4 -2 lines
Diff to previous 1.51 (colored) to selected 1.1.1.1 (colored)

cleanup inclusion of histedit.h (Ingo Schwarze)

Revision 1.51 / (download) - annotate - [select for diffs], Sun Feb 14 14:49:34 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.50: +7 -7 lines
Diff to previous 1.50 (colored) to selected 1.1.1.1 (colored)

From Ingo Schwarze:

As we have seen before, "histedit.h" can never get rid of including
the <wchar.h> header because using the data types defined there is
deeply ingrained in the public interfaces of libedit.

Now POSIX unconditionally requires that <wchar.h> defines the type
wint_t.  Consequently, it can be used unconditionally, no matter
whether WIDECHAR is active or not.  Consequently, the #define Int
is pointless.

Note that removing it is not gratuitious churn.  Auditing for
integer signedness problems is already hard when only fundamental
types like "int" and "unsigned" are involved.  It gets very hard
when types come into the picture that have platform-dependent
signedness, like "char" and "wint_t".  Adding yet another layer
on top, changing both the signedness and the width in a platform-
dependent way, makes auditing yet harder, which IMHO is really
dangerous.  Note that while removing the #define, i already found
one bug caused by this excessive complication - in the function
re_putc() in refresh.c.  If WIDECHAR was defined, it printed an
Int = wint_t value with %c.  Fortunately, that bug only affects
debugging, not production.  The fix is contained in the patch.

With WIDECHAR, this doesn't change anything.  For the case without
WIDECHAR, i checked that none of the places wants to store values
that might not fit in wint_t.

This only changes internal interfaces; public ones remain unchanged.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Feb 11 19:21:04 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored) to selected 1.1.1.1 (colored)

- Add some more Char casts
- reduce ifdefs by providing empty defs for nls functions (Ingo Schwarze)

Revision 1.49 / (download) - annotate - [select for diffs], Tue Dec 8 16:53:27 2015 UTC (8 years, 4 months ago) by gson
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.1.1.1 (colored)

unbreak the build

Revision 1.48 / (download) - annotate - [select for diffs], Tue Dec 8 12:57:16 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.47: +5 -2 lines
Diff to previous 1.47 (colored) to selected 1.1.1.1 (colored)

If we did not setup the tty, don't reset it.

Revision 1.47 / (download) - annotate - [select for diffs], Thu May 14 10:44:15 2015 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) to selected 1.1.1.1 (colored)

fix warnings on ubuntu 32 bit (Miki Rozloznik)

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:17 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.42: +99 -133 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.1.1.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.42.8.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:51:57 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.42: +99 -133 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.1.1.1 (colored)

Rebase.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jun 18 18:52:49 2014 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored) to selected 1.1.1.1 (colored)

Add stdlib.h for abort() (Jess Thrysoee)

Revision 1.45 / (download) - annotate - [select for diffs], Mon May 19 21:01:48 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored) to selected 1.1.1.1 (colored)

PR/48821: If called from tty_stty(), recalculate flags.

Revision 1.44 / (download) - annotate - [select for diffs], Mon May 19 19:54:12 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.43: +87 -112 lines
Diff to previous 1.43 (colored) to selected 1.1.1.1 (colored)

more tty modes refactoring, no functional change intended.

Revision 1.43 / (download) - annotate - [select for diffs], Mon May 19 17:14:41 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.42: +24 -35 lines
Diff to previous 1.42 (colored) to selected 1.1.1.1 (colored)

Factor out some common code (more to be done) from PR/48821

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:31 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.41: +30 -25 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.1.1.1 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 15 15:59:01 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.41: +30 -25 lines
Diff to previous 1.41 (colored) to selected 1.1.1.1 (colored)

save and restore the tty settings on entry and exit respectively.
cleanup debugging printfs.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Oct 4 15:27:04 2011 UTC (12 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored) to selected 1.1.1.1 (colored)


fixed warnings where wint_t is unsigned.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 16 16:25:15 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.39: +7 -6 lines
Diff to previous 1.39 (colored) to selected 1.1.1.1 (colored)

re-enable -Wconversion

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 29 15:20:39 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.38: +2 -6 lines
Diff to previous 1.38 (colored) to selected 1.1.1.1 (colored)

kill ifdef notdef

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jul 29 15:16:33 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.37: +30 -30 lines
Diff to previous 1.37 (colored) to selected 1.1.1.1 (colored)

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

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 28 01:56:27 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored) to selected 1.1.1.1 (colored)

Rename key to keymacro to avoid conflicts with term.h. The renaming of term
to terminal was again to avoid conflicts with term.h. term.h is a moving
namespace violation.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 28 00:45:50 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.1.1.1 (colored)

term -> terminal

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:00 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.33: +10 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.1.1.1 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 28 03:41:52 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored) to selected 1.1.1.1 (colored)

fix pasto

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 27 23:11:40 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.33: +11 -2 lines
Diff to previous 1.33 (colored) to selected 1.1.1.1 (colored)

don't turn on editing if stdout is not a tty.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 18 21:17:22 2010 UTC (14 years ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored) to selected 1.1.1.1 (colored)

ffs needs strings.h

Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 30 22:37:40 2009 UTC (14 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.31: +25 -24 lines
Diff to previous 1.31 (colored) to selected 1.1.1.1 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 22 15:58:09 2009 UTC (14 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored) to selected 1.1.1.1 (colored)

Don't depend on side effects inside an assert
From Michael Cook mcook at bbn dot com

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:29 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.1.1.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.30 / (download) - annotate - [select for diffs], Mon Feb 16 00:15:45 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.1.1.1 (colored)

fix sign compare issues.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 15 21:55:23 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) to selected 1.1.1.1 (colored)

pass lint on _LP64.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 6 19:53:23 2009 UTC (15 years, 2 months ago) by sketch
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored) to selected 1.1.1.1 (colored)

Needs errno.h

Revision 1.25.20.2 / (download) - annotate - [select for diffs], Wed Sep 24 16:35:09 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.25.20.1: +13 -2 lines
Diff to previous 1.25.20.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.1.1.1 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.25.20.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:23 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.25: +32 -10 lines
Diff to previous 1.25 (colored) to selected 1.1.1.1 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 10 15:45:37 2008 UTC (15 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Changes since 1.26: +13 -2 lines
Diff to previous 1.26 (colored) to selected 1.1.1.1 (colored)

Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
using multiple EditLine objects. Mostly from Preston A. Elder.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jul 30 13:00:46 2008 UTC (15 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.25: +32 -10 lines
Diff to previous 1.25 (colored) to selected 1.1.1.1 (colored)

handle EINTR in the termios operations, reported by the GHC folks

Revision 1.25 / (download) - annotate - [select for diffs], Sat Mar 18 09:09:41 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-revivesa
Changes since 1.24: +6 -3 lines
Diff to previous 1.24 (colored) to selected 1.1.1.1 (colored)

Coverity CID 597: remove dead code.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 18 09:07:05 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.23: +10 -6 lines
Diff to previous 1.23 (colored) to selected 1.1.1.1 (colored)

Coverity CID 1216: Prevent negative index use.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 1 11:37:52 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.1.1.1 (colored)

Don't use non-standard uint or u_int.

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 29 03:55:37 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.21: +7 -7 lines
Diff to previous 1.21 (colored) to selected 1.1.1.1 (colored)

PR/25694: Luke Mewburn: Don't abuse unconstify'ing a string and writing to
it, because you'll core dump. Also remove extra const that gives pain to
the irix compiler.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 13 12:10:39 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.1.1.1 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 18 22:37:24 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored) to selected 1.1.1.1 (colored)

remove debugging printf.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 18 22:24:34 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.18: +131 -3 lines
Diff to previous 1.18 (colored) to selected 1.1.1.1 (colored)

Allow setty to set chars using char=value

Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:34 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.17: +3 -7 lines
Diff to previous 1.17 (colored) to selected 1.1.1.1 (colored)

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

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

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 19 15:55:06 2003 UTC (20 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.1.1.1 (colored)

From michael@moria.de:
- use __attribute__((__unused__)) in arguments where appropriate.
- some int -> size_t and char * to const char * conversions.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 18 16:01:01 2002 UTC (22 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.15: +8 -9 lines
Diff to previous 1.15 (colored) to selected 1.1.1.1 (colored)

- 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.

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 17 01:02:17 2001 UTC (22 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.14: +11 -11 lines
Diff to previous 1.14 (colored) to selected 1.1.1.1 (colored)

PR/12963:Jason Waterman: Fix signed cast problems.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 9 17:31:04 2001 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.13: +11 -10 lines
Diff to previous 1.13 (colored) to selected 1.1.1.1 (colored)

make constant arrays a const

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 4 22:06:33 2000 UTC (23 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.12: +963 -944 lines
Diff to previous 1.12 (colored) to selected 1.1.1.1 (colored)

convert to new style guide, which includes:
- ansi prototypes & features (such as stdargs)
- 8 space indents

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 2 01:01:56 1999 UTC (24 years, 8 months ago) by sommerfeld
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.11: +12 -2 lines
Diff to previous 1.11 (colored) to selected 1.1.1.1 (colored)

Fix PR7685 (gdb under emacs prints spurious ^M and messes up terminal)
plus a few bogons noted along the way:
	1) Set EDIT_DISABLED if terminal type is emacs.
	2) fix bug in NO_TTY mode which caused it to not notice CR or LF
	3) implement EDIT_DISABLED within libedit to be somewhat like NO_TTY,
		except that a prompt is printed first.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 2 15:21:27 1999 UTC (24 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.10: +43 -43 lines
Diff to previous 1.10 (colored) to selected 1.1.1.1 (colored)

More trailing white space.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 7 14:34:05 1999 UTC (25 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) to selected 1.1.1.1 (colored)

PR/6957: Wolfgang Helbig:  libedit swaps CR and LF control chars.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 27 18:04:12 1998 UTC (25 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored) to selected 1.1.1.1 (colored)

Obey incoming tty char settings.

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 20 01:04:56 1998 UTC (25 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.7: +140 -140 lines
Diff to previous 1.7 (colored) to selected 1.1.1.1 (colored)

change M_* constants to MD_* to avoid clashes with <stream.h>

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 30 01:30:14 1998 UTC (26 years ago) by mrg
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored) to selected 1.1.1.1 (colored)

use int rather than char as an array index.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 20 08:07:56 1997 UTC (26 years, 6 months ago) by scottr
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +5 -2 lines
Diff to previous 1.5 (colored) to selected 1.1.1.1 (colored)

Add support for DTR/CTS flow control, from Bill Studenmund.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 9 19:16:04 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.4: +3 -5 lines
Diff to previous 1.4 (colored) to selected 1.1.1.1 (colored)

PR/4211: Dave Huang: don't lose VSTATUS and VEOL and any other characters that
are VDISABLED by default.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 6 18:25:38 1997 UTC (26 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) to selected 1.1.1.1 (colored)

Fix compiler warnings.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 11 17:52:49 1997 UTC (27 years ago) by christos
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.1.1.1 (colored)

Portability fixes:
__const		-> const
BADSIG		-> SIG_ERR
int flags	-> u_int flags
#if __STDC__	-> #ifdef __STDC__

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 11 06:48:17 1997 UTC (27 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1 (colored) to selected 1.1.1.1 (colored)

RCSid police
editline first appeared in 4.4BSD not NetBSD1.0

Revision 1.1.1.1 / (download) - annotate - [selected] (vendor branch), Fri May 6 06:01:42 1994 UTC (29 years, 11 months ago) by cgd
Branch: CSRG
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0, lite-2, lite-1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

libedit!

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 6 06:01:41 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Diff to selected 1.1.1.1 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>