Commit graph

12675 commits

Author SHA1 Message Date
Andrey A. Chernov cb7fddc6fa Log phone as LOG_PHASE, it is valuable enough for multi-phone environment.
Add missing return when terminal mode can't be re-established due
to modem not opened.
1996-03-08 12:34:40 +00:00
Andrey A. Chernov f7163ba751 Make user-level PPP on-demand with dynamic IP actually work.
Story so fr:
1) PPP on-demand with static IP works.
2) PPP on-demand with dynamic IP says "Host is down" on any IP request
The problem is that tun driver check its READY state by *first* ifconfig address.
i.e.:
set ifaddr <addr> <addr2>
works (static IP) and
set ifaddr 0 <addr2>
not works (dynamic IP) because first address is equal 0.
Since tun is always POINTOPOINT interface, dst address is more meaningfull.
I change checking to second (dst) address in READY test.
PPP on-demand finally works.
1996-03-08 11:07:07 +00:00
Andrey A. Chernov 069c46d51d Add "ppp 3000/tcp" for Use-level PPP in daemon mode (-auto) 1996-03-08 10:54:00 +00:00
Andrey A. Chernov 6a076cdd9a Fix several places where interface netmask was in place of route netmask
Fix dialout device name
Add multi-phone example
1996-03-08 09:39:45 +00:00
Andrey A. Chernov 1dff3fc565 1) Add multi-phone dialing/redialing, several phones separated by ':'
2) Improve on-line help subsystem
3) Make 'term' mode works even carrier dropped (old code
close line forever here)
4) Make 'term' mode 8bit clean.
5) Improve manual page
6) #ifdef DEBUG diagnostic about missing optional files.
7) Don't put interactive dialing info to logfile
1996-03-08 09:03:09 +00:00
Bruce Evans bb859b2bb8 Saved 14 bytes by avoiding gas braindamage and 8 bytes by better
instruction selection, for a total of 16 bytes after padding.  Whee.
1996-03-08 07:27:52 +00:00
Wolfram Schneider 6add522f93 Option -f implemented (remove + create)
option -f and -i are exclusive
respond `Y' is equal to `y'
fix usage string
remove isatty(3) check

Reviewed by:	pst
1996-03-08 06:58:08 +00:00
Bruce Evans cc494d0cce Probe the keyboard if PROBE_KEYBOARD is defined instead of when `notyet'
is defined and FORCE_COMCONSOLE isn't defined.

Don't compile any keyboard probing code if PROBE_KEYBOARD isn't defined.

Makefile:
Removed -I paths.  They weren't used, and the one to /sys hasn't worked
since the source directory was moved down one level.
1996-03-08 06:29:07 +00:00
Bruce Evans 27253a3d9c Made the timeouts in gets() machine-independent. Use the BIOS tick
counter instead of the BIOS time call to save space.

Reworked the anti-noise timeout to avoid duplicating code.  The timeout
in the outer loop is now restarted after every noise timeout, so it is
now possible for the total timeout to be infinite; previously, the maximum
total timeout was 150000 seconds.
1996-03-08 06:11:33 +00:00
Bruce Evans 0ae65c1a2b Load %fs with the flat data segment selector while in protected mode.
This will be used for convenient access to the BIOS variables.
1996-03-08 05:43:46 +00:00
Bruce Evans c50f3ecf5a Fixed restoring segment descriptors in prot_to_real(). The descriptors
must have limit 0xffff and attribute G = 0 (byte granularity) as well
as other properties that they already had (see e.g., the Intel i486
manual section 22.5).  Not restoring them broke Ctrl-Alt-Del in the
bootstrap for my ASUS P55TP4XE system, probably because the Award BIOS
does anti-tracing stuff involving inaccessible %esp's.

asm.S:
Don't use lret in prot_to_real().  This reduces the risk of using an
incompletely intialized stack segment and saves space.

Submitted by:	"K.Higashino" <a00303@cc.hc.keio.ac.jp> (on 13 Jan 1995!)
		reworked by me
1996-03-08 05:15:54 +00:00
Joerg Wunsch e522d8a28f Work around the problem that our -current pppd can no longer talk
with our iijppp as a client.

Simply shut down the CCP layer if no matching protocol could be found.

Reviewed by:	peter
1996-03-08 01:21:53 +00:00
Wolfram Schneider c9a41a43bc [Ee]rrs -> Errs errs
save one process for make clean
1996-03-07 23:39:46 +00:00
Wolfram Schneider b0205aff7f fix usage string
respond `Y' is equal to `y'

