Commit graph

625 commits

Author SHA1 Message Date
Philip Homburg
3edf4c2854 Prototype for readline. 2006-06-14 13:19:48 +00:00
Philip Homburg
474d137c39 Forgot include some Minix 3 specific changes. 2006-06-07 15:03:42 +00:00
Philip Homburg
eaf9e4cff8 Make sure that line editing is disabled when the shell is not connected to a
tty.
2006-05-29 13:20:28 +00:00
Philip Homburg
43d9263589 Parsing of '-OT' and '-OS' failed in acd.descr. 2006-05-29 12:29:25 +00:00
Philip Homburg
5f19e53afb Install /usr/lib/descr from the source tree. 2006-05-29 12:25:44 +00:00
Philip Homburg
7aa4c9ec2f New version of ash. From FreeBSD 5.4 via Minix-vmd. 2006-05-23 12:59:34 +00:00
Philip Homburg
5a3d6ac67f Balance curly braces. 2006-05-10 15:39:52 +00:00
Ben Gras
b1e5779b1c *** empty log message *** 2006-04-13 18:12:33 +00:00
Ben Gras
3aedf32a8a *** empty log message *** 2006-04-13 18:07:42 +00:00
Ben Gras
0f7b997dd5 remove issue 2006-04-13 17:48:21 +00:00
Ben Gras
f36a9ad718 Tweak 2006-04-13 17:15:58 +00:00
Ben Gras
613e25760d Fixes for image. 2006-04-13 17:15:40 +00:00
Ben Gras
0e100664d0 Install dinks 2006-04-13 15:09:39 +00:00
Ben Gras
d061f4c3b2 sigh 2006-04-13 14:18:23 +00:00
Ben Gras
57245468ca Sum wrong way round 2006-04-13 13:49:08 +00:00
Ben Gras
d8af4488d9 2nd is sum. 2006-04-13 01:59:43 +00:00
Ben Gras
e377457daa Install ls in /bin too 2006-04-12 21:51:01 +00:00
Ben Gras
e87dff0619 Install elvis as elvis, not vi 2006-04-12 20:22:42 +00:00
Ben Gras
c1a20efeb9 Less stack for tar - a bit cramped installing binary packages
on 16MB machines otherwise.
2006-04-12 00:10:17 +00:00
Ben Gras
ab3b9ed760 added -L option that makes nonamed ignore queries that don't come from
localhost.
2006-04-11 13:42:29 +00:00
Ben Gras
103f18cb1f (1) remove ftpd in favour of ftpd200
(2) add /etc/rc.daemons.dist, can be copied to /etc/rc.daemons
    if user wants the standard daemons to run, which are no longer run
    by default
