OpenBSD CVS

CVS log for src/usr.bin/mg/line.c


[BACK] Up to [local] / src / usr.bin / mg

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 1 10:51:14 2021 UTC (3 years, 2 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Put the hardcoded '\n' character which is found throughout mg into a
buffer specific variable. The diff should not produce any behavourial
changes in mg.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jul 22 13:22:53 2020 UTC (3 years, 9 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored)

Prevent mg segfault with query-replace-regex replacing ^

Patch from Mark Willson with a minor tweak

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 29 07:50:16 2018 UTC (5 years, 8 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.60: +24 -6 lines
Diff to previous 1.60 (colored)

Add set-case-replaced to toggle case-preserving replace on or off.

By default, replacing "foo" with "bar" turns "FOO" into "BAR".
With case-replace turned off, "FOO" will turn into "bar".

OK florian@ tb@

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jul 12 12:38:56 2018 UTC (5 years, 10 months ago) by florian
Branch: MAIN
Changes since 1.59: +52 -4 lines
Diff to previous 1.59 (colored)

Use (mostly) the same capitalisation in the replacement string as in
the replaced string:

replacing foo with bar turns

foo
Foo
FOO

into

bar
Bar
BAR

OK phessler, benno

Revision 1.59 / (download) - annotate - [select for diffs], Sat Sep 9 13:10:28 2017 UTC (6 years, 8 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.58: +5 -3 lines
Diff to previous 1.58 (colored)

When inserting a newline, only increment dotline for windows that are
displaying the same buffer as the current one.
From Martin Wanvik (martin.kr.wanvik AT gmail), thanks!
OK bcallah

Revision 1.58 / (download) - annotate - [select for diffs], Fri Dec 11 20:21:23 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored)

Remove NULL-checks before free().

Revision 1.57 / (download) - annotate - [select for diffs], Tue Sep 29 02:07:49 2015 UTC (8 years, 7 months ago) by guenther
Branch: MAIN
Changes since 1.56: +1 -3 lines
Diff to previous 1.56 (colored)

Mark eread(), veread(), and eformat() as printf-like and
Convert eread(buf, a2, a3, a4) to eread("%s", a2, a3, a4, buf)

ok millert@ lum@

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jun 3 23:40:01 2015 UTC (8 years, 11 months ago) by bcallah
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.55: +1 -95 lines
Diff to previous 1.55 (colored)

Remove unused defines and functions.
"Looks fine." deraadt@

Revision 1.55 / (download) - annotate - [select for diffs], Thu Mar 19 21:22:15 2015 UTC (9 years, 2 months ago) by bcallah
Branch: MAIN
Changes since 1.54: +6 -3 lines
Diff to previous 1.54 (colored)

Clean up the includes in mg.
This does the following:
Moves all POSIX headers from sysdef.h into the individual .c files so that
each file now only includes what it needs. All headers are properly sorted.
Moves the remainder of sysdef.h to other files (mostly def.h) and deletes
sysdef.h now that it's no longer contains anything.
Tweak a comment that references sysdef.h so that it no longer does that.
ok florian@

Revision 1.54 / (download) - annotate - [select for diffs], Sun Nov 16 04:16:41 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored)

Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),
and pull in <limits.h> for *_MAX constants.

inspired on a diff from Kamil Rytarowski (n54 (at) gmx.com)
ok bcallah@

Revision 1.53 / (download) - annotate - [select for diffs], Thu Mar 20 07:47:29 2014 UTC (10 years, 2 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.52: +8 -1 lines
Diff to previous 1.52 (colored)

Add some missing dobeeps.
ok florian@

Revision 1.52 / (download) - annotate - [select for diffs], Mon Dec 23 21:47:32 2013 UTC (10 years, 4 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.51: +11 -5 lines
Diff to previous 1.51 (colored)

Fix two dotline bugs for the price of one.
1) When answering "No newline at end of file, add one?" with y and
   dot is not at the end of buffer dotline is off by one
2) When displaying the same buffer in two windows, dot in the
   second window is below dot in the first and a newline is entered in
   the first window dotline is not updated in the second.

