OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.54 / (download) - annotate - [select for diffs], Fri Apr 21 13:39:36 2023 UTC (12 months, 4 weeks ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.53: +2 -3 lines
Diff to previous 1.53 (colored)

mg: allow to change the tab width

This makes the tab width customizable per-buffer.  The new function
`set-tab-width' changes it for the current buffer or the default value
for new buffers if called with a prefix argument (or from the startup
file.)

The default tab width is still 8 column.

Together with the newly resurrected no-tab-mode, allows to use mg for a
variety of programming languages and coding styles.

Note that it's not possible to call set-tab-width with auto-execute in
the startup file due to limitations in how auto-execute and the parser
work.

ok tb@

Revision 1.53 / (download) - annotate - [select for diffs], Mon Apr 17 09:49:04 2023 UTC (13 months ago) by op
Branch: MAIN
Changes since 1.52: +2 -7 lines
Diff to previous 1.52 (colored)

resurrect mg' no-tab-mode

It's a mode that makes mg insert spaces up to the next tab stop upon
pressing TAB, along with the various tweaks needed in other places so
for e.g. auto-indent-mode also uses spaces.

This is not just an unifdef NOTAB: even under no-tab-mode mg should
consider literal TAB characters wide up to the next tab stop, while the
hidden code considered hard tabs to be just control character (i.e. ^I)
with width of two columns.  I'm also introducing the helper function
doindent() in utils.c to de-obfuscate the insertion of tabs/spaces until
the given column.

ok tb@

Revision 1.52 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:11 2023 UTC (14 months, 1 week ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.51: +1 -13 lines
Diff to previous 1.51 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.51 / (download) - annotate - [select for diffs], Tue May 24 16:42:19 2022 UTC (23 months, 3 weeks ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

fix some dobeep_msgs calls

dobeep_msgs isn't printf-like: it just prints the two arguments
separated by a space.  When it was introduced, some calls from ewprintf
were incorrectly translated and the "%s" remained.

ok florian@

Revision 1.50 / (download) - annotate - [select for diffs], Sat Feb 27 13:24:52 2021 UTC (3 years, 2 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.49: +26 -47 lines
Diff to previous 1.49 (colored)

Add dobeep functions that take messages to basic.c.
No functional change intended.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jun 17 11:39:26 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.48: +5 -3 lines
Diff to previous 1.48 (colored)

From Leonid Bobrov: add a condition to {beginning,end}-of-buffer to
push mark only if it's not pushed already.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 3 16:26:30 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.47: +25 -8 lines
Diff to previous 1.47 (colored)

This diff gives the commands beginning-of-buffer and end-of-buffer the
ability to take a numeric argument and move n/10th of the way from the
top or bottom of the current buffer respectively. A universal argument
of higher than 9 puts the cursor back to the end/start of buffer.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 10 09:13:14 2015 UTC (8 years, 7 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.46: +7 -1 lines
Diff to previous 1.46 (colored)

Make functions that accept multiple iterations via C-u N, honour 0.
Except C-k which has a defined behaviour. In mg, C-t doesn't complete
n iterations if requested, but probably should, hence it has been
included in this diff.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Sep 26 21:51:58 2015 UTC (8 years, 7 months ago) by jasper
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

whitespace

Revision 1.45 / (download) - annotate - [select for diffs], Tue Mar 24 22:34:39 2015 UTC (9 years, 1 month ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

When exiting the loop early don't forget to clean up.

This fixes a segfault reported by and tracked down by Kaspars
Bankovskis kaspars at bankovskis dot net, thanks!
OK bcallah@

Revision 1.44 / (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.43: +7 -2 lines
Diff to previous 1.43 (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.43 / (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.42: +2 -1 lines
Diff to previous 1.42 (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.42 / (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.41: +4 -1 lines
Diff to previous 1.41 (colored)

Add some missing dobeeps.
ok florian@

Revision 1.41 / (download) - annotate - [select for diffs], Fri May 31 18:19:19 2013 UTC (10 years, 11 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.40: +22 -2 lines
Diff to previous 1.40 (colored)

Also inform the user about beginning / end of buffer in previous-line
and next-line.
ok lum@

Revision 1.40 / (download) - annotate - [select for diffs], Fri May 31 18:03:43 2013 UTC (10 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.39: +9 -5 lines
Diff to previous 1.39 (colored)

Make the system bell toggleable via 'audible-bell', and if switched
off, make available an alternative 'visible-bell'.

ok florian@ jasper@ Feedback Sunil Nimmagadda.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 25 11:41:44 2013 UTC (11 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Display the window's column number in mode line not the
column number of the active window.
OK jasper@

Revision 1.38 / (download) - annotate - [select for diffs], Fri Oct 12 21:13:46 2012 UTC (11 years, 7 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.37: +12 -2 lines
Diff to previous 1.37 (colored)

- implement "revert-buffer", which reverts the current buffer to what's on disk
- split gotoline() into the argument handling part and the part that actually
  goes to the specified line number so it can be re-used by revertbuffer()

input/ok florian@ haesbaert@

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jun 18 09:26:03 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.36: +17 -4 lines
Diff to previous 1.36 (colored)

When using M-> Place cursor at the bottom of the window (minus 3
lines) like emacs, instead of middle of page.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 8 21:21:57 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

From an email to tech@:

Bit difficult to explain this one. If you have a file open that is 3
or 4 times longer than the length of the viewable window and are at
the bottom of the buffer then scroll up to the top using M-v, your
cursor should remain at the bottom left of the window once you reach
the top of the buffer.

mg behaves like this since the last couple of scrolling diffs I've
committed. However, and as an example, if you start with the window
viewing the top of a buffer and press C-v twice, then C-p four times
then M-v twice to scroll back to the top, you will find your cursor is
NOT at the bottom left of the window. tut tut. This diff makes the
cursor stay at the bottom left, like emacs.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 8 05:10:50 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Fix bug where line-number counter would go a bit hay-wire when paging
up with only 1 line of the buffer visible.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 1 11:22:06 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.33: +9 -2 lines
Diff to previous 1.33 (colored)

While scrolling, show a message and beep when you reach either end of
a buffer.

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 31 10:55:53 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.32: +10 -4 lines
Diff to previous 1.32 (colored)

Currently, mg's cursor jumps from top to bottom of the screen as you
scroll upwards, make the cursor behave like emacs and stay at bottom
of window. Tested by mikeb@.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 30 06:13:32 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Reverse part of v1.131.  The end of buffer can still be reached so I
shouldn't have taken out the second check. Hopefully fix unpredicable
scrolling behaviour seen by mikeb@.

Revision 1.31 / (download) - annotate - [select for diffs], Fri May 25 15:14:38 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.30: +9 -5 lines
Diff to previous 1.30 (colored)

When paging down a buffer (C-v) stop earlier before having the last
line as the top line in the window. This emulates emacs behaviour.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 4 02:23:37 2009 UTC (14 years, 11 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.29: +12 -12 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Tue Jun 10 23:23:52 2008 UTC (15 years, 11 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.28: +16 -1 lines
Diff to previous 1.28 (colored)

Add a clear-mark function.
Use it to clear the region it is copied (M-w), or yanked (C-w).
This matches xemacs behavior, is not horribly different from gnu
emacs, and way less wrong than the current behavior.
Noticed by Han Boetes. ok otto@

Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 20 21:21:09 2006 UTC (17 years, 5 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.27: +1 -9 lines
Diff to previous 1.27 (colored)

Get rid of CVMVAS define. Originally to change pgforw/back parameter
from pages to lines. We don't use it.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 18 20:36:50 2006 UTC (17 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.26: +11 -5 lines
Diff to previous 1.26 (colored)

Due to a thinko on my part, (and a badly named structure member),
line numbers were horribly broken with pgup, pgdn.
From peter de wachter, via debian bug#391827

Revision 1.26 / (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.25: +3 -3 lines
Diff to previous 1.25 (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.25 / (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.24: +16 -16 lines
Diff to previous 1.24 (colored)

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

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jun 1 09:45:05 2006 UTC (17 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.23: +6 -5 lines
Diff to previous 1.23 (colored)

Fix message on empty goto-line. While here, lose a strlen and KNF.

Revision 1.23 / (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.22: +47 -37 lines
Diff to previous 1.22 (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.22 / (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.21: +7 -7 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Fri Nov 18 20:56:52 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.20: +10 -10 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 9 00:53:48 2005 UTC (18 years, 9 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.19: +3 -5 lines
Diff to previous 1.19 (colored)

Clean up eread handling in mg. (basically, fallout from the 'enter often
means abort' behaviour added during the hackathon). Eliminates
redundant ereply function, fixes miscellaneous cores when aborting,
and move a number of assumed pathnames into the prompt text, since
they are used there anyway. All changes consistent with emacs behavior

ok beck@ many, many moons ago.

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

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

Revision 1.18 / (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.17: +33 -37 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Thu Mar 10 16:58:57 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

spacing

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jul 22 01:25:24 2004 UTC (19 years, 10 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.15: +8 -7 lines
Diff to previous 1.15 (colored)

stage 1 of the infinite minibuffer work - add support for on the fly
buffer reallocation in veread().  This commit only changes the API.
All the buffers have exactly the same bounds as before for now.

tested by a couple of my very helpful testers!

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 19 21:20:47 2003 UTC (20 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

do not += snprintf; andrushock@korovino.net

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 16 19:28:59 2003 UTC (21 years ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.13: +23 -26 lines
Diff to previous 1.13 (colored)

fix the goal calculation routine so moving up and down moves to the right
column.

ok jason

Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 11 13:08:51 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

 remove errno=0 assignments, we don't need these with Hakan's code

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 11 13:02:56 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
Changes since 1.11: +20 -39 lines
Diff to previous 1.11 (colored)

  * Move to ANSI function definitions.
  * Add a whole lot of consts where I thought it made sense

   no ok, but no objections either...

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 10 13:22:56 2002 UTC (22 years, 2 months ago) by ho
Branch: MAIN
Changes since 1.10: +6 -7 lines
Diff to previous 1.10 (colored)

Better long vs int. millert@ ok.

Revision 1.10 / (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.9: +2 -2 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Thu Feb 14 22:50:43 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.8: +14 -2 lines
Diff to previous 1.8 (colored)

 use strtol instead of atoi to get range checking, etc

Revision 1.8 / (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.7: +2 -2 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 8 21:21:11 2002 UTC (22 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

more gosmacs

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 23 22:20:34 2001 UTC (23 years ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
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 Feb 12 21:51:55 2001 UTC (23 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

goto-line 0 should go to the beginning of the file, not the end;
smart@monkey.org

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

$OpenBSD$

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 13 06:12:13 2000 UTC (24 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.2: +154 -111 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: +1 -1 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:46 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.