OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.69 / (download) - annotate - [select for diffs], Sat Oct 15 17:01:14 2022 UTC (19 months ago) by op
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, HEAD
Changes since 1.68: +11 -11 lines
Diff to previous 1.68 (colored)

replace ewprintf("") calls with eerase(): no functional difference.

ok florian@

Revision 1.68 / (download) - annotate - [select for diffs], Tue Mar 2 15:03:35 2021 UTC (3 years, 2 months 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, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.67: +8 -5 lines
Diff to previous 1.67 (colored)

This diff soaks up the user input while the the maximum character
length boundary is crossed in the minbuffer and allows the user to see
the error message and respond accordingly.  The goto named "null"
changed to "skipkey" as per Emil Engler's suggestion on tech@.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Mar 1 10:51:14 2021 UTC (3 years, 2 months ago) by lum
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (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.66 / (download) - annotate - [select for diffs], Mon Oct 24 17:18:42 2016 UTC (7 years, 6 months ago) by jasper
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, 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
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

remove double semicolon

from Brian Callahan

Revision 1.65 / (download) - annotate - [select for diffs], Sat Dec 5 02:14:02 2015 UTC (8 years, 5 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Fix an incorrect use of sizeof(pointer) by removing it and switching
from strncasecmp to strcasecmp which will stop matching strings
with unwanted trailing characters.

ok jasper@ deraadt@

Revision 1.64 / (download) - annotate - [select for diffs], Wed Nov 11 08:52:12 2015 UTC (8 years, 6 months ago) by lum
Branch: MAIN
Changes since 1.63: +31 -11 lines
Diff to previous 1.63 (colored)

Clear the mini buffer once a question has been displayed. ok jasper@

Revision 1.63 / (download) - annotate - [select for diffs], Mon Nov 9 11:44:00 2015 UTC (8 years, 6 months ago) by jasper
Branch: MAIN
Changes since 1.62: +3 -8 lines
Diff to previous 1.62 (colored)

use strncasecmp()

ok lum@

Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 9 07:52:18 2015 UTC (8 years, 6 months ago) by jasper
Branch: MAIN
Changes since 1.61: +4 -5 lines
Diff to previous 1.61 (colored)

no need to initialize variables that are being initialized a few lines below

ok lum@ on a previous diff

Revision 1.61 / (download) - annotate - [select for diffs], Sat Oct 31 11:59:47 2015 UTC (8 years, 6 months ago) by jasper
Branch: MAIN
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

mark *Completions* buffer as read-only

ok lum@

Revision 1.60 / (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.59: +5 -5 lines
Diff to previous 1.59 (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.59 / (download) - annotate - [select for diffs], Fri May 8 12:35:08 2015 UTC (9 years ago) by bcallah
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Remove ereply prototype since it is never used. Tweak a comment to reflect
ereply removal.
ok jasper@ florian@

Revision 1.58 / (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.57: +10 -6 lines
Diff to previous 1.57 (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.57 / (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.56: +2 -2 lines
Diff to previous 1.56 (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.56 / (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.55: +4 -1 lines
Diff to previous 1.55 (colored)

Add some missing dobeeps.
ok florian@

Revision 1.55 / (download) - annotate - [select for diffs], Fri May 31 18:03:44 2013 UTC (10 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (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.54 / (download) - annotate - [select for diffs], Sat Nov 3 16:28:14 2012 UTC (11 years, 6 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored)

fix potential memory leak, found by llvm

ok haesbaert, lum, benno

Revision 1.53 / (download) - annotate - [select for diffs], Sat Nov 3 16:26:32 2012 UTC (11 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

kill dead assignment, found by llvm

ok haesbaert, lum, benno

Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 22 08:31:42 2012 UTC (11 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.51: +31 -1 lines
Diff to previous 1.51 (colored)

Add (r)evert prompt to "File changed on disk; really edit the buffer"
prompt.

input, ok lum@, man bit ok jmc@, ok benno@

Revision 1.51 / (download) - annotate - [select for diffs], Tue Sep 25 19:16:52 2012 UTC (11 years, 7 months ago) by lum
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Stop the space char completing a file name. This mimics more recent
versions of emacs.

kjell and jasper@ agree.

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

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

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jun 4 23:39: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.48: +9 -5 lines
Diff to previous 1.48 (colored)

Add the notion of an "ephemeral" popup, so we can flag a window
for destruction at a later date. (in the process, add a window flag field)

This fixes an issue noted by maja: namely, the *completion*
window that pops up when you try to complete a filename on
buffer load would destroy any second window that you happened
to have open.

ok maja@

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jun 3 20:58:20 2009 UTC (14 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.47: +12 -5 lines
Diff to previous 1.47 (colored)

Match comment to reality, whitespace

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jun 2 17:57:30 2009 UTC (14 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.46: +19 -13 lines
Diff to previous 1.46 (colored)

Fix the long-standing crash when >NXNAME characters were inserted
into minibuffer. Found and fixed by Martynas. Cleaned up
a bit so that error messages display properly in the status line.
Fixes Debian bug #414846

Revision 1.46 / (download) - annotate - [select for diffs], Sun Apr 2 17:18:58 2006 UTC (18 years, 1 month ago) by kjell
Branch: MAIN
CVS Tags: 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.45: +3 -1 lines
Diff to previous 1.45 (colored)

fix ^W (delete to start of word) in minibuffer;
i.e. actually kill text, don't just move the pointer.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Mar 30 18:32:07 2006 UTC (18 years, 1 month ago) by kjell
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Clean up some allocations. Remove malloc casts, and some easy
malloc(A*B)->calloc changes.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 28 20:16:24 2006 UTC (18 years, 1 month ago) by kjell
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Use <sp> and <cr> as shortcuts for y/n (like emacs)
requested by Han Boetes.

Revision 1.43 / (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.42: +9 -5 lines
Diff to previous 1.42 (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.42 / (download) - annotate - [select for diffs], Tue Dec 13 06:01:27 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.41: +3 -4 lines
Diff to previous 1.41 (colored)

More name-clash delinting

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 19 20:16:35 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Clean up some lint.

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

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

Revision 1.39 / (download) - annotate - [select for diffs], Fri Nov 11 18:40:51 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

spacing

Revision 1.38 / (download) - annotate - [select for diffs], Fri Nov 11 18:40:01 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.37: +213 -45 lines
Diff to previous 1.37 (colored)

Enable some of the more common editing keybindings in the minibuffer.
i.e. left, right, ^B, ^F, ^Y, ^K, ^A, ^E

Also, make completions work as you would expect them to
i.e. a *Completions* buffer pops up with your choices in it
when you hit a second TAB or SP.

It's ugly, but it works. ok deraadt.

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

Be more explicit in error prompt. ok deraadt.

Revision 1.36 / (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.35: +9 -26 lines
Diff to previous 1.35 (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.35 / (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.34: +4 -1 lines
Diff to previous 1.34 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 31 20:38:59 2005 UTC (18 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

fix broken minibuffer defaults introduced in echo.c:1.33
adds eread flag EFDEF allowing null minibuffer response
noticed by otto
ok cloder@ jason@, works otto@

Revision 1.33 / (download) - annotate - [select for diffs], Sat May 28 00:41:13 2005 UTC (18 years, 11 months ago) by cloder
Branch: MAIN
Changes since 1.32: +7 -1 lines
Diff to previous 1.32 (colored)

If the user gets into a minibuffer, they will not know how to hit
Ctrl+g to get out of it.  Let them hit enter, like in emacs.
OK kjell, jason

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 28 07:23:56 2005 UTC (19 years ago) by otto
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Get rid of unused arg to complete_function_list(). Han Boetes.

Revision 1.31 / (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.30: +44 -46 lines
Diff to previous 1.30 (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.30 / (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.29: +2 -2 lines
Diff to previous 1.29 (colored)

spacing

Revision 1.29 / (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.28: +65 -40 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Thu Jul 8 21:28:06 2004 UTC (19 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

misplaced return NULL in the error path

found by lint via deraadt
ok deraadt

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 21 00:46:38 2004 UTC (20 years, 4 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

support format `%p' to print pointers in eformat()

Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 16 17:30:49 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.25: +11 -8 lines
Diff to previous 1.25 (colored)

Fix a buffer overflow in complt_list(); it was allocating space
based on nrow when it wanted ncol.  Also make the space-padding
more bulletproof and avoid trying to pad w/ 0 characters.
Closed PR 3190; vincent@ OK

Revision 1.25 / (download) - annotate - [select for diffs], Thu Aug 22 23:28:19 2002 UTC (21 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

knf

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 3 17:25:38 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.23: +96 -98 lines
Diff to previous 1.23 (colored)

remove a useless {} that was there for "historical reasons" and only served
to make the code go too far to the right.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 3 03:47:59 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.22: +9 -2 lines
Diff to previous 1.22 (colored)

 a few missing tests for malloc()'s return value.

 ok art@

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 1 14:33:44 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

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

Revision 1.21 / (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.20: +15 -33 lines
Diff to previous 1.20 (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.20 / (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.19: +10 -10 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Thu Feb 14 23:00:56 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.18: +19 -16 lines
Diff to previous 1.18 (colored)

 remove the strcpy call, plus some KNF

ok deraadt@

Revision 1.18 / (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.17: +8 -8 lines
Diff to previous 1.17 (colored)

some KNF

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 18 08:37:08 2002 UTC (22 years, 4 months ago) by art
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

Remove the NROW and NCOL limits. The static arrays are now replaced with
dynamically allocated memory.
Code written by Vincent Labrecque <limitln@Psyfreaks.CA> with some minor
tweaks by me.

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

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

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 24 09:34:05 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.14: +5 -10 lines
Diff to previous 1.14 (colored)

fix back a piece of my own stupidity

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 24 01:55:49 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.13: +36 -37 lines
Diff to previous 1.13 (colored)

vararg bye bye, spaces

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 24 01:17:51 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

no need to cast va_arg output

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 23 23:29:47 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.11: +10 -11 lines
Diff to previous 1.11 (colored)

cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs cpy+len

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

Bye, bye varargs. We're __STDC__.

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

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

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

pretty

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

export free_file_list. XXX - it doesn't belong in echo.c and it's the wrong name.

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

pretty

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

complt already has code to finish the completion from a list.
No point in duplicating that code in complete_function.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 3 12:57:22 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.4: +16 -21 lines
Diff to previous 1.4 (colored)

 * Let make_file_list always append a '/' at the end of directories.
   This makes filename TAB-completion more useful, now you don't need to
   write that '/' manually.
 * random cleanups including using snprintf and memcmp where open-coded
   equivalents were used, waitpid instead of 'while (wait() != pid);', etc.

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: +164 -180 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:14 2000 UTC (24 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.1: +475 -396 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:47 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.