Commit Graph

26670 Commits

Author SHA1 Message Date
helbig
197f0b69d7 Don't ignore empty components of $PATH, i. e. colon at the beginning,
the end or two successive colons.

Reviewed and improved by wosch.
1998-01-02 13:46:25 +00:00
msmith
d9810a8a17 Specify the minor number correctly when creating devfs entries. 1998-01-02 13:35:06 +00:00
msmith
7f5886c9f1 Sample program using the ppi(4) interface to control LCD modules.
Currently supports the (very common) Hitachi HD44780, but can be
easily modified to add other chipsets.
1998-01-02 12:10:56 +00:00
helbig
7f11229721 Add Spanish LC_TIME file.
PR:		conf/5409
Submitted by:	Jose M. Alcaide, thanks!
1998-01-02 11:44:29 +00:00
asami
9e70bbf772 About one month worth of bsd.port.mk improvements.
(1) Allow multiple checksums of same file.
Submitted by:	hoek

(2) Add "deinstall" target as an alias to "pkg_delete $(make package-name)"
    (well, something like that, see diff for details).

(3) Add new port variable USE_AUTOCONF.   It appends BUILD_DEPENDS to
    devel/autoconf and runs autoconf before configure.
Submitted by:	ohashi@mickey.ai.kyutech.ac.jp (Takeshi Ohashi)

(4) Clarify USE_X11 and USE_IMAKE usage.

(5) Add new user-overridable variable MASTER_SITE_KDE.
Submitted by:	vanilla

(6) Add support for "Latest" package links.
Idea by:	Terry Lambert

(7) Try to catch obsolete tcl/tk installations that could cause problems.
Annoyed by various bogus commits by:	you-know-who
1998-01-02 10:37:14 +00:00
jkh
a73e9c4936 unborkify osreldate.h install (change \ to / - someone was in DOS mode! ;) 1998-01-02 09:39:12 +00:00
msmith
91062cd50c Add a manpage for the 'ppi' device, detailing its use and feeding. 1998-01-02 09:31:18 +00:00
kato
6fb547d5b3 Sync with sys/i386/i386/microtime.s revision 1.40. 1998-01-02 09:31:16 +00:00
msmith
8acca4f677 Actually implement the internals of the 'ppi' device.
It is now possible to control the various parallel port signals from
user-space programs without having to resort to opening /dev/io
directly.
1998-01-02 09:30:39 +00:00
kato
721b8ddd8c Fixed wrong name in .file statement. 1998-01-02 09:29:15 +00:00
julian
8895d4eccd add copyrights 1998-01-02 07:31:07 +00:00
ache
776489e757 Remove unneeded code left from testing 1998-01-02 05:05:20 +00:00
ache
533db3b201 1) Redo internal interface to be more latest ncurses-like
2) Fix winsdel called in last line of the window (nothing happens in
   old variant)
3) Add range checks to wscrl() and internal soft scroll function
1998-01-02 04:36:51 +00:00
steve
8a719f4f6a Fix another problem with clearing the last line of the
display.

Submitted by:	Kouichi Hirabayashi <kh@mogami-wire.co.jp>
1998-01-01 23:27:10 +00:00
steve
c67ee699e5 Install osreldate.h from ${.OBJDIR}.
Submitted by:	Bruce Evans <bde@zeta.org.au>
1998-01-01 23:17:05 +00:00
gj
f1d1f72983 Reviewed by: Joerg Wunsch
In sppp_chap_input:
1) in the CHAP_CHALLENGE case don't output the peer's name if it is not
what we expected (DEBUG) since it will be printed out in the course
of events anyway.
2) in the CHAP_SUCCESS case test whether the peer is required to
authenticate himself [(sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO))],
otherwise the state machine may never switch into the network state.
I saw this case against 2 different ISPs; they never bothered to
authenticate themselves to me.

In sppp_pap_input:
in the PAP_ACK case do the same as in 2) above for the same reason.
1998-01-01 21:27:18 +00:00
ache
1ecfa643a9 1. EOF was returned when the buffer size was larger than INT_MAX. This
case has very little to do with the output size being larger than
   INT_MAX.
2. The new #include of <limits.h> was disordered.
3. The new declaration of `on' was disordered (integer types go together).
4. Testing an unsigned value for > 0 was fishy.

Submitted by: bde
1998-01-01 20:15:58 +00:00
wosch
4da8ac54d4 Re-order the for loop for multiple procnames. This decrease the
system load and makes a

      killall ppp rlogin ftp ssh ping traceroute telnet

a lot faster.

Remove duplicated pid's before killing (killall lynx lynx).
1998-01-01 17:24:43 +00:00
alex
017d9a9242 Added missing caddr_t --> void * conversions for sys/mman.h functions.
Submitted by:	bde
1998-01-01 17:07:46 +00:00
wosch
aaa53a4c55 Do not install the file `zipcodes'. It is now a port (misc/na-zipcodes).
Fix INSTALL variables.
1998-01-01 14:05:30 +00:00
msmith
1b95d36e35 Don't try to call into BIOS32 handlers outside the normal ROM
address range.  They may have been trashed earlier in the boot
process, or the directory header may simply be bogus.