2006-04-11 11:55:45 +00:00
Ben Gras
f8b66e3d79 Kill everyone even in tinyhalt. This causes tty to important clean up. 2006-04-10 00:29:34 +00:00
Ben Gras
9f3cc391a2 Little bug in tinyhalt causing it not to recognize when called as reboot. 2006-04-09 23:24:37 +00:00
Ben Gras
dcfdbcae74 install elvis as /bin/vi and /usr/bin/vi 2006-04-05 12:01:48 +00:00
Ben Gras
9ee6aa8b7b Kludge for 1586 processor id. 2006-04-05 11:56:05 +00:00
Ben Gras
321b886f70 Call elvis vi. 2006-04-05 10:32:58 +00:00
Ben Gras
ddfc600485 Put elvis temporary files in /tmp, so it works from cd. 2006-04-05 09:28:52 +00:00
Ben Gras
0787908d1b Only update manpages if dir exists 2006-04-04 16:15:00 +00:00
Ben Gras
b24c08c254 Formatting fixes for 100% usage 2006-04-04 14:59:51 +00:00
Ben Gras
b38a20904c use smallbunzip only when we can't start bunzip 2006-04-04 14:52:22 +00:00
Ben Gras
7cfb7d912f Fix 2006-04-04 14:22:40 +00:00
Ben Gras
753e119f18 Make syslogd work, even if it can only open klog and not udp or vice versa
(but not neither)
2006-04-04 14:18:16 +00:00
Ben Gras
f219efb41e Fix /var/log 2006-04-04 13:50:05 +00:00
Ben Gras
b9e31bead6 Include .minixpackage info file 2006-04-04 12:57:48 +00:00
Ben Gras
6367fcdf51 Include syslogd 2006-04-04 12:55:20 +00:00
Ben Gras
98ae81cc92 Clean this up 2006-04-04 12:52:22 +00:00
Ben Gras
d5320164cf Redundancy in std 2006-04-03 18:46:59 +00:00
Ben Gras
87dbe50e8c setenv() compiler fixes 2006-04-03 18:31:27 +00:00
Ben Gras
f0ebf5e4c3 We have setenv() now. 2006-04-03 18:26:43 +00:00
Ben Gras
aaf30491f3 write_log() after killing everyone. This improves the quality of
the reboot-check, as otherwise logout records can get written after
our reboot record.
2006-04-03 14:50:07 +00:00
Ben Gras
969989b7e6 Hmm, binary mkfs lying around 2006-04-03 14:40:21 +00:00
Ben Gras
6a0829c700 Kick out usyslogd in favour of syslogd Giovanni's syslogd port 2006-04-03 13:07:42 +00:00
Ben Gras
f3771bb74c Update X manpages too. 2006-04-03 13:06:22 +00:00
Ben Gras
4437f258c9 probe all the way to d7 2006-04-03 13:05:04 +00:00
Ben Gras
5ea6a2cd2c make find accept -type p for FIFOs
also -type s but never match
2006-04-01 00:04:29 +00:00
Ben Gras
cdcb3df821 1-sized passwd cache 2006-03-29 12:44:06 +00:00
Ben Gras
fcbfcfcd07 Don't do anything if time between updates is less than one tick. 2006-03-28 23:44:10 +00:00
Ben Gras
dd19ec55ea . have a user interface - q works! (use curses)
also pressing anything else updates the display
 . interval is settable, default changed to 2sec
 . window size changes are detected and display is
   updated