Add a note how to delete file name with beginning `-'
1996-03-07 23:26:59 +00:00
Jordan K. Hubbard c8f22f0e34 Add an Italian keyboard entry. I'm not exactly sure if it's ISO standard
since I've no idea what the ISO standard for Italian keyboards is, but we
can always adjust it later and this is better than the nothing we had before.
Submitted by:	Gianmarco Giovannelli <gmarco@masternet.it>
1996-03-07 23:20:30 +00:00
Poul-Henning Kamp 933fb911e5 Phkmalloc strikes again.
Found by:	asami
1996-03-07 08:59:53 +00:00
Satoshi Asami 7041f8b545 Recommend installing additional port documents to ${PREFIX}/share/doc,
conditional to ${NOPORTDOCS} (commented out by default in /etc/make.conf).
1996-03-06 09:45:04 +00:00
Satoshi Asami e964528dea Add NOPORTDOCS, similar to NOMANCOMPRESS. It prohibits additional
port documentation (which can be things like postscript manuals
describing every single of the 65,536 options) from being installed
into ${PREFIX}/share/doc.
1996-03-06 09:10:23 +00:00
Satoshi Asami 26987878a0 Remove reference to ${KEYWORDS}. 1996-03-06 09:04:43 +00:00
Satoshi Asami 6c342b58d5 Delete all references to the variable ${KEYWORD} that never quite flew.
(Sorry Jordan, but your other idea (${CATEGORIES}) was a major hit.)

Also remove the keyword field in the INDEX line and replace it with
two columns: build-time dependencies and run-time dependencies.  They
are both list of package names (minus the ".tgz").
1996-03-06 08:14:26 +00:00
Satoshi Asami 00ce5fe5f4 Replace absolute pathnames with variables, so that
(1) people can have weird paths and it will still work, and

(2) if you really need to use /usr/local/bin/cp instead of /bin/cp,
    you can do that by changing only one line.

Submitted by:	wosch
1996-03-06 08:08:16 +00:00
Jordan K. Hubbard 8f3f5221b4 Put the stty back here. 1996-03-06 05:25:01 +00:00
Jordan K. Hubbard f5ca79e6f8 Add back the stty commands I nuked - bad idea, sorry. 1996-03-06 05:23:00 +00:00
John Dyson 45952afcc7 Fix a problem in the swap pager that caused some of the pages that
were paged in under low swap space conditions to both loose their
backing store and their dirty bits.  This would cause pages to
be demand zeroed under certain conditions in low VM space conditions
and consequential sig-11's or sig-10's.  This situation was made
worse lately when the level for swap space reclaim threshold was
increased.
1996-03-06 04:31:46 +00:00
Jordan K. Hubbard 29798fdb57 Correct a typo in the sample AMD flags. 1996-03-06 03:59:15 +00:00
Joerg Wunsch 5320fd40a2 Add a description of how to setup sendmail for use with UUCP.
Ideally, this should go into the ``mail'' section of the handbook, but
i don't have the time to write all of this right now, so i've put it
into the FAQ.
1996-03-05 23:48:02 +00:00
Paul Traina 92b5c495f0 Here's a patch that fixes the problem with modem syncronization
problems with tip.  There are some hardwired timeouts that ignores the
delay that you can set in the modem configuration file.  The hard-wire
delay is to short if the modem has to switch major modes and reset
(ie going from fax to data mode with a reset).

Now my modem transistions from HylaFax control to tip control and ppp mode
without any problems.

Submitted by:	Douglas Ambrisko <ambrisko@tcs.com>
1996-03-05 19:11:49 +00:00
Poul-Henning Kamp 56f799e90c Manpage on the "Laplink" TCP/IP support.
Reviewed by:	phk
Submitted by:	Andrew.Gordon@net-tel.co.uk
1996-03-05 16:49:57 +00:00
Bill Paul 5cab6d3187 Make yppwupdate script redirect stderr to stdout; if we don't do this,
the error messages (if any) from yppush will end up on the system console
instead of the /var/yp/ypupdate.log file.
1996-03-05 15:41:02 +00:00
David Greenman 1821ce26bf Implemented negative caching on uid/gid lookup failures. This won't
matter much on some systems, but on ftp servers (like wcarchive) where
you run with special stripped group and pwd.db files in the anonymous
ftp /etc, this can be a major speedup for ls(1).
1996-03-05 13:11:42 +00:00
David Greenman 26cc34f157 Use '-fstype ufs' rather than '-fstype local' on the find command to avoid
special non-filesystems like procfs from being included.
1996-03-05 13:07:04 +00:00
Satoshi Asami e5009da0f9 Make xargs take into account the bytes occupied by the environment.
Original by: peter
1996-03-05 07:43:40 +00:00
Nate Williams 7bd7ca5023 Don't try running ruptime if /var/rwho doesn't exist. 1996-03-05 05:35:48 +00:00
Mike Pritchard d0e7bd781c Fixed Wolfram Schneider's entry and added Bill Fenner's info
so that the developer section isn't garbaged up.

Suggestion: anytime you mess with the handbook, build it
and actually look at the result with your favorite browser, since
a one character typo can mess up the whole thing.
1996-03-04 23:08:37 +00:00
Mike Pritchard f24a199983 Added a section explaining how to configure/use disk quotas.
Reviewed by:  Guy Helmer, John Fieber, Sean Kelly
1996-03-04 22:50:30 +00:00
Peter Wemm dbc09a6375 update linux_times() and linux_utime() emulation,
fix sigsuspend() (actually back out my recent change there)
and regen the syscall tables..
1996-03-04 21:03:11 +00:00
Peter Wemm 4613eba388 Oops.. I was wrong about the change to sigsuspend. The library interface is
different to the syscall under Linux, back this out.

Use correct arg type for linux_utime()
1996-03-04 20:58:47 +00:00
Mark Murray 5fff263854 Make "make tests" actually work. This is an extremely crude hack, but
I figure that as this is not part of any automated processes, WTH.
1996-03-04 16:06:03 +00:00
Poul-Henning Kamp 6ec922bb91 Validate the length before we trust it.
Submitted by:	Andrew.Gordon@net-tel.co.uk
1996-03-04 15:58:25 +00:00
Bill Paul c3d77d3003 Fix small bug in get_yp_master(): this function is used to look for
a master server and initialize the suser_override flag, but in a non-NIS
environment is should be smart enough to just leave the flag cleared
and return (unless forced with a command-line argument like -y).
Otherwise, it will return an NIS-related error even if NIS isn't
turned on.

Pointed out by: ache
1996-03-04 15:34:43 +00:00
John Dyson 739a189a10 Fix pstat to sync up with recent changes with swap space allocation. 1996-03-04 12:40:29 +00:00
Peter Wemm daf818451b Add support for LINUX_TCSETAW and LINUX_TCSETAF, which Linux-pine uses.
Submitted by: Robert Sanders <rsanders@mindspring.com>
1996-03-04 11:15:19 +00:00
Andrey A. Chernov 1d537e96a3 Eliminate multiply uucplock.c copies 1996-03-04 10:46:29 +00:00
Andrey A. Chernov 1e6ef3cd8c Eliminate multiply uucplock.c 1996-03-04 10:38:42 +00:00
Andrey A. Chernov 70a41bdd99 Prepare to eliminate multiply uucplock.c copies 1996-03-04 10:35:45 +00:00
John Dyson 8a02c104f9 Fix a problem that pages in a mapped region were not always
properly invalidated.  Now we traverse the object shadow chain
properly.
1996-03-04 02:04:24 +00:00
Jordan K. Hubbard 8ada6a5cad Put all the major contributors into alphabetical order by last name
so it looks just a little more professional (and helps me figure out
when/if someone's already been added!).

Add Wolfram Schneider to list of developers.
Update latest changes from avail.
1996-03-03 22:07:57 +00:00
John Dyson 836e5d1360 In order to fix some concurrency problems with the swap pager early
on in the FreeBSD development, I had made a global lock around the
rlist code.  This was bogus, and now the lock is maintained on a
per resource list basis.  This now allows the rlist code to be used for
almost any non-interrupt level application.
1996-03-03 21:11:08 +00:00
Peter Wemm 185dc76169 Deal with NetBSD byte-swapped a.out magic when checking the MID to exclude
linux binaries from the *BSD a.out loader. This is a hack, but lets me run
static NetBSD binaries.  Dynamic binaries are a much bigger problem because
the shared libraries would conflict with our native libraries, so a
/compat/netbsd alternate namespace and translation would be needed.
1996-03-03 20:06:53 +00:00
John Dyson ef5dc8a96d Keep fork from over extending the number of processes. Since u_map is
sized exactly for maxproc, the occasional overrunning the maxproc limit
can cause problems.
1996-03-03 19:48:45 +00:00