PR:		5140
Submitted by:	Joel Faedi <Joel.Faedi@esial.u-nancy.fr>
Brought-to-attention-by: Derek Inksetter <derek@saidev.com>, bde
1998-01-01 13:26:55 +00:00
bde
f8738048d0 Fixed cosmetic bugs:
- wrong name in .file statement.
- stale comment about CONSPEED.
- style bugs in comments.
- inconsistent defaulting of operand sizes (should never depend on default).
- inconsistent choosing between je and jz (should always use je).
1998-01-01 13:01:31 +00:00
bde
0c0865622b Removed unused #includes. 1998-01-01 12:41:44 +00:00
bde
e94cdac858 Removed unused #includes again. They thrashed when mfs_reclaim thrashed
to ufs_reclaim and back.
1998-01-01 12:40:25 +00:00
bde
c23b918f2c Restored xref to diskless(8). diskless(8) existed but was not installed.
PR:		2153
1998-01-01 11:02:45 +00:00
bde
f36a79fc1a Install diskless.8. 1998-01-01 10:50:53 +00:00
bde
41c429ea7e Sorted lists. 1998-01-01 10:45:52 +00:00
bde
55079db420 skey.access.5 has been rotting here for more than 3 years. The version
in libskey is used.
1998-01-01 10:39:40 +00:00
bde
34c0486acc Sorted lists. Use the same style as most Makefiles for `MLINKS+=' lines. 1998-01-01 10:12:14 +00:00
bde
40182de9c0 Install devfs_remove_dev.9 and suser.9. 1998-01-01 09:40:21 +00:00
bde
8cf5931511 Don't test for executability of /usr/sbin/sysctl [before execing
plain sysctl].  We already assumed that many standard commands
exist, and sysctl is not special.
1998-01-01 09:04:47 +00:00
bde
62111cffb4 Use a real malloc type for M_LINKER instead of #defining it as M_TEMP.
Fixed a comment.
1998-01-01 08:56:24 +00:00
bde
fc1927fdd5 Use a real malloc type for M_LINKER instead of #defining it as M_TEMP. 1998-01-01 08:55:37 +00:00
bde
f65c51a04d Moved the SMP declarations of INTREN() and INTRDIS() to the correct header,
i.e., the same header as corresponding non-SMP #defines.
1998-01-01 08:47:17 +00:00
bde
9c98de2bba Fixed missing initialization of mp->mnt_stat. At least vm depends on
at least mp->mnt_stat.f_iosize being nonzero.

PR:		5212
1998-01-01 08:28:26 +00:00
pst
a472b7fd71 Handle frame relay, decode ATM VP/VC info, and handle ISO over FR. 1998-01-01 04:13:54 +00:00
alex
d64dcc2cd6 Typo fix. 1998-01-01 02:34:14 +00:00
alex
47c4182543 Removed /etc/ld.so.conf reference from FILES section (people get
confused when they can't find it), but leave the reference to it
as being a standard filename (which doesn't imply that it exists).

Discussed with:	jkh
1998-01-01 02:31:47 +00:00
pst
a610ac10b8 Add frame-relay decode support. 1997-12-31 21:50:31 +00:00
obrien
886e6a5cbc Explain that MAXMEM maynot be nessicary for detection of >64MB RAM. 1997-12-31 21:46:17 +00:00
helbig
d3af2f22a4 Ensure 2 letter abbreviations of weekdays (even if LANG=C
and invoked as "cal").
1997-12-31 15:55:08 +00:00
helbig
ab7e7a033c Ensure stdout is line buffered.
Change "pat" -> "re" in man page.
1997-12-31 12:25:35 +00:00
wosch
6f7edd1397 A Happy New Year! 1998. 1997-12-31 11:04:01 +00:00
ahasty
7eec77813b Reviewed by: Amancio Hasty
Submitted by:	Jonathan Hanna <pangolin@rogers.wave.ca>
The patch is for a Hauppauge Win/TV dbx with FM. I still need to
config OVERRIDE_TUNER, but it works nicely.
1997-12-31 05:45:56 +00:00
brian
ac231ad858 Suggest using /var/tmp for local domain `diagnostic' sockets,
rather than making a new directory.  Also, suggest 0600
permissions (mask: 0177).

Dangers noted by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-31 03:58:45 +00:00
alex
eac766f136 Drop the use of caddr_t in conjunction with mmap(2). 1997-12-31 03:15:06 +00:00
alex
e87ef9d530 caddr_t --> void * 1997-12-31 02:35:29 +00:00
alex
fb5c76c176 Convert caddr_t --> void * for sys/mman.h functions.
mlock, mmap, mprotect, msync, munlock, and munmap are defined by
POSIX as taking void *.  The const modifier has been added to
mlock, munlock, and mprotect as the standard dictates.

minherit comes from OpenBSD and has been updated to conform with
their recent change to void *.

madvise and mincore are not defined by POSIX, but their arguments
have been modified to be consistent with the POSIX-defined functions.
mincore takes a const pointer, but madvise does not due to the
MADV_FREE case.

Discussed with:	bde
1997-12-31 01:22:01 +00:00
brian
43004709f3 Don't suggest creating sockets in /var/run as we create
sockets as our original uid.  Suggest creating /var/ppp
with perms 1777 instead.

Pointed out by: Masafumi NAKANE <max@wide.ad.jp>
1997-12-30 23:34:35 +00:00
brian
69deecd8ae Allow "set device" to close the open modem if we're in
interactive mode.
Use `netfd' in fcntl() and tc[gs]etattr() calls rather than
the hard coded descriptor 0.
Use _FILENO constants from unistd.h

This un-breaks things after my recent `close(0)' in interactive
mode.

Close STDIN_FILENO, and open _PATH_TTY O_RDONLY as `netfd'.  This
has the effect of allowing `show route' to output more than about
a page of data (on FreeBSD, not OpenBSD....).  I have no idea why,
except that it was a direct consequence of the tcsetattr() in
TtyCommandMode().  My previous fix (closing descriptor 0) `fixed'
this because all calls to tcsetattr() failed :-(
1997-12-30 23:22:31 +00:00