Thomas Cort
ab046ee6ea
Importing usr.bin/head
2013-03-23 14:37:39 +01:00
David Höppner
4de64f892a
Importing NetBSD banner
2013-03-22 10:15:11 +01:00
David van Moolenbroek
50e46307de
Move MINIX reboot definitions into minix/reboot.h
...
Also fix a buffer overflow in commands/reboot/sh_wall.c.
Change-Id: I3a61057c4f0221d1700e14d44520b4ad17f1dbe1
2013-03-20 16:50:01 +00:00
David van Moolenbroek
3be9c7c33b
Rename "struct partition" to "struct part_geom"
...
Change-Id: Ifaf9795ba70f5b933599b2a6ec9415e6bd13200c
2013-03-20 16:14:21 +00:00
Thomas Cort
a99e83a2dc
Importing usr.bin/cal
2013-03-18 11:27:44 +01:00
Thomas Cort
85468eb5c8
Importing usr.bin/yes
...
Change-Id: Ia76d7ce9c6b2bf7523d2ecbc6470e3e1e7ab5ee5
2013-03-18 11:27:25 +01:00
Thomas Cort
b6d4a4c155
Importing usr.bin/who
2013-03-18 11:23:59 +01:00
Lionel Sambuc
ce42c706d2
ASH: Fix clean target.
...
Also include code generators in the cleaning targets.
Change-Id: Ic1eeece5152f2b13a0357363d5e902b182022fdf
2013-03-08 09:41:49 +01:00
David van Moolenbroek
2ea6149f7c
sprofalyze: fix profile data parsing
2013-02-27 17:53:27 +00:00
Lionel Sambuc
f640210005
Removing obsolete _NBSD_LIBC define
...
Change-Id: Ia6ce84ccdf36cf6f64540b990baaa7d85c53533d
2013-02-26 09:44:24 +00:00
Lionel Sambuc
afa4fd56ac
Removing obsolete _MINIX_COMPAT define
...
Change-Id: If1f5901a53bbc454c04ee33ebb469a58f0566df7
2013-02-26 09:44:23 +00:00
Lionel Sambuc
813d4c6a36
Removing obsolete _MINIX_SOURCE define
...
Change-Id: I924d5af294cd5daf17c73f71803f060cea3c3d8b
2013-02-26 09:44:21 +00:00
Lionel Sambuc
8e4736f2df
Removing obsolete _MINIX define
...
Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
2013-02-26 09:44:20 +00:00
Thomas Veerman
ba49a155b5
fb: introduce framebuffer support to Minix
...
This patch introduces a framebuffer to Minix. It's written for the ARM
port of Minix, but has an architectural split that separates the
hardware dependent part from the non-hardware dependent part. Futhermore,
this driver was developed using a screen that has a native resolution of
1024x600 pixels and having lack of support for obtaining EDID from the
screen. Consequently, it uses a hardcoded resolution of 1024x600.
The driver uses an interface based on the Linux ioctl API, but supports
only a very limited subset.
2013-02-21 10:29:08 +00:00
Lionel Sambuc
c3ae1bdfcd
Switch to disable bin. exp. wait time in RS
2013-02-16 19:35:19 +01:00
David van Moolenbroek
972156d595
TTY: "nobeep" setting to disable beeps
...
Disable the speaker by passing in "nobeep=1" as a boot option.
The option is preserved when updating the boot configuration.
Currently i386 only.
2013-02-15 11:06:34 +01:00
Ben Gras
d6be9725c9
pkgin_all: script to auto-install all packages
...
Change-Id: I858c6d2b1c117c1fb5f702ab9c4921e86fb0cec5
2013-02-14 22:58:29 +00:00
Ben Gras
9a3d76d0ca
ash: default to an editing mode
...
. otherwise line editing is not initialized at all
Change-Id: I4b1aa5659720b1fd955ab0450b111085dcdc9dee
2013-02-13 16:19:15 +00:00
Ben Gras
ccdc3ff73f
umount: getopt return value is int, not char
...
. causes infinite loop on ARM (default unsigned char?)
Change-Id: If00184f37317c8597a8203f68ec96f1ce5030853
2013-02-04 12:03:05 +01:00
Lionel Sambuc
5f59a986e2
Upgrading sync
...
Change-Id: Ied34ebd1d2dc963f5a2af8fc3bbf8e6c94df61cf
2013-02-02 01:20:09 +01:00
Lionel Sambuc
b7ef8cfb52
Upgrading ls
...
Change-Id: Ie0bacf04e727fac5c6df7b2bcf5039e9ce800616
2013-02-02 01:20:09 +01:00
Lionel Sambuc
c31c70743a
Importing bin/ln
...
Change-Id: I318e79f2d02dcff10bda8af335d286a78be5c5a2
2013-02-01 11:41:48 +01:00
Lionel Sambuc
7104bb23a9
Upgrading kill
...
Change-Id: I9ad71f08998ac17651d243afecbcc362e0f91b56
2013-02-01 11:41:48 +01:00
Lionel Sambuc
06f3970b9e
Upgrading pwd
...
Change-Id: I3bab8335ac58f2d0af20c5cee4b772b1175c2ede
2013-02-01 11:41:48 +01:00
Lionel Sambuc
2c96f0541b
Upgrading printf
...
Change-Id: I78dbbf0d14e4d61f5dfbec53d3938453b3e03ee6
2013-02-01 11:41:47 +01:00
Lionel Sambuc
252a83f614
Fix command line history in ash
...
Also did some cleanup in ash sources, to make minix modifications
more obvious, as well as some simplifications (by removing code which
is never compiled)
Removed EDITLINE support, use libedit, which does the termcap/terminfo
handling.
Change-Id: I19f7f425ed6a61298844631f9d7f3173cf7f30c0
2013-02-01 11:41:47 +01:00
Antoine Leca
1999c518b6
import tput from NetBSD
...
Posix tool to allow direct use of the terminfo database.
The clear script is adjusted accordingly.
The (MINIX-specific) clr equivalent is now gone.
2013-01-25 20:09:20 +01:00
Antoine Leca
fc1c7a3483
Mined: allow Ins to mark
2013-01-25 18:44:17 +01:00
Lionel Sambuc
3e1db26a5a
Termcap update, replacing elvis by nvi.
...
Removing elvis, importing nvi, ctags, updating libedit.
Change-Id: I881eb04d2dc64cf112facd992de1114e1a59107f
2013-01-24 07:44:38 +01:00
Ben Gras
c096911b97
sprofalyze fixes
...
. accumulate sprof_info
. reset 'seen' endpoints for every file to keep in sync with kernel
profile stream
2013-01-15 08:23:19 +00:00
Lionel Sambuc
0ac803292e
Fix warnings trivial warnings.
...
Fix warnings about:
. Unused variables
. format mismatch in printf/scanf format string and arguments
. Missing parenthesis around assignment as truth values
. Clang warnings anout unknown GCC pragma
2013-01-14 11:44:31 +01:00
Lionel Sambuc
22e69f558e
Cleaning usage of MAJOR/MINOR
...
Change-Id: I4d7718c51967930375a5f0657b61f869745cf644
2013-01-14 11:36:26 +01:00
Lionel Sambuc
0c3ae37f52
Updating libcurses, libterminfo and terminfo.
...
The three are updated together as they are tightly coupled.
Change-Id: I9e1f07b6adc6e8ae10833e6f1402f8472d2d34b8
2013-01-14 11:36:26 +01:00
Lionel Sambuc
f14fb60209
Libraries updates and cleanup
...
* Updating common/lib
* Updating lib/csu
* Updating lib/libc
* Updating libexec/ld.elf_so
* Corrected test on __minix in featuretest to actually follow the
meaning of the comment.
* Cleaned up _REENTRANT-related defintions.
* Disabled -D_REENTRANT for libfetch
* Removing some unneeded __NBSD_LIBC defines and tests
Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
2013-01-14 11:36:26 +01:00
Ben Gras
a5f09d5196
service: nonfatally ignore unknown call keywords
...
. makes switching between revisions with new system.conf
keywords less risky
2013-01-08 18:54:04 +00:00
Ben Gras
f26ce0ba44
unstack - fix ipcvecs
2013-01-04 16:17:07 +00:00
Ben Gras
73d95c770f
unstack: add shared libraries symbols
2013-01-04 09:46:12 +00:00
Ben Gras
53f1f3e4a8
deduplicate some installed files
...
. zcat link
. old install manpage
2012-12-10 16:52:33 +01:00
Lionel Sambuc
8e5df35e84
Importing NetBSD tsort
...
Change-Id: I110de8037b9253f4fe53cbe13dc8fc281aeea2ec
2012-12-07 13:58:07 +01:00
Lionel Sambuc
6e0ed9c90c
Replacing join with NetBSD join
...
Change-Id: I1257736f755eab0ce39124f0d78bfa48426ba820
2012-12-07 13:58:07 +01:00
Lionel Sambuc
0fbbaa43e9
Upgrading sort, which is needed by lorder
...
Change-Id: I64ac0509f4360c947a677600db77e7612a7cbebd
2012-12-07 13:58:07 +01:00
Lionel Sambuc
456a46e6bf
Removing useless minix/types.h header
...
Change-Id: If5f922279b87f075f301b64c7786caa18b434c2a
2012-12-07 13:58:06 +01:00
David van Moolenbroek
130b082121
Fix buffer overflows in df(1), format(1)
2012-11-30 10:54:40 +00:00
Thomas Veerman
c248e23d93
Remove obsolete sum
2012-11-26 15:20:18 +00:00
Thomas Veerman
d9f4f71916
Implement dynamic mtab support
...
With this patch /etc/mtab becomes obsolete.
2012-11-26 15:20:18 +00:00
Erik van der Kouwe
57c748b968
Remove ability to pass commands to bootloader
2012-11-22 19:16:17 +01:00
Erik van der Kouwe
22fa466268
Restore poweroff to some of it's former glory (on QEMU, at least)
2012-11-21 20:28:37 +01:00
Lionel Sambuc
ad85a577a6
Do not overwrite vi and ex links by default
...
Revert (and document) to the old behaviour of the elvis Makefile.
Change-Id: I800dba23f5c35d4c1676974962806dd824659539
2012-11-19 16:44:38 +01:00
Lionel Sambuc
b8a678ef1d
Cross compile on minix support
...
* Remade patch so it works with minix patch tool.
* New MINIX tar support -ox, so revert back to it
In fetch scripts, tar had been replaced by bsdtar as the prebvious
tar did not support the -o flag under minix, which is required to
prevent usage of tar file stored user and group information.
This introduces portability problems. As our new tar tool now
support that flag revert back to improve portability.
2012-11-15 16:07:30 +01:00
Lionel Sambuc
d19d7d58aa
Toolchain upgrade and portability improvements.
...
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC
Makefiles updates to imporve portability
Made sure to be consistent in the usage of braces/parenthesis at
least on a per file basis. For variables, it is recommended to
continue to use braces.
2012-11-15 16:07:29 +01:00