2006-03-28 23:42:55 +00:00
Ben Gras
ea4038ac50 *** empty log message *** 2006-03-28 13:58:12 +00:00
Ben Gras
f32289c86f Never disable inet (for X) 2006-03-28 12:32:14 +00:00
Ben Gras
97f5d89780 Read .binpackage rc in package sources for configuration. 2006-03-28 11:28:43 +00:00
Ben Gras
1c88703f7b Let su report something more useful when shells fail to exec() 2006-03-27 11:08:17 +00:00
Ben Gras
d4f8286997 minor changes 2006-03-27 11:08:04 +00:00
Ben Gras
5cecf2d6ee Shorter message to fit on one console line 2006-03-26 20:33:14 +00:00
Ben Gras
44737aa233 Clarify message 2006-03-26 19:59:06 +00:00
Ben Gras
60277631e4 Make urlget for package list interruptable with ^C 2006-03-26 19:56:05 +00:00
Ben Gras
05fc502374 Intr doesn't work here. 2006-03-26 19:33:48 +00:00
Ben Gras
9399633416 Take out the local test. 2006-03-26 19:31:40 +00:00
Ben Gras
227d2c886d Fixed network availability check 2006-03-26 19:30:33 +00:00
Ben Gras
094beb2f1e Fix compile warnings 2006-03-26 18:13:35 +00:00
Ben Gras
04ad142c76 package/release tweaks 2006-03-26 18:01:39 +00:00
Ben Gras
27c0f507f9 Can't exec() with long arguments - slightly reduce default nargs under
regular minix.
2006-03-26 17:44:29 +00:00
Ben Gras
f53b73f4ea *** empty log message *** 2006-03-26 16:46:37 +00:00
Ben Gras
807cd19e17 Package tweaks. 2006-03-26 15:51:34 +00:00
Ben Gras
bfb0e87265 Smarter packman that unifies cdrom and network packages. 2006-03-26 15:48:55 +00:00
Ben Gras
d9544b38d3 Install sources in /usr/src/commands 2006-03-25 00:00:23 +00:00
Ben Gras
c1585a6b5e Compiler warning fix 2006-03-24 14:08:51 +00:00
Ben Gras
5501dcd01b Fix compiler warning 2006-03-24 14:07:45 +00:00
Ben Gras
1ba2b198b4 Compiler warning 2006-03-24 14:04:16 +00:00
Ben Gras
65723cba53 Fix compiler warnings for pax 2006-03-24 14:03:25 +00:00
Ben Gras
e1f91e1855 Fix compiler warnings 2006-03-24 13:55:04 +00:00
Ben Gras
21aae71cbe Bigger bigsh 2006-03-23 20:31:40 +00:00
Ben Gras
95ac103f34 Fix 2006-03-22 19:47:05 +00:00
Ben Gras
12e3d40eb4 *** empty log message *** 2006-03-22 19:39:26 +00:00
Ben Gras
986bd522b5 Sources are easypack packages, so get them from /software/, where easypack
packages are stored on the website.
2006-03-22 17:06:53 +00:00
Ben Gras
f28a4d0e9c .bz -> .bz2 2006-03-22 16:44:45 +00:00
Ben Gras
8a0e1e9575 Get rows from termcap it not available from term, or use 24 rows if none known 2006-03-22 15:32:44 +00:00
Ben Gras
9b7acd5257 Easypack and binpackage try build.minix first, in case a package includes
build itself.
2006-03-22 15:08:36 +00:00
Ben Gras
12ac96cf51 Fail if chmem fails 2006-03-22 15:08:14 +00:00
Ben Gras
844caeaacb Make lots of pty's (for telnet, ssh, xterms, etc) 2006-03-20 17:13:02 +00:00
Ben Gras
12f37ed99e Rename packme to packman. 2006-03-19 21:36:20 +00:00
Ben Gras
c2765f9fa6 *** empty log message *** 2006-03-18 01:10:17 +00:00
Ben Gras
e7fdb58915 *** empty log message *** 2006-03-18 00:35:33 +00:00
Ben Gras
42103a43c2 *** empty log message *** 2006-03-17 20:50:27 +00:00
Ben Gras
05915b5c5f Install setup in /bin 2006-03-17 20:22:39 +00:00
Ben Gras
7fc4f837bb usertime 2006-03-17 20:04:55 +00:00
Ben Gras
fb8c7e6fca Tinyhalt can't call REBOOT as PM can't deal with that any more. 2006-03-17 19:14:26 +00:00
Ben Gras
9e1428fb91 Exit status propagation fix from freebsd's sh 2006-03-17 17:33:20 +00:00
Ben Gras
ac9a157ba2 Absolute path feature for packit 2006-03-17 15:32:14 +00:00
Philip Homburg
d2e0cbc872 Fail when /etc/binary_sizes.$mode does not exist. 2006-03-17 15:25:21 +00:00
Ben Gras
816f031854 set_lids() not done. 2006-03-17 15:22:17 +00:00
Ben Gras
0275fbcd31 *** empty log message *** 2006-03-17 14:46:38 +00:00
Ben Gras
5583cdc48f Sed typo 2006-03-17 14:03:07 +00:00
Ben Gras
4cdc27d7dc Don't echo and grep 2006-03-17 14:02:17 +00:00
Ben Gras
d142190ae1 Mount readonly 2006-03-17 14:00:26 +00:00
Ben Gras
382ebe8f2b case sensitive 2006-03-17 13:55:12 +00:00
Ben Gras
c37acca419 unterminated quoted string..
found on line 666! argh
2006-03-17 13:45:40 +00:00
Ben Gras
26a59eea43 readlink(); check bounds
top: add 'system' cpu time to 'kernel', 'idle' and 'user'
2006-03-17 13:34:40 +00:00
Ben Gras
0c3199c3aa *** empty log message *** 2006-03-17 13:23:50 +00:00
Ben Gras
acac3c84f4 Fixes for absolute path names. 2006-03-17 12:27:20 +00:00
Ben Gras
7fb338622b Let top distinguish kernel time, explain in manpage. 2006-03-17 10:04:14 +00:00
Ben Gras
96783ed1f7 readlink command implementation + manpage 2006-03-17 09:27:26 +00:00
Ben Gras
827159c8ea *** empty log message *** 2006-03-17 08:15:13 +00:00
Ben Gras
e1d412d71e Top manpage + comment in code 2006-03-17 07:54:55 +00:00
Ben Gras
b833c48af2 Only postinstall if umount succeeded 2006-03-17 07:28:17 +00:00
Ben Gras
18388e4bf0 *** empty log message *** 2006-03-16 14:46:57 +00:00
Ben Gras
6a53881760 Packme - CD and network interface to packit 2006-03-16 14:36:07 +00:00
Ben Gras
af189061a8 *** empty log message *** 2006-03-16 13:38:47 +00:00
Ben Gras
6d14bd5ad3 *** empty log message *** 2006-03-16 12:49:53 +00:00
Ben Gras
5f9de84674 Tick calculation tweak 2006-03-16 01:44:06 +00:00
Ben Gras
fcd663d75f Top, welcome to minix.
Minix, welcome to the world of top.

