Commit Graph

6636 Commits

Author SHA1 Message Date
Jacob Adams
cc27dd70b3 Properly set SRC variable 2015-06-07 16:56:56 -04:00
Jacob Adams
6667fa44a9 Move netbsd2minix out of own folder 2015-06-07 16:46:39 -04:00
Jacob Adams
145f267263 Begin condensing stuff 2015-06-07 16:42:31 -04:00
Jacob Adams
5b96f7cfd5 remove unecessary whitelist entry 2015-06-07 16:31:30 -04:00
Jacob Adams
e669aa783b Ensure copy works properly 2015-06-07 11:06:20 -04:00
Jacob Adams
ebad91061d Move netbsd tree out of source tree 2015-06-06 19:46:14 -04:00
Jacob Adams
e7c5cd4928 Fix src location 2015-06-06 19:27:47 -04:00
Jacob Adams
6bbf7a5778 Fix src location 2015-06-06 19:23:08 -04:00
Jacob Adams
bfe46b8de2 Almost done
Basically works just need to fix one last odd error
2015-06-06 19:14:11 -04:00
Jacob Adams
b62d21b6f6 lots more work 2015-06-06 17:55:16 -04:00
Jacob Adams
25969c4828 Clean up cruft 2015-06-06 16:54:44 -04:00
Jacob Adams
db9adcec7f Lots of work on new whitelist stuff 2015-06-06 16:52:41 -04:00
Jacob Adams
3cd42a4833 get rid of blacklists 2015-06-06 16:25:13 -04:00
Jacob Adams
d595611f51 Add many whitelists 2015-06-06 16:24:32 -04:00
Jacob Adams
893332d8e2 Begin new attempt at buildingo 2015-06-05 23:19:52 -04:00
Jacob Adams
6dbb3568a9 Add releasetools to setupminix 2015-05-30 23:18:34 -04:00
Jacob Adams
118c82f7e0 Add minix makefile 2015-05-30 23:09:47 -04:00
Jacob Adams
ed6ee78a6c Fix order of scripts 2015-05-30 22:58:46 -04:00
Jacob Adams
2fd888963f chmod run.sh 2015-05-30 22:57:35 -04:00
Jacob Adams
862b2af335 Add run.sh 2015-05-30 22:55:26 -04:00
Jacob Adams
9ea8221f9a Fix up distrib cp 2015-05-30 22:52:17 -04:00
Jacob Adams
ac3c7fa7f5 add -r to cp 2015-05-30 22:50:17 -04:00
Jacob Adams
2a1a3034a1 Fix up directory in applyblacklist 2015-05-30 22:48:38 -04:00
Jacob Adams
4a0e781929 Fix src in test 2015-05-30 22:46:04 -04:00
Jacob Adams
5e07f19341 Correct directory paths 2015-05-30 22:44:40 -04:00
Jacob Adams
cd2fec024e More work 2015-05-30 22:31:29 -04:00
Jacob Adams
a51d48d924 Setup netbsd2minix 2015-05-30 22:22:55 -04:00
Jacob Adams
d9494baa34 cawf: Update K&R function declarations
Change-Id: Ib18171089c7b389f7f2643d7298f9659e882f65c
2015-05-18 15:20:39 +02:00
Jacob Adams
c6748a4a93 cawf: Fix buffer scope
Change-Id: I03f9066c20da142034626b07d0b07c446075b8af
2015-05-18 15:20:36 +02:00
Jacob Adams
c14bb31e67 sprofalyze: Fix minor typo
Change-Id: I0a419833fb2f438808613737680ace7246713ee9
2015-05-18 13:54:19 +02:00
Jacob Adams
be4841096d Add manpage for sprofdiff
Change-Id: Ifa98ab133ef818d21921f05db650069448ea52ff
2015-05-18 13:52:13 +02:00
Jacob Adams
2a6b817353 Add manpage for sprofalyze
Change-Id: I206a5878e8f788ea4ff742453148462959263a6a
2015-05-18 13:41:29 +02:00
Jacob Adams
c19d619d42 Importing bin/dd
Change-Id: Ibdfed821aa834419c9713dc80f698c8ed74ff269
2015-04-15 13:50:57 +02:00
Jacob Adams
9cf6cc5098 Import games/caesar and games/rot13
Change-Id: Ib6b074c6c525ee817b9182b17a06ae18851f5afe
2015-04-15 09:47:27 +02:00
Jacob Adams
f1489796fd Add games/banner
Change-Id: Ib4a002422d668d8aa5cf0e7171ea430ef630eeff
2015-04-15 09:47:23 +02:00
Jacob Adams
eb95f895b2 Import games/rain
Change-Id: Ifc9a9d69795e3281f62c3c3438622ce74994b8b0
2015-04-15 08:33:52 +02:00
Jacob Adams
3a1943c1c1 devmand: properly prevent overflow
closes #22

