OpenBSD CVS

CVS log for src/usr.bin/mg/kbd.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (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_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, 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, OPENBSD_5_8_BASE, OPENBSD_5_8, HEAD
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Thu Jul 27 19:59:29 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, 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, 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, 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, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

unused function

Revision 1.17 / (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.16: +24 -24 lines
Diff to previous 1.16 (colored)

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

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

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

Revision 1.15 / (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.14: +11 -11 lines
Diff to previous 1.14 (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.14 / (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_7_BASE, OPENBSD_3_7, 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, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +9 -9 lines
Diff to previous 1.13 (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.13 / (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.12: +6 -6 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Thu May 24 10:43:18 2001 UTC (23 years ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.11: +7 -3 lines
Diff to previous 1.11 (colored)

Make the keymap/mode table growable in runtime.

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

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

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 24 03:05:23 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.9: +16 -16 lines
Diff to previous 1.9 (colored)

spaces

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: +2 -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 20:19:44 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Add an argument to doscan which is a pointer to a KEYMAP pointer.
If that argument is not NULL, we set it to the k_prefmap of the pressed
key if there is one.
This is what most of the users of doscan did anyway, but they did it through
leaked global state.

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

remove unused define

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

Get rid of 'prefix' and use NULL instead.

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

$OpenBSD$

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

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

Revision 1.2 / (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.1: +39 -42 lines
Diff to previous 1.1 (colored)

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

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.