A from-scratch top implementation for minix!
2006-03-16 01:29:51 +00:00
Ben Gras
84ba9dd4d3 Dinks for the (source/binary) package scripts 2006-03-15 17:02:46 +00:00
Ben Gras
91917f59e1 *** empty log message *** 2006-03-15 16:03:15 +00:00
Ben Gras
93f94cb7cc chroot in /bin for install script 2006-03-15 16:02:38 +00:00
Ben Gras
ff67776995 FS:
. loops checked for PID_FREE
  . exit broken down in exit and cleanup functions; when reboot happens,
    cleanup is done but not exit (as processes have not actually exited),
    this keeps drivers working
  . fixed a few uninitialized and unused variables

scripts:
  . new packaging system
2006-03-15 15:34:12 +00:00
Ben Gras
7879c008ae More stack for yacc (to compile nawk) 2006-03-15 15:16:43 +00:00
Ben Gras
e07a62161a . verbose recovery of tcpd
. chroot shows exit status to parent
2006-03-15 14:39:20 +00:00
Ben Gras
36fa006cec Let tcpd retry on errors. 2006-03-15 13:59:13 +00:00
Ben Gras
b351811f18 one-line descriptions 2006-03-15 11:50:15 +00:00
Philip Homburg
d2d193c7b6 More space for mdb. Terminate an error message with a newline. 2006-03-15 11:29:22 +00:00
Ben Gras
34b1f1c738 Create a ramdisk using 'ramdisk'. 2006-03-13 14:41:54 +00:00
Jorrit Herder
0619cce2ab *** empty log message *** 2006-03-13 10:33:50 +00:00
Ben Gras
6fe89cfbe8 Hack small and big fs into a single image. Must now set BIG or SMALL label. 2006-03-10 14:11:19 +00:00
Ben Gras
a0d72d263c update needs more stack in order to handle signals 2006-03-08 15:42:31 +00:00
Ben Gras
df361e818e Endpoint-enabled fix 2006-03-08 13:10:35 +00:00
Philip Homburg
69bd34a076 Added rawspeed. 2006-03-07 14:12:51 +00:00
Ben Gras
7465aa5b60 Always do sanity check now. (Possible now that we have lba48.) 2006-03-03 15:34:24 +00:00
Ben Gras
aa3932eb8b Added 'xxl' binsizes size for x.
Leave sh and make at normal size for 'big'.
Call binsizes normal after creating release.
2006-03-03 12:44:22 +00:00
Ben Gras
9f200f8807 Endpoint field name 2006-03-03 12:13:37 +00:00
Ben Gras
d1d4b5ae4d *** empty log message *** 2006-03-03 10:22:35 +00:00
Philip Homburg
f1bf17aa68 Allow bigger sizes. 2006-02-24 12:53:54 +00:00
Ben Gras
c69fe50658 Don't complain, urlget 2006-02-21 16:06:28 +00:00
Ben Gras
04429a150b Peter Boonstoppel's recwave update. 2006-02-21 16:04:18 +00:00
Ben Gras
fb240f6354 Peter Boonstoppel's audio changes. 2006-02-21 15:59:33 +00:00
Ben Gras
b89ee5b188 *** empty log message *** 2006-02-20 16:00:24 +00:00
Ben Gras
36a571d78f don't make clean first 2006-02-17 13:27:48 +00:00
Ben Gras
997d2dcbd3 Throw elvis out of the base system 2006-02-17 13:27:01 +00:00
Ben Gras
07308df374 Make 'make install' work 2006-02-17 13:12:07 +00:00
Ben Gras
77b0252796 Let saving random data work again 2006-02-17 13:11:20 +00:00
Ben Gras
151401bcb4 *** empty log message *** 2006-02-17 13:10:37 +00:00
Ben Gras
c162654310 Kick nvi out of base 2006-02-17 12:36:53 +00:00
Ben Gras
2827767745 bigmake.inc is obsolete 2006-02-16 20:56:34 +00:00
Ben Gras
7862ac9f42 *** empty log message *** 2006-02-16 15:44:52 +00:00
Ben Gras
f7132f1b1a Fixes for packaging system that will read .postinstall script and run it
if exists.

