OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.61 / (download) - annotate - [select for diffs], Mon Apr 17 09:49:04 2023 UTC (13 months 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.60: +1 -5 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Thu Oct 20 18:59:24 2022 UTC (18 months, 4 weeks ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

add zap-to-char and zap-up-to-char; bind zap-to-char to M-z.

ok florian@

Revision 1.59 / (download) - annotate - [select for diffs], Tue Apr 20 10:02:50 2021 UTC (3 years ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.58: +5 -3 lines
Diff to previous 1.58 (colored)

Add 'dired-jump' from Philip K. <philip@warpmail.net> sent to tech@
over a year ago. Comments and testing from gkoehler@. Thanks to both.
Also, some modifications from me.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Dec 29 19:44:32 2015 UTC (8 years, 4 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, 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, 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.57: +2 -2 lines
Diff to previous 1.57 (colored)

Add transpose-words, ok jasper@.
Limited to one iteration until 'undo' is looked into.

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

whitespace

Revision 1.56 / (download) - annotate - [select for diffs], Thu Sep 24 07:07:59 2015 UTC (8 years, 7 months ago) by lum
Branch: MAIN
Changes since 1.55: +5 -3 lines
Diff to previous 1.55 (colored)

Add mark-paragraph. ok jasper@

Revision 1.55 / (download) - annotate - [select for diffs], Thu Mar 19 21:48:05 2015 UTC (9 years, 2 months ago) by bcallah
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.54: +26 -33 lines
Diff to previous 1.54 (colored)

More unifdef cleanup:
-UDIRED_XMAPS and -UFUND_XMAPS: you can't build mg the other way.
-DTIOCGWINSZ: you have this if you have term.h
Remove a #define TERMCAP which isn't being used.

Remove defines for NDIRED_XMAPS, NFUND_XMAPS, and IMAPEXT. They are all
defined to be 0 and are only ever used in addition. We don't need to add 0.
Simply lines that were using those defines.
ok florian@

Revision 1.54 / (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.53: +7 -1 lines
Diff to previous 1.53 (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.53 / (download) - annotate - [select for diffs], Mon Mar 16 13:47:48 2015 UTC (9 years, 2 months ago) by bcallah
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Change the internal name of the newline function to deconflict with a
function of the same name in term.h. This is the first step towards
cleaning up mg's includes. No user-visible changes.
ok florian@

Revision 1.52 / (download) - annotate - [select for diffs], Thu Aug 14 12:22:58 2014 UTC (9 years, 9 months ago) by bcallah
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.51: +11 -5 lines
Diff to previous 1.51 (colored)

Add bounce matching for [] and {} like mg already does with () and like
Emacs does.
ok florian@

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 22 19:23:45 2013 UTC (10 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.50: +5 -4 lines
Diff to previous 1.50 (colored)

Shuffle shell-command-on-region around to give shell-command.
ok florian@ jasper@
Testing Sunil Nimmagadda

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 7 15:15:04 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.49: +41 -3 lines
Diff to previous 1.49 (colored)

Add some cscope support to mg. From Sunil Nimmagadda.  Due to some
structural limitations in mg, mg doesn't behave exactly the same as
emacs cscope (see the README) but is still very usable.

man page bits reviewed by jmc@, otherwise tested and reviewed by
myself.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Apr 12 04:47:59 2012 UTC (12 years, 1 month ago) by lum
Branch: MAIN
Changes since 1.48: +1 -15 lines
Diff to previous 1.48 (colored)

Remove the conditional directives NO_MACRO and NO_STARTUP.
They have not compiled for numerous years.
ok kjell@ millert@

Revision 1.48 / (download) - annotate - [select for diffs], Wed Apr 11 17:51:10 2012 UTC (12 years, 1 month ago) by lum
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Add:
 1. C-x h to mark whole buffer.
 2. M-| to pipe current region to external command.
From Sunil Nimmagadda.

Feedback from deraadt@ and myself. ok for man page amendments from jmc@

Revision 1.47 / (download) - annotate - [select for diffs], Wed Mar 14 13:56:35 2012 UTC (12 years, 2 months ago) by lum
Branch: MAIN
Changes since 1.46: +1 -15 lines
Diff to previous 1.46 (colored)

Remove the NO_HELP conditional directives. If defined, mg will not compile and
has not done so for numerous years. Not hard to fix, but just remove anyway.
ok kjell@ millert@

Revision 1.46 / (download) - annotate - [select for diffs], Mon Nov 28 04:41:39 2011 UTC (12 years, 5 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.45: +6 -3 lines
Diff to previous 1.45 (colored)

Add some ctags support to mg. From Sunil Nimmagadda.

Man page review and suggestions from jmc@

Revewied and tested by myself, and ok deraadt@

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 18 16:25:40 2011 UTC (13 years, 4 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Add join-line, bound to M-^
Join the current line to the previous.

original diff by Henri Kemppainen. minor mod to add undo boundaries.
Thanks!

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 17 03:12:06 2011 UTC (13 years, 4 months ago) by kjell
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Add back-to-indentation. (M-m)
Move the dot to the first non-whitespace character on the current line.
from Henri Kemppainen . ok theo

Revision 1.43 / (download) - annotate - [select for diffs], Wed Aug 27 04:11:52 2008 UTC (15 years, 8 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.42: +26 -7 lines
Diff to previous 1.42 (colored)

add a C-c target, so we can use it as a prefix for keybindings.
Now you can do something like:
  global-set-key "\^c\^c" compile
in your ~/.mg

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jun 14 08:46:30 2008 UTC (15 years, 11 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.41: +29 -22 lines
Diff to previous 1.41 (colored)

We do not need a whole MODE for blinking one character.

both emacsen automatically blink, so mg should too. This can be
overridden in your ~/.mg by adding, e.g.

global-set-key ")" self-insert-command

So, I've eliminated blink mode, and renamed "blink-matching-paren-hack"
to "blink-and-insert". It's not just for parens anyway.

While I'm here, set up an empty (rescan) target for backtab, so I can
bind something convenient to it; e.g.

global-set-key "\e[Z" backward-char

Finally, remove all references to Scribd.
Theo doesn't hate this, though I would hesitate to call it an ok.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jun 12 21:13:20 2008 UTC (15 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.40: +2 -4 lines
Diff to previous 1.40 (colored)

Whitespace

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jun 11 23:18:33 2008 UTC (15 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Add delete-leading-space, delete-trailing-space,
indent-current-line utility functions for stripping leading/trailing
whitespace, and setting a fixed indent respectively.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Aug 18 00:22:56 2006 UTC (17 years, 9 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, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.38: +11 -7 lines
Diff to previous 1.38 (colored)

Move  backward-paragraph, forward-paragraph to M-{, M-} respectively.
(not M-[, M-]). This is where emacs has it.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 27 19:59:29 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.37: +1 -12 lines
Diff to previous 1.37 (colored)

unused function

Revision 1.37 / (download) - annotate - [select for diffs], Fri Nov 18 20:56:53 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.36: +11 -10 lines
Diff to previous 1.36 (colored)

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

Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 7 23:32:20 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.35: +1 -5 lines
Diff to previous 1.35 (colored)

Move most of the dired hooks into dired.c.  While here, enable some
dired functions that were written, but not bound to keys. No other
functional change.

Tested by Han Boetes.

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

spacing

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 13 06:20:25 2005 UTC (18 years, 7 months ago) by kjell
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

add the (emacs) toggle-readonly keybinding (C-x C-q).
Also, remove a silly non-emacsism.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 13 05:47:45 2005 UTC (18 years, 7 months ago) by kjell
Branch: MAIN
Changes since 1.32: +10 -112 lines
Diff to previous 1.32 (colored)

Fix dired mode. Make deletions work, and keystrokes match emacs.
* dired-other-window should default to current buffer's path.
* Remove redundant code (from Han Boetes)
* Move initialization (and since we're here, fix mail-mode initialization
  too)
* Remove redundant keymap in dired.c, and replace it with
  the better one that was being ignored in keymap.c.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 11 00:50:00 2005 UTC (18 years, 7 months ago) by kjell
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Enable the 'next-error' (C-x `) keybinding by default.
Niklas, this one is for you.
ok deraadt@, cloder@

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 6 20:02:10 2005 UTC (18 years, 7 months ago) by kjell
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Add find-file-read-only keybinding (c-X c-R), as in emacs.
closes PR4523. Enjoy, jason!

Revision 1.30 / (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.29: +3 -1 lines
Diff to previous 1.29 (colored)

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

Revision 1.29 / (download) - annotate - [select for diffs], Mon May 30 13:13:50 2005 UTC (18 years, 11 months ago) by jason
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

add find-alternate-file command and binding for ^X^V; ok cloder
(you're welcome kjell)

Revision 1.28 / (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.27: +56 -57 lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Wed Mar 9 16:20:48 2005 UTC (19 years, 2 months ago) by jfb
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

fix mg's behaviour with regards to files on which we do not have
write access.  diff originally from vincent@ and forgotten for
a while.

ok rohee@, "toss it in, i'll bitch if it doesn't work" henning@

Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 9 08:20:46 2002 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

bind ^Xg to gotoline by default

Revision 1.25 / (download) - annotate - [select for diffs], Sat Sep 28 05:18:48 2002 UTC (21 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

use rescan, not NULL, since ^X-t is not a prefix

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 26 10:12:26 2002 UTC (21 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 (colored)

activate the two key sequences for undo again; ok art henning

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 27 23:07:58 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

seems c-x c-q is for the vc- mode. remove it.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 27 21:39:56 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

 bind C-x C-q to toggle-read-only, just like emacs.

 ok deraadt@

Revision 1.21 / (download) - annotate - [select for diffs], Wed May 29 20:25:00 2002 UTC (21 years, 11 months ago) by vincent
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

 zap the ctrl-x ctrl-v keybinding for find-file-read-only.  looks like
i need more studying of emacs' keybindings :-)

 ok art@ (i guess that's what "vincent, zap out the keybinding" meant)

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 29 12:32:51 2002 UTC (21 years, 11 months ago) by vincent
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

 add a function to visit a file read-only mapped to C-x C-v

 ok art@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 11 13:02:56 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Fri Mar 1 19:05:40 2002 UTC (22 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +3 -5 lines
Diff to previous 1.17 (colored)

disable undo until it is fixed to be (1) correct and (2) not crash like it does now

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 21 04:14:01 2002 UTC (22 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored)

^Xu is also an undo char

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 20 23:37:24 2002 UTC (22 years, 3 months ago) by art
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

bind C-_ to undo.

Revision 1.15 / (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.14: +3 -3 lines
Diff to previous 1.14 (colored)

more gosmacs

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 24 10:47:54 2001 UTC (23 years ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.13: +1 -36 lines
Diff to previous 1.13 (colored)

No need for those extra maps now.

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 24 10:43:18 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.12: +57 -34 lines
Diff to previous 1.12 (colored)

Make the keymap/mode table growable in runtime.

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 24 09:47:34 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.11: +1 -314 lines
Diff to previous 1.11 (colored)

Break out function -> name mappings to an own file.
Add a possibility to dynamically extend the function table.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 23 22:56:52 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.10: +7 -7 lines
Diff to previous 1.10 (colored)

functnames can be const, some spaces

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

Get rid of unnecessary casts of NULL.

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 23 22:10:43 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

export "fundamental_map" that points to the fundamental keymap

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 23 21:59:45 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

No need to export nfunct and functnames now that help doesn't use them
anymore. nfunct isn't used anywhere.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 23 16:26:39 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.6: +1 -58 lines
Diff to previous 1.6 (colored)

kill complete_function. Not used anymore.

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

Get rid of 'prefix' and use NULL instead.

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:08 2000 UTC (23 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.3: +238 -443 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: +793 -800 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], Fri Mar 3 19:31:26 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.1: +14 -0 lines
Diff to previous 1.1 (colored)

Reverse rutgers change (attachtoparent vs. spawncli)

New ttreinit function that enters application mode, enables the keypad
and resets the tty size.

New spawn module that calls tttidy() to exit application mode (and cleanup)
then calls ttreinit() after resume to get back into application mode.  Assumes
we have job control.  This takes advantage of the xterm 'alternate screen'.

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.