Lionel Sambuc
55d9e9954b
Extending time_t to 64bits.
...
Change-Id: Ia96b8bfba19cb8179a0237a7d2122d415c24d73f
2014-03-03 20:45:28 +01:00
Ben Gras
6c3dfa5f3c
switch to netbsd <sys/errno.h>
...
not entirely clean; _SIGN hack remains for now. also leave in
minix-specific stuff like minix-specific errno's and OK.
Change-Id: I035efc52e27b92f58ae0d88dab19dec263edb6e3
2014-03-02 12:28:31 +01:00
Ben Gras
7120f34ec1
drop <minix/termios.h>, use clean <sys/termios.h>
...
. also implement some netbsd-style tty ioctls
. also implement SIGINFO
. also import netbsd stty
. rename keymap minix CMIN (for ctrl+minus on numeric keypad)
to CNMIN; to keep unchanged control character default CMIN in
new <sys/ttydefaults.h>
. convert CS[5678] logic in rs232 driver to explicit setting of LC
bits
Change-Id: I9b7d2963fe9aec00fb6e7535ef565b3191fc1c1d
2014-03-02 12:28:20 +01:00
Ben Gras
a06e2ab395
big <utmp.h>-inspired netbsd switch
...
import/switch of:
init, getty, reboot, halt, shutdown, wall, last
changes:
. change reboot() call to netbsd prototype and args
. allows pristine <utmp.h>
. use clean <sys/reboot.h> instead of <minix/reboot.h>
. implement TIOCSCTTY for use by getty so getty can get
controlling terminal from init's child(ren)
. allow NULL envp for exec
Change-Id: I5ca02cb4230857140c08794bbfeba7df982c58a3
2014-03-01 09:05:02 +01:00
David van Moolenbroek
c498a34843
toproto: use NetBSD names/types for device numbers
...
This should unbreak crossbuilding from Ubuntu 32-bit
Change-Id: I6ead9f8289dba6271c52dace81abffaabe6c8869
2014-03-01 09:05:01 +01:00
Lionel Sambuc
b9a6a72b65
usr.bin/man: Update
...
Change-Id: I0c5d2115ba384687032f7b2af50d99dedc323b7a
2014-03-01 09:04:56 +01:00
Thomas Cort
c0c5113989
Importing usr.bin/uname
...
Change-Id: I4c316221e288edd839e26a2af4cb59f28bf722c1
2014-03-01 09:04:55 +01:00
Lionel Sambuc
9fab85c2de
Replacing timer_t by netbsd's timer_t
...
* Renamed struct timer to struct minix_timer
* Renamed timer_t to minix_timer_t
* Ensured all the code uses the minix_timer_t typedef
* Removed ifdef around _BSD_TIMER_T
* Removed include/timers.h and merged it into include/minix/timers.h
* Resolved prototype conflict by renaming kernel's (re)set_timer
to (re)set_kernel_timer.
Change-Id: I56f0f30dfed96e1a0575d92492294cf9a06468a5
2014-03-01 09:04:54 +01:00
David van Moolenbroek
d266a94fea
Enable devname(3)
...
There is no support for a device name database yet, so this call is
expected to be fairly slow.
Change-Id: I73aa5f267e2b6921b7d3bbdcc4beac463931132c
2014-03-01 09:04:53 +01:00
Lionel Sambuc
474b24f91c
usr.bin/stat Update
...
Change-Id: I029160c73baab1b3465bc5397a36c55886db225b
2014-02-18 11:25:01 +01:00
Thomas Veerman
c1a31d53d9
stat.h: remove some big_ types
...
Change-Id: I84017db3d54edfb823cc52e02d0b07fccb003988
2014-02-18 11:25:01 +01:00
Thomas Cort
2f7c930a6b
Importing usr.bin/colcrt
...
Replaces colcrt from commands/cawf.
No Minix-specific changes needed.
Change-Id: I0ec6452c879b9a844ad97e89759087d6c3e740a2
2013-11-19 07:26:37 -05:00
Thomas Cort
ef03affb84
Importing usr.bin/mkfifo
...
Replaces commands/mkfifo. No Minix-specific changes needed.
Change-Id: Idb20430d4297c7011fb7e2ef6b0876ebb2776c1c
2013-11-19 12:22:18 +01:00
Thomas Cort
3ab548a3d9
usr.bin/calendar: re-sync with upstream.
...
Jenkins was failing on usr.bin/calendar/calendar.c:386:6: with
"error: 'fd' may be used uninitialized in this function"
when the level of error checking was turned up.
The error was recently fixed upstream. This commit updates
calendar.c to upstream rev 1.50, updates calendar files too.
Change-Id: Ibe0695bf5d0315972f2a4fb1175219dd12cbfa5a
2013-11-18 18:00:57 -05:00
Thomas Cort
2b4e2a565b
Importing usr.bin/soelim
...
No Minix-specific changes needed.
Change-Id: Ie313f3a4ade21c9f5edabd55726fa6af5f468e5d
2013-11-18 08:49:16 -05:00
Thomas Cort
0c745990d9
Importing usr.bin/checknr
...
No Minix-specific changes needed.
Change-Id: I22fc8fdee158b00bf93c5455b2b2409d7cff4e05
2013-11-14 12:35:23 -05:00
Thomas Cort
a501098bf5
Importing usr.bin/ul
...
No Minix-specific changes needed.
Change-Id: I7b8f970b8b2bbdeb5cf88ab5163d1a80c4279c4b
2013-11-13 19:58:24 -05:00
Thomas Cort
288e6864c8
Importing usr.bin/deroff
...
No Minix-specific changes needed.
Change-Id: I87c3629238b7bfdbff3b64682fcdb245a7ce740c
2013-11-12 19:04:27 -05:00
Thomas Cort
9742ba2568
Importing usr.bin/fpr
...
No Minix-specific changes needed.
Change-Id: I2169284c68309de78d89d9f3c678f340ff066c7e
2013-11-12 14:11:32 -05:00
Thomas Cort
4b9cc932b7
Importing usr.bin/id
...
Replaces commands/id. No Minix-specific changes needed.
Change-Id: I307ae0fa3f41ade398ee9be12c1b4d78e8b59e95
2013-11-12 10:15:47 -05:00
Thomas Cort
37fc2fa18f
Importing usr.bin/calendar
...
No Minix-specific changes needed.
Change-Id: I9e68983104efb20ab8e946df3bce189d99ab2deb
2013-11-12 06:18:01 -05:00
Thomas Cort
075dbe55f3
Importing usr.bin/jot
...
No Minix-specific changes needed.
Change-Id: I0f45ea7f45d6a254de9383fc4f9ff5e35a013d6b
2013-11-06 17:23:38 -05:00
Thomas Cort
d44a5ed1c1
Importing usr.bin/msgc
...
Minix-specific changes were needed in msg_sys.def:
* use minix_mmap()/minix_munmap() since mmap()/munmap() aren't
defined on Minix.
* use MAP_PRIVATE flag since MAP_SHARED isn't defined on Minix.
Tested with usr.bin/menuc/testm.
Change-Id: I1c463e7b0623036050adb6a9079c6747e1c1e084
2013-11-06 11:46:22 -05:00
Thomas Cort
525a267e81
Importing usr.bin/menuc
...
No Minix-specific changes needed.
Change-Id: Ie663e08a515a393efaaeecacea15ef807aa8ecfb
2013-11-06 10:44:51 -05:00
Thomas Cort
4483d188f9
Importing usr.bin/colrm
...
No Minix-specific changes needed.
Change-Id: I3e1b8fd433ab976e1041575e9e654a5205277a29
2013-10-31 08:30:30 -04:00
Thomas Cort
5959d954ea
Importing usr.bin/what
...
No Minix-specific changes needed.
Change-Id: I08ee48e2ebcdf5c87b557b44a5046b7382b120e5
2013-10-30 13:32:55 -04:00
Thomas Cort
1ac41e3f19
Importing usr.bin/lam
...
No Minix-specific changes needed.
Change-Id: Ib3b0f922be8e170153660d308b541036507c0251
2013-10-30 12:09:54 -04:00
Thomas Cort
ce982eb757
Importing usr.bin/sdiff
...
No Minix-specific changes needed.
Change-Id: Idbe7dcab6024d616022951f7942287fddecc3719
2013-10-30 10:11:02 -04:00
Thomas Cort
152a15652d
Importing usr.bin/shlock
...
No Minix-specific changes needed.
Change-Id: I34fb2911de21f91b0c02387e57c3d6fd4502cd43
2013-10-30 08:44:09 -04:00
Thomas Cort
b6f0c43626
Importing usr.bin/unifdef
...
No Minix-specific changes needed.
Change-Id: Icb828fb19f5f3a411a3f2e9dde35c2da30a04342
2013-10-30 07:47:20 -04:00
Thomas Cort
1e33498f8c
Importing usr.bin/hexdump
...
Replaces commands/hexdump as well as commands/od.
No Minix-specific changes were needed.
test/testsh2.sh was modified to match the spacing
used in the output of the NetBSD od command.
Change-Id: I65ee1d30e8cdd546097462df7c38c2d38f3e891d
2013-10-29 15:18:45 -04:00
Thomas Cort
69ccf97d12
Importing usr.bin/mkstr
...
No Minix-specific changes needed.
Change-Id: I58a8e61dc300d9f54588526613dbc7aa54bf627b
2013-10-29 11:54:01 -04:00
Thomas Cort
3179b9b918
Importing usr.bin/xstr
...
No Minix-specific changes needed.
Change-Id: I1aa24aa9293ce56c732bff94b17faeb0f7c232a0
2013-10-29 11:54:00 -04:00
Thomas Cort
b5a2a7adea
Importing usr.bin/fold
...
Replaces commands/fold. No Minix-specific changes needed.
Change-Id: Iefa9a082f900bb8c3a9f2f9f827ccbbd97c935f5
2013-10-29 10:35:37 -04:00
Thomas Cort
b828b0feb7
Importing usr.bin/tty
...
Replaces commands/tty. No Minix-specific changes needed.
Change-Id: I7ed8589a8cfb0f4fedab6eb760e321876db73502
2013-10-29 08:35:09 -04:00
Thomas Cort
ed31a90dd5
Importing usr.bin/pathchk
...
No Minix-specific changes needed.
Change-Id: Ieff3f98a35f93f3e2fa613802327c37ce4878b86
2013-10-28 11:12:27 -04:00
Thomas Cort
4e1bec4a1a
Importing usr.bin/unvis
...
No Minix-specific changes needed.
Change-Id: I4308c729e1b392ab7d061d15fb901cbba60c6dd0
2013-10-28 09:28:17 -04:00
Thomas Cort
06f01a55d2
Importing usr.bin/vis
...
No Minix-specific changes needed.
Change-Id: I52e7a0b15553b6f067d82d568f3793c5b6ac2a77
2013-10-28 09:28:17 -04:00
Thomas Cort
f1f496697e
Importing usr.bin/paste
...
Replaces commands/paste. No Minix-specific changes needed.
Change-Id: I92a6813502d552ad005ba6e856ce573508fc9f24
2013-10-28 08:31:39 -04:00
Thomas Cort
f3c74513eb
Importing usr.bin/lock
...
No Minix-specific changes needed.
Change-Id: Ib1582e594ce6928b0725f41b51f8bca678d4b11b
2013-10-27 19:10:17 -04:00
Thomas Cort
97b7aef1ba
Importing usr.bin/fsplit
...
No Minix-specific changes needed.
Change-Id: I78021e6485b40a5b9f98b5d0e5ce0dc82b1ae46a
2013-10-27 16:55:12 -04:00
Thomas Cort
a15f368b9d
Importing usr.bin/csplit
...
No Minix-specific changes needed.
Change-Id: Id5d5deb380208ba9fccf404eab5128f8d892c255
2013-10-27 16:55:12 -04:00
Thomas Cort
30eeed2c01
Importing usr.bin/split
...
Replaces commands/split. No Minix-specific changes needed.
Change-Id: I3c6551cf52d4c43eea0e8005b9cae83e17271f2d
2013-10-27 16:53:53 -04:00
Thomas Cort
2f85279772
Importing usr.bin/whois
...
No Minix-specific changes needed.
Change-Id: Ia255774b1389a838714dc67be808b31258bab050
2013-10-27 14:50:20 -04:00
Thomas Cort
f55b7dc853
Importing usr.bin/comm
...
Replaces commands/comm. No Minix-specific changes needed.
Change-Id: Ifa37c86b09f958ca0d729f3a8030d0162819a080
2013-10-27 13:49:04 -04:00
Thomas Cort
539d1e306a
Importing usr.bin/asa
...
No Minix-specific changes needed
Change-Id: Ib83606334a487ab2e35c475dd591e29d0ebef7a5
2013-10-27 11:09:15 -04:00
Thomas Cort
a86753f3fd
Importing usr.bin/renice
...
No Minix-specific changes needed.
Change-Id: Ib698cef1dfa6b386cf658b6026409e0336a8b1c4
2013-10-26 08:25:06 -04:00
Thomas Cort
00709a7737
Importing usr.bin/write
...
Replaces commands/write. No Minix-specific changes needed.
The NetBSD version lacks a few features that were present
in the Minix version: cbreak mode, verbose, and shell escapes,
but the main write(1) functionality is there and working.
Change-Id: I87b9589c54d3595d26247d221bb3d1f613feeb8c
2013-10-25 17:21:52 -04:00
Thomas Cort
b36343fc42
Importing usr.bin/mesg
...
Replaces commands/mesg. No Minix-specific changes needed.
Change-Id: Ief22ad7f050f8083d0b43a4ea90b348c504d99a2
2013-10-25 14:57:39 -04:00
Thomas Cort
93ce9b1174
Importing usr.bin/pwhash
...
No Minix-specific changes needed.
Change-Id: I7de666c3e010fef710805942c79b5674fea1d63c
2013-10-25 11:52:05 -04:00