packit installs a package.
2006-02-16 15:43:37 +00:00
Philip Homburg
c3a88d15d8 Initial root filesystem is now on a ramdisk that is part of the image. 2006-02-15 11:18:21 +00:00
Ben Gras
c273654032 umount /usr first 2006-02-06 16:40:15 +00:00
Ben Gras
b561091d13 Run postinstall script 2006-02-06 16:17:54 +00:00
Ben Gras
e47299045c Packme fix. 2006-02-06 10:55:38 +00:00
Ben Gras
832bba4a56 Removed flex from base. 2006-02-03 15:52:12 +00:00
Ben Gras
28087e3f17 *** empty log message *** 2006-02-03 15:41:58 +00:00
Ben Gras
2b610431ad isodir prints one entry on each line without padding or trailing slashes
(for dirs) if the output isn't a tty, like ls, for use in shell scripts.
2006-02-03 12:59:58 +00:00
Ben Gras
f088bc5c6d Save name of cd drive for package manager 2006-02-02 18:20:09 +00:00
Ben Gras
d8341f678a Test for non-cd users 2006-02-02 18:14:42 +00:00
Ben Gras
a4e64f44bf Make easypack check for errors from urlget instead of trying with <HTML..
grepping.
2006-02-02 18:12:21 +00:00
Ben Gras
df1989aeae Make urlget return errors on non-200 http codes 2006-02-02 18:08:25 +00:00
Ben Gras
1bec73d61c fix builds not to do bigmakes
gzip is out of the base system
2006-02-02 17:13:07 +00:00
Ben Gras
ac71ad109e . rotate uses bzip2 instead of gzip
. binpackages runs a binpackage batch
. easypack does binsizes big first
2006-02-02 17:12:16 +00:00
Ben Gras
17f48fc972 i86 driver not built as package 2006-02-01 14:29:58 +00:00
Ben Gras
cbbace7d73 fix for no 'build' arg 2006-02-01 11:18:54 +00:00
Ben Gras
972dc358f5 cleanup 2006-01-27 14:44:05 +00:00
Ben Gras
d292ba7d21 build scripts accept 'build' argument to not install 2006-01-27 14:38:23 +00:00
Ben Gras
ae5ba10b9e Compile fix for major 2006-01-27 14:31:27 +00:00
Philip Homburg
3ef1d71b75 Fail when make in a subdirectory fails. 2006-01-27 14:14:51 +00:00
Ben Gras
dd284552b4 fixes to include major() and minor() in system header files (in a different
file than sys/types.h)

small binpackage update
2006-01-27 13:57:18 +00:00
Philip Homburg
21c06cfa1f Check contents of symbolic links. 2006-01-27 12:58:09 +00:00
Ben Gras
20add6baa2 . initial version of binpackage script
. build now used to make binary packages (and still in easypack), kick out
  makeme.sh