Change-Id: Ia10f352a7ff5b05b1095dbb65d36316f9165a6f0
2015-04-15 08:28:59 +02:00
Jacob Adams
1cd28eb8e4 libc: Fix incomplete fprintf
Closes #23

Change-Id: Ibe6362de0d2d1d94442401b92bc126e63bf9f9b0
2015-03-31 15:45:48 +02:00
Thomas Cort
79444d163d mined: increase the size of the tgetent() buffer.
From the termcap section of the GNU termutils manual:

"There is no way you can tell how much space is needed, so the convention
is to allocate a buffer 2048 characters long and assume that is enough.
(Formerly the convention was to allocate 1024 characters and assume that
was enough. But one day, for one kind of terminal, that was not
enough.)"

Change-Id: Ia5937366ae89e886dbaef7d180bee40669d0c488
2015-03-28 08:39:19 +01:00
Thomas Cort
93cdb3a735 mined: move to minix/usr.bin/mined
As suggested in issue #43.

Historic Locations:

Prior to this commit

  minix/commands/mined

Prior to commit 433d6423c3

  commands

Change-Id: I374ab3ff0e3b9e47779fc21e80b47fda87698242
2015-03-28 08:39:10 +01:00
Thomas Cort
e6df9032b3 mined: remove !__STDC__ code blocks.
__STDC__ is used to mitigate the differences between K&R C and the
ANSI C standard. Nearly every compiler now supports ANSI C, so
there is no need to support non-standard compilers.

Change-Id: Ifc3381ecf1c43dfde9004bee48552d8b3ac4dcdc
2015-03-28 08:38:56 +01:00
Thomas Cort
f3734d6b31 mined.h: use '\a' instead of ascii code for bell.
Makes the code slightly more portable and readable.

Change-Id: I45bbecb6dc1c320c9412eeeaf598116c2ce1aac5
2015-03-28 08:38:48 +01:00
Thomas Cort
e978660932 mined: built without UNIX defined.
* Remove undef NULL, EOF, getchar, putchar
* Rename putchar, getchar, _putchar, _getchar to putch, getch, _putch,
  _getch to avoid conflict with libc functions.
* Rename UP() to UP1() (for UP 1 line) to avoid conflict with UP
  definition in termcap.h. Rename DN1 LF1 RT1 for consistency.
* Add termcap.h for prototypes for tputs and friends.
* Add libterminfo references to Makefile
* Add return value to _putch() to make it work as tputs expects.
* Make putch() call _putch()
* Remove UNIX ifdefs and all code in the !UNIX branches.

closes #43

Change-Id: I0a6f7298aa8b12a74225badc88d3c236a02669ea
2015-03-28 08:38:33 +01:00
Thomas Cort
fc850d580c man: clean-out man1x category.
Removes the following man pages:

* awk.1x -- for a version of awk we no longer have
* kermit.1x -- seems gone altogether
* macros.1x -- not useful for anyone anymore

Moves the following man pages:

* mined.1x -- Moved to minix/commands/mined/mined.1
and reformatted to use the mdoc macros instead of the
Minix macros so that it displays properly.

Removes /usr/man/man1x from the directory tree.

closes #44

Change-Id: I59b8bd54cf5cba6d188e51e99a92b36e90c275c1
2015-03-25 06:53:44 +01:00
Thomas Cort
d1a87c1f64 mined: clean-up trailing whitespace.
Change-Id: Ic27293d7e1d0f830d635b78e7e620dcf0ef3e03f
2015-03-24 14:03:03 +01:00
Thomas Cort
d131b58784 mined1.c: remove i386 guard around escape sequences.
The escape sequences for the function keys used to be separated
out in older versions of Minix when they were different for m68k
and intel. Support for m68k was dropped and that code was
removed, leaving the ifdef i386. Since the sequences are the
same for i386 and arm, there is no need to keep the ifdef i386.

Change-Id: Id96a80bcb24da120efa63acc9b248d87fc347eac
2015-03-24 14:03:03 +01:00
Thomas Cort
6a0aa6fb5e mined.h: remove irrlevant comment.
It used to refer to several NIL_* definitions. Those were removed
in commit 6e25ad8b0a leaving the
comment with nothing to comment on.

Change-Id: I52221ae5d2c5216e82391b480cf2038ad723b8f0
2015-03-24 14:03:02 +01:00
Thomas Cort
0cf05b213d mined.h: remove unused definition, MEMORY_SIZE.
Change-Id: I1ae83c427cafb15f1382b7d8ab3871a36b0eec28
2015-03-24 14:03:02 +01:00
Thomas Cort
50d246bbba mined.h: remove minix/config.h include.
Nothing defined there is used by mined.

Change-Id: I38b692be1313aaed316eebd7caf8e879178d90dc
2015-03-24 14:02:41 +01:00
Jacob Adams
d82c151c9e commands/fix: create manpage for fix(8)
Change-Id: I868f1338994d6cc2cba6789b9b4e8934610d0142
2015-03-24 08:21:14 +01:00