OK lum

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jun 1 10:17:01 2013 UTC (10 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.50: +2 -3 lines
Diff to previous 1.50 (colored)

The k*() functions were moved to yank.c in 2005. Update the comment to
reflect this.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jan 18 16:28:00 2011 UTC (13 years, 4 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Obvious error on my part.
test len against INT_MAX, not SIZE_MAX. 'looks good' jasper@

Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 12 16:37:14 2009 UTC (14 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.48: +12 -9 lines
Diff to previous 1.48 (colored)

fix memory leak found by parfait; ok jsg@

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jun 5 18:02:06 2009 UTC (14 years, 11 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

emacs handles the undo of a region kill (C-w) differently than a line kill
(C-k) with respect to cursor position. The former leaves the cursor at the end,
the latter at the beginning of the region.

emacs is wacky.

Make mg undo do the same. ok deraadt

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 4 02:23:37 2009 UTC (14 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Rename w_flag to w_rflag. This is not a general purpose
flag: it is for redisplay options only. I need an additional all-purpose
flag, so renaming removes the desire to wrongly overload the existing one.

Turdshine. No functional chage.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 15 16:13:35 2008 UTC (15 years, 8 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.45: +7 -9 lines
Diff to previous 1.45 (colored)

Expose the undo commands as proper mg functions.
This should have no functional change on undo, but it does facilitate
testing undo behavior.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 15 16:11:35 2008 UTC (15 years, 8 months ago) by kjell
Branch: MAIN
Changes since 1.44: +22 -2 lines
Diff to previous 1.44 (colored)

Enable dirty buffer detection in mg.
Emulate the emacs behavior: after suspend/resume, buffer switch,
or at save time, warn (prompt) the user if the file has been modified
on disk in the interim.
This has already saved my butt numerous times.
ok phessler

Revision 1.44 / (download) - annotate - [select for diffs], Sun Dec 24 01:20:53 2006 UTC (17 years, 4 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.43: +22 -4 lines
Diff to previous 1.43 (colored)

Fix a bug where inserting a file resulted in an incorrect
line-number count for a buffer (M-X insert-file, M-> to reproduce).
While here, fix a number of bugs with incorrect line numbers
after swap point-and-mark

Originally reported via debian's bug tracking system. Fix tested by
Han Boetes and Deanna Phillips.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Nov 17 08:45:31 2006 UTC (17 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Fix a needless inversion of flag names; i.e. change them from the
negative to the positive. undo_boundary_enable(TRUE) makes a LOT more
sense than undo_no_boundary(FALSE).
While here, whack a global, and fix a bug noted by otto:
undoing a file insertion sometimes left stray characters around.
ok beck@, otto@

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 25 08:27:09 2006 UTC (17 years, 9 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

Add bfirstlp(), blastlp() macros, returning the first and last lines
of a buffer respectively. Removes an ugly construction than necessitated
"go to first line"-type comments throughout the code.
No binary change

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jul 25 08:22:32 2006 UTC (17 years, 9 months ago) by kjell
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

Rename the header line of a buffer to b_headp, from the remarkably
unintuitive b_linep. No binary change.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 1 09:00:50 2006 UTC (17 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.39: +6 -2 lines
Diff to previous 1.39 (colored)

Display line number in the mg statusbar.  Yes, it seems like a fugly
way to do it, but all the clever and pretty ways utterly failed.
Basic use seems fine. We'll turdshine the special cases later.

If it bothers you, use M-x line-number-mode, or put same in your ~/.mg
file to disable.

ok cloder, jason

Revision 1.39 / (download) - annotate - [select for diffs], Sun May 28 23:30:16 2006 UTC (17 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

Make Window Flags more mnemonic (and less dumb); i.e.
WFHARD -> WFFULL (Redraw full window)
WFFORCE -> WFFRAME (Reframe window).
No binary change

Revision 1.38 / (download) - annotate - [select for diffs], Sat May 27 21:20:11 2006 UTC (17 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.37: +23 -1 lines
Diff to previous 1.37 (colored)

Move mg "line to c-string" functionality to a function.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Dec 20 06:17:36 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Clean up the ugly casted frees. In one case, this meant eliminating a nasty
struct/union/casting nightmare when building the list of names for filename
completion. In particular, be consistent about strduping and freeing
the list data.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 20 05:04:28 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.35: +13 -12 lines
Diff to previous 1.35 (colored)

Do some delinting of strl-type functions. Also, remove a superfluous
word in the undo-list.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Dec 20 04:58:10 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.34: +11 -14 lines
Diff to previous 1.34 (colored)

Fix broken "Undo of undo" when line is empty. Noticed by theo.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Dec 13 05:40:33 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

do some silly de-linting

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 22 05:02:44 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.32: +1 -133 lines
Diff to previous 1.32 (colored)

Move kill-related commands to their own file.
This will help move to a kill-ring.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Nov 22 04:38:57 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.31: +22 -5 lines
Diff to previous 1.31 (colored)

Fix backwards insert into kill buffer (aaa \n bbb M-BS M-BS c-Y) by
batching string before prepending.
ok cloder, (grudgingly) beck

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 21 19:47:23 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +1 -9 lines
Diff to previous 1.30 (colored)

kill kill kill unused stuff; ok kjell

Revision 1.30 / (download) - annotate - [select for diffs], Sun Nov 20 03:24:17 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

toast NO_DIRED #ifdef; ok kjell

Revision 1.29 / (download) - annotate - [select for diffs], Fri Nov 18 23:37:31 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.28: +35 -22 lines
Diff to previous 1.28 (colored)

Split kill buffer code into a separate function.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 18 20:56:53 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +21 -21 lines
Diff to previous 1.27 (colored)

greedy use of typedef struct was making code harder to read; ok kjell cloder

Revision 1.27 / (download) - annotate - [select for diffs], Fri Nov 18 17:35:17 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Casefold on replace was killed ages ago (it was wrong). Remove a
leftover (unused) variable.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 18 17:19:51 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 (colored)

Kill a stupid interface. kgrow should take direction, not TRUE/FALSE.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 13 20:28:49 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

spacing

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 6 16:48:00 2005 UTC (18 years, 7 months ago) by kjell
Branch: MAIN
Changes since 1.23: +24 -73 lines
Diff to previous 1.23 (colored)

Make mg undo much more emacs like (and correct).
Undo boundaries are now placed at newlines, and undo
of search-replace works as expected. Fixes bad behaviour
reported by matthieu

Ok deraadt@, beck@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jun 14 18:14:40 2005 UTC (18 years, 11 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Add explicit public domain notices to all public domain files.
ok millert@, deraadt@

Revision 1.22 / (download) - annotate - [select for diffs], Sun Apr 3 02:09:28 2005 UTC (19 years, 1 month ago) by db
Branch: MAIN
Changes since 1.21: +48 -52 lines
Diff to previous 1.21 (colored)

This is a no binary change which does:

- spelling, punctuation fixes
- variable declaration lineup
- use parentheses for return and sizeof
- K&R function declarations -> ANSI
- other minor code beautification

ok henning@

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 9 13:50:40 2004 UTC (19 years, 10 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.20: +21 -22 lines
Diff to previous 1.20 (colored)

when saving a file, check whether it is newline terminated and if it is not,
prompt the user and add the newline if he agrees.

tested by a lot of helpful tech@ guys, approved by henning

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 27 23:43:37 2004 UTC (20 years, 3 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.19: +98 -4 lines
Diff to previous 1.19 (colored)

make mail-mode more intelligent on middle-of-line insertions, and add a
comment to change the wrapping column. (mail-set-margin)

tested by henning and phessler, thanks!

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 9 01:11:14 2003 UTC (20 years, 6 months ago) by vincent
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

remove the only use of the hackish undo_add_custom function.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 16 02:38:18 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.17: +8 -6 lines
Diff to previous 1.17 (colored)

lalloc() - return NULL on error, not FALSE
lrealloc() - don't realloc if new size <= old size.  Avoids a realloc(p, 0)
vincent@ OK

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 1 14:33:44 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.16: +3 -4 lines
Diff to previous 1.16 (colored)

KNF + ansi; from zyrnix (only the easy part of his diffs)

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 18 01:45:54 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.15: +9 -13 lines
Diff to previous 1.15 (colored)

 Enter the new undo code.  it is still disabled since it has bugs, but it's
somewhat more useful....

 ok millert@ + no objections on ICB

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 16 04:17:36 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
Changes since 1.14: +37 -21 lines
Diff to previous 1.14 (colored)

 add readonly buffer support
 plus some KNF

 ok art@

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 21 04:21:05 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.13: +8 -1 lines
Diff to previous 1.13 (colored)

 Save undo records for newline insertions.

 That makes mg behave more like GNU emacs.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 20 22:30:54 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.12: +13 -6 lines
Diff to previous 1.12 (colored)

 Add undo code to mg.

 needs further hacking.

 ok `whole bunch of people on icb'@

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:49 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 14 14:24:21 2002 UTC (22 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +8 -8 lines
Diff to previous 1.10 (colored)

some KNF

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 14 03:15:04 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

 Oups, my chartypes commit broke this.

 Use mg specific _MG_U/_MG_L chartypes instead of systemwide ones.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 13 22:36:58 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.8: +46 -79 lines
Diff to previous 1.8 (colored)

 Make mg malloc the l_text element instead of reallocating whole LINE
 structures all the time.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 24 03:05:23 2001 UTC (23 years ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.7: +48 -48 lines
Diff to previous 1.7 (colored)

spaces

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 23 22:36:14 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Get rid of unnecessary casts of NULL.

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 23 22:20:35 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.5: +10 -10 lines
Diff to previous 1.5 (colored)

remove VOID. We're way beyond the point where this could build with an
ancient compiler.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 29 01:58:08 2001 UTC (23 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.4: +2 -0 lines
Diff to previous 1.4 (colored)

$OpenBSD$

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 1 14:59:09 2000 UTC (23 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.3: +202 -190 lines
Diff to previous 1.3 (colored)

More -Wall anmd KNF, from op2@tomahawk.SQUiSH.org

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 13 06:12:15 2000 UTC (24 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.2: +177 -153 lines
Diff to previous 1.2 (colored)

The start of KNF + -Wall.  The code has been run through indent but
needs hand fixup.  I stopped at keymap.c...

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 26 22:53:16 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)

change WINDOW -> MGWIN to avoid curses type conflict
convert to terminfo in tty*.c
add support for some keypad function keys (arrows, pgup, pgdown)

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 25 19:08:48 2000 UTC (24 years, 2 months ago) by deraadt
Branch: MAIN

initial import of mg2a

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.