2006-01-23 12:22:06 +00:00
Ben Gras
8c1141d6b7 makeme.sh for binpackage 2006-01-23 12:15:05 +00:00
Ben Gras
817b4b8da5 Always install 2006-01-23 11:45:04 +00:00
Ben Gras
bea0bcc2eb Port of freebsd pax. 2006-01-20 14:45:27 +00:00
Ben Gras
24882f2409 Add -cnewer as find node 2006-01-19 09:36:49 +00:00
Ben Gras
303eba31a4 Removed bits from Makefile that are now in 'bigports' 2006-01-17 11:25:29 +00:00
Ben Gras
d9827f56ba Fixes for #defines growing a _ 2006-01-06 16:49:58 +00:00
Ben Gras
f6a3259ef8 Ported bsd truncate(1) 2005-12-23 16:36:00 +00:00
Ben Gras
f6e5052597 seteuid() and setegid() 2005-12-13 09:48:29 +00:00
Ben Gras
f18384d54c Make easypack remove tar after it's finished; and check for root, in
which case don't check for writability of source dir
2005-12-12 14:07:03 +00:00
Ben Gras
0a4047a8fe added -u flag to id for easypack 2005-12-12 13:55:58 +00:00
Philip Homburg
e0634c0b47 Mark ethernet fd nonblocking to avoid waiting for an ethernet address 2005-12-09 13:21:58 +00:00
Ben Gras
dd99ee67e0 Rename some #defines such as MAX_BLOCK_SIZE to _MAX_BLOCK_SIZE and such
so as to not pollute application namespace.
2005-11-14 18:41:27 +00:00
Ben Gras
1266ebcc93 last.c displays load average for uptime(1) 2005-11-14 15:51:28 +00:00
Philip Homburg
b3cf63b890 Added /dev/video. /dev/kbd and /dev/kbdaux are renumbered. 2005-11-09 15:46:15 +00:00
Philip Homburg
3fb6640115 Added tcpstat and udpstat. 2005-11-08 14:02:36 +00:00
Philip Homburg
3a0af50c80 ARP command. 2005-11-08 12:09:00 +00:00
Ben Gras
12f3eeaa01 Understand .SH "NAME" form too (e.g. perl manpages) 2005-11-04 10:50:49 +00:00
Ben Gras
a9702cca3a Let chmem return error code on failure 2005-11-03 16:58:10 +00:00
Ben Gras
26844e05e7 From: Giovanni <gfalzoni@inwind.it>
To: Ben Gras <beng@few.vu.nl>
Date: Wed, 02 Nov 2005 19:05:13 +0100
Subject: Re: [Minix-devel-l] Symbolic link

Using an alias for cd to set the prompt to display the current path
breaks the cd command.  I use in .ashrc:
PS3=$PS1
hostname=$(expr `cat /etc/hostname.file` : '\([^.]*\)')
cd() {          ## shows current directory as prompt
   command cd "$@"
   PS1="$PS3$USER@$hostname:`pwd` > "
}

If you change the macro in shell.h to:
#define SYMLINKS  0
the correct behaviour is restored.  Could you verify?
I think that the ash package needs the patch.
2005-11-03 15:25:18 +00:00
Ben Gras
5ccf545e1b ast@'s update 2005-11-02 20:01:37 +00:00
Ben Gras
edb541fb98 Display "select" blocking status correctly, and add check for wrong
blocking process number
2005-11-02 17:43:19 +00:00
Ben Gras
bc010b74a2 Andy's new easypack 2005-11-02 12:05:01 +00:00
Ben Gras
ceb6a62f6d Install ftpd sh executable. 2005-11-01 22:57:42 +00:00
Philip Homburg
c62239687d More stack for rlogind. 2005-10-24 14:06:36 +00:00
Philip Homburg
070f7673b9 More stack for cp, du, and synctree. 2005-10-24 14:04:22 +00:00
Philip Homburg
d9d4a4cacd kbdaux 2005-10-24 14:00:46 +00:00
Ben Gras
fd63815169 *** empty log message *** 2005-10-21 11:18:41 +00:00
Ben Gras
4e4d2f343c Make /dev/rescue 2005-10-21 10:00:03 +00:00
Ben Gras
7852300ec2 Don't beep (print bell characters) on rebooting 2005-10-19 10:36:10 +00:00
Ben Gras
742f18a87c Bugfix by Joren 2005-10-18 11:00:03 +00:00
Jorrit Herder
eb5ed13fd3 New libary functions.
Cleanup of halt.c.
2005-10-12 15:10:14 +00:00
Ben Gras
899d78ef0d Don't build vim tools 2005-10-12 09:57:09 +00:00
Ben Gras
c5b1394133 Fix warning (gcc) 2005-10-10 16:10:27 +00:00
Ben Gras
2e60aad2bb Fix 2005-10-10 09:03:11 +00:00