Commit Graph

25143 Commits

Author SHA1 Message Date
carrel eb7a3e7987 Display names for more frame buffer types
Patch from Klaus Klein.  Fixes port-hp300/3039
1997-02-01 13:04:36 +00:00
lukem 4c7551e4f0 don't display negative ETA upon SIGINFO because filesize isn't known 1997-02-01 11:26:34 +00:00
lukem 3a50014d60 [Yet Another Huge Ftp Commit - hopefully the last for a while,
barring any more little things people want added ...]

New features:
* progressmeter is now asynchronous, so "stalled" transfers can be
  detected. "- stalled -" is displayed instead of the ETA in this case.
  When the xfer resumes, the time that the xfer was stalled for is
  factored out of the ETA. It is debatable whether this is better than
  not factoring it out, but I like it this way (I.e, if it stalls for 8
  seconds and the ETA was 30 seconds, when it resumes the ETA will still
  be 30 seconds).
* verbosity can be disabled on the command line (-V), so that in auto-fetch
  mode the only lines displayed will be a description of the file, and
  the progress bar (if possible)
* if the screen is resized (and detected via the SIGWINCH signal), the
  progress bar will rescale automatically.

Bugs fixed:
* progress bar will not use the last character on the line, as this can
  cause problems on some terminals
* screen dimensions (via ioctl(TIOCWINSZ)) should use stdout not stdin
* progressmeter() used some vars before initialising them
* ^D will quit now. [fixes bin/3162]
* use hstrerror() to generate error message for host name lookup failure.
* use getcwd instead of getwd (it should have been OK, but why tempt fate?)
* auto-fetch transfers will always return a positive exit value upon failure
  or interruption, relative to the file's position in argv[].
* remote completion of / will work, without putting a leading "///".
  This is actually a bug in ftpd(1), where "NLST /" prefixes all names
  with "//", but fixing every ftpd(1) is not an option...
1997-02-01 10:44:54 +00:00
matthias cd80e9aae6 remove second RCS-Id line. 1997-02-01 09:51:48 +00:00
matthias 1a9434cf9f fix a typo 1997-02-01 09:34:03 +00:00
matthias a6befcbede * clean, depend :: -> : change
* use genassym.sh to create assym.h
1997-02-01 09:23:02 +00:00
cgd 9eb66b4bab back out some of the previous change. In particular, go back to
#defining MALLOC/FREE to use malloc()/free() if DIAGNOSTIC (not DEBUG)
since DIAGNOSTIC is what enables freelist consistency checking, and
don't force the definition of KMEMSTATS if DEBUG is defined (there's no
reason to, since users can do it themselves if they want it).
1997-02-01 05:33:32 +00:00
ghudson fc073ea198 Document the meaning of gid 0 to the su command. 1997-02-01 02:46:38 +00:00
cgd 3d3f4afbea use cnpollc() appropriately in getstr() 1997-02-01 02:28:48 +00:00
mhitch e65c38353c Use the disk offset to the boot block (first block in the partition) to
pass the block number of the boot partition to the kernel.  The kernel
will use the block number to determine which disk device the kernel was
booted from and set the boot device based on that instead of the old
"generic" method.
1997-02-01 01:46:26 +00:00
cgd 1a0b411d75 list 'a'+MAXPARTITONS-1, rather than just 'a'+MAXPARTITIONS, as last partition 1997-02-01 00:39:14 +00:00
mhitch 3af372d68a If the bootloader passes the boot partition offset, try to determine which
disk device was the boot device and use that for setroot().
1997-01-31 23:26:10 +00:00
mhitch 965c7a43fe Get the boot partition offset from the boot loader. Also pass it when
doing a reload.  The partition offset will be used to determine which
disk device was the boot device.
1997-01-31 23:18:56 +00:00
ghudson b440233d15 Document the recent change in group wheel semantics. Also, it wasn't
previously documented that anyone could su to root if group 0 didn't
exist.
1997-01-31 23:12:17 +00:00
carrel 3d7d96333d add NetBSD CVS ids 1997-01-31 23:12:12 +00:00
carrel 914d884a22 fixed grfinfo to properly display errors
added man page
1997-01-31 23:06:52 +00:00
carrel 05c0e704dc Make "options HP340" actually work without having "option HP360". 1997-01-31 23:01:21 +00:00
mhitch d8489a6f7e "options GENERIC" is obsolete, don't need the prototype for setconf() anymore. 1997-01-31 22:59:19 +00:00
mhitch 78d0024855 "options GENERIC" is obsolute. 1997-01-31 22:55:42 +00:00
gwr 186a6ad683 Add include <machine/mon.h> so this compiles, etc. 1997-01-31 22:33:47 +00:00
ghudson 1b6b85b894 As discussed on tech-userlevel, allow anyone to su if group wheel has
no members (if you have just "root" as a member, which is the shipped
default, then no one can su, as before).
1997-01-31 22:22:47 +00:00
pk 1cdfe6e18c Simplify a bit by using `next' statements, eliminating the `matched' variable.
Also, ignore lines with just whitespace, instead of reporting a syntax error.
1997-01-31 21:56:28 +00:00
pk d4e0e6e7a3 - remove two debugging (apparently) lines.
- generate a `return(0)' at the end of the generated `int main()'.
- append a newline when printing the rest of a `^quote[ ]+' line.
1997-01-31 21:38:16 +00:00
carrel 32f2102a58 Patch from thorpej to mark non-console grf's and ite's alive. 1997-01-31 21:16:50 +00:00
thorpej 2c94d6307c Fix typo introduced in new setroot code. (There's only just a little
irony in that, eh?)

From Klaus Klein <kleink@layla.inka.de>, PR #3173.
1997-01-31 20:20:53 +00:00
thorpej 604572daf0 This file is now obsolete. 1997-01-31 19:11:31 +00:00
thorpej 2ca27c5550 Garbage-collect "argdev". 1997-01-31 19:10:27 +00:00
cgd 95963edf4f add KMEMSTATS to ALPHA, clean up ports diagnostic/debug options 1997-01-31 18:00:33 +00:00
fvdl ffffefac59 nfsrv_readdirplus also suffered from the off-by-one loop problem; fix it too. 1997-01-31 16:12:26 +00:00
veego 87ba0ff405 :: -> : (pr #3154 with a minor change) 1997-01-31 10:16:07 +00:00
veego 8a514d0afa Remove the last change. fil.fr_icode ist char and NOT unsigned char.
Fix pr#3169
1997-01-31 10:10:11 +00:00
thorpej a2ea85a36d Faily major kernel change went in today; bump date to 199701 and
version to 1.2C.
1997-01-31 09:30:05 +00:00
thorpej bcdef359ef Fairly major kernel change went in today; bump the version to 1.2C. 1997-01-31 09:28:05 +00:00
fvdl 5710775a55 Fix order error in loop condition which could cause a crash in nfsrv_readdir().
Fixes PR #3170
1997-01-31 09:09:43 +00:00
thorpej bacf771428 Update for new file system grammar in the kernel config files. 1997-01-31 06:30:54 +00:00
thorpej bb1cdc5027 Yet Another NFSCLIENT -> NFS. (I must be getting tired.) 1997-01-31 06:13:42 +00:00
thorpej 04da46b022 Gah, missed another NFSCLIENT -> NFS. 1997-01-31 06:12:57 +00:00
thorpej 6ce149b26e Oops, missed an NFSCLIENT -> NFS. (grep is your friend) 1997-01-31 06:12:07 +00:00
thorpej 739819c9ba Adopt for new file system and root spec grammar. 1997-01-31 06:05:14 +00:00
thorpej ac90be5e3b Oops! NFSCLIENT -> NFS 1997-01-31 06:03:38 +00:00
thorpej 87e3085155 Adopt for new file system and root spec grammar. 1997-01-31 06:02:19 +00:00
thorpej d8096d0e4e Oops! NFSCLIENT -> NFS 1997-01-31 05:57:05 +00:00
thorpej 41809f9413 Adopt for new file system and root spec grammar. 1997-01-31 05:56:10 +00:00
thorpej 41a9e723e3 Adopt for new file system and root spec grammar. 1997-01-31 05:46:09 +00:00
cgd 6384f7c322 fix check_console() changes:
* prototype it before it is used (several ports compile with
  -Wstrict-prototypes -Wmissing-prototypes), so this is _necessary_.
* conform to C syntax (yes, that's right, it wouldn't parse).
* make error check less error-prone, + style fixups.
1997-01-31 05:25:24 +00:00
thorpej 7edaeb36ce Oops, remove straggler NFSCLIENT. 1997-01-31 05:20:06 +00:00
thorpej e0145dbc88 NFSCLIENT -> NFS 1997-01-31 05:18:51 +00:00
thorpej 739f23a219 This file is obsolete; this information is now generated by config(8). 1997-01-31 05:12:49 +00:00
thorpej 07c71aa7f7 Implement new grammar and semantics for specifying file systems
and the root device:

- New "file-system" keyword is used to configure file systems into
  the kernel.
- New way of specifying root device, which allows root file system
  type to always be specified.  Examples:

	config gennetbsd swap generic
	config sdnetbsd root on sd0a swap on sd0b
	config nfsnetbsd root on nfs

  are replaced by:

	config gennetbsd root on ? type ?
	config sdnetbsd root on sd0a type ffs swap on sd0b
	config nfsnetbsd root on ? type nfs
	config lenetbsd root on le0 type nfs

  Note that specific network interfaces may now be specified as
  the root device.
- swapgeneric.c is no longer used; generate a swap*.c file for each
  "config" line in the kernel configuration file.
1997-01-31 03:12:30 +00:00
thorpej 593fdd462d NFSCLIENT -> NFS 1997-01-31 03:06:06 +00:00