summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Added accent (dead) key support to syscons and kbdcontrol.yokota1998-01-073-39/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | With a keymap with accent key definitions loaded to syscons, you press an accent key followed by a regular letter key to produce an accented letter. Press an accent key followed by the space bar to get the accent letter itself. Code is based on the ideas and work by jmrueda@diatel.upm.es and totii@est.is. PR: i386/4016 - Added keywords for accent (dead) keys: dgra, dacu, dcir, dtil... - Recognize accent map definitions. <accent_map_definition> ::= <accent_key_name> <accent_char> <accent_map> <accent_key_name> ::= dgra | dacu | dcir | dtil | dmac | dbre | ddot | duml | dsla | drin | dced | dapo | ddac | dogo | dcar <accent_map> ::= <map_entry> | <map_entry> <accent_map> <map_entry> ::= ( <regular_letter_char> <accented_char> ) - Use ioctls PIO_DEADKEYMAP and GIO_DEADKEYMAP to set and get the accent key map table in syscons. - Made the output for the -L option more intelligible and look like initializers in kbdtables.h. - Reorganized print functions in order to print the accent key map.
* Typo.charnier1998-01-071-2/+2
|
* Make pstat.c compile, since in the new kernel code, VVMIO doesn'tdyson1998-01-061-2/+2
| | | | exist anymore.
* Correct the return value of ReportProtStatus() ("show proto").brian1998-01-061-2/+2
| | | | Submitted by: Dave Bodenstab <imdave@mcs.net>
* Added some notes on cut&paste functions and button assignment.yokota1998-01-051-1/+17
|
* Use err(3). Change Synopsis to SYNOPSIS (needed for macro expansion) andcharnier1998-01-052-29/+29
| | | | add SEE ALSO.
* o Allow the use of HISADDR as the first arg to "add".brian1998-01-056-120/+311
| | | | | | | | | | | | | | o Allow a forth argument in ppp.secret, specifying a new label. This gives control over which section of ppp.link{up,down} is used based on the authenticated user. o Support random address ranges in ppp.secret (not just in ppp.conf). o Add a AUTHENTICATING INCOMING CONNECTIONS section to the man page. o Add a bit more about DEFLATE in the man page. o Fix the incorrect "you must specify a password in interactive mode" bit of the manual. o Space things in the man page consistently. o Be more precice about where you can use MYADDR, HISADDR and INTERFACE in the "add" command documentation.
* Make it clear that using "add ...." in ppp.conf whenbrian1998-01-042-26/+112
| | | | | | | | not in -auto mode isn't a good idea, and that the add should be done in ppp.linkup instead. Change "add 0 0 HISADDR" to "add default HISADDR". It's more intuitive.
* Don't scribble on the stack if our input packet isbrian1998-01-041-1/+7
| | | | | bigger than our MRU. Moan and drop the packet instead.
* Initialize CcpInfo protocols to -1 (none, not OUI).brian1998-01-042-13/+18
| | | | Don't Call Term() for an algorithm that hasn't been Init()d.
* Restored xref to diskless(8). diskless(8) existed but was not installed.bde1998-01-011-2/+3
| | | | PR: 2153
* Handle frame relay, decode ATM VP/VC info, and handle ISO over FR.pst1998-01-011-2/+2
|
* Allow "set device" to close the open modem if we're inbrian1997-12-303-35/+39
| | | | | | | | | | | | | | | | | 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 :-(
* Typo in error message.brian1997-12-301-2/+2
|
* Use inet_aton() before gethostbyname()brian1997-12-301-6/+8
| | | | | Suggested by: Christian Sandberg <christian@yes.no> Eivind Eklund <perhaps@yes.no>
* Allow "add! dst mask gw" (note the ``!'') to do anbrian1997-12-305-32/+80
| | | | | | | | RTM_CHANGE if the RTM_ADD fails with an EEXIST. Allow "delete! dst" (note the ``!'') to silently fail if the RTM_DELETE fails with an ESRCH. Also, make the ESRCH and EEXIST error conditions more understandable to the casual observer.
* Added copyright (taken from natd.c).alex1997-12-301-1/+9
| | | | Approved by: Ari Suutari <ari@suutari.iki.fi>
* Don't complain that someone's changed the clock unless the timebrian1997-12-291-4/+5
| | | | | | after a select() interrupt is more than 1 second past what should have been the end time. We may just be running on an over-burdened machine.
* Show how much time is left before timing out in thebrian1997-12-295-13/+31
| | | | | `show timeout' output. Remove ipIdleSecs variable - it's not used.
* gateway -> gateway_enablejkh1997-12-292-4/+4
| | | | Pointed out by: Susie Ward <sward@voltage.net>
* Don't expect select() to adjust the passed time when it'sbrian1997-12-283-53/+46
| | | | | | | | | | | interrupted with a SIGALRM. In fact, select() sets the passed time to zero, making the previous implementation terminate always after 1/10th of a second ! Also, deal with someone changing the clock while we're sleeping (and restart the whole sleep). Dangers pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
* Fix a couple of stray apostrophes.jraynard1997-12-281-3/+3
|
* Initialize mbuf::pnext.brian1997-12-282-3/+4
| | | | Complain to LogERROR if we have internal inconsistency (not LogDEBUG).
* If a packet causes a dial, continue to test whether it'sbrian1997-12-282-17/+7
| | | | | blocked in the output filter. If so, proceed with the dial despite dropping the packet.
* Allow initial sequence numbers less than what we're expecting.brian1997-12-281-6/+21
| | | | | | | When CCP is originally negotiated, the only thing we can be sure about is that we've started adding data to the inflate dictionary either before or at the same time as the peer. This is ok, 'cos DEFLATE is a `sliding window' compressor.
* Fix top-of-form bogon.wollman1997-12-271-2/+2
|
* Another sysconfig -> rc.conf fix.steve1997-12-271-1/+1
| | | | | PR: 5374 Submitted by: Studded <Studded@dal.net>
* Typo/$Id$ police.alex1997-12-272-1/+6
|
* Write to the routing socket as uid 0. It's not good enoughbrian1997-12-273-4/+17
| | | | to just open it as uid 0 under OpenBSD.
* Fix some minor formatting bugs.steve1997-12-271-5/+8
| | | | | PR: 5216 Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
* Show who closes the diagnostic connection.brian1997-12-276-17/+28
| | | | | | Show the IP range (if specified) in "show ipcp". Close unused descriptors 0 and 2 in interactive mode. Pass (size_t *) rather than (int *) to sysctl().
* Remove bogus timeout code in Receive().brian1997-12-271-7/+13
| | | | | | | | Don't read(fd, buffer, 0) and think ppp has closed the connection when `buffer' is full, instead, flush most of buffer to the terminal and read() for a reasonable length. This fixes "show route" when there's more than 2k of routing output.
* Allow (and document) execution of commands from withinbrian1997-12-274-102/+281
| | | | | our chat script. You can now even run chat(8) - see ppp.conf.sample.
* "This is the add^H^H^Hinfo module."hoek1997-12-261-2/+2
| | | | | | | Pedantic comment fix. PR: bin/5188 Submitted by: Alex [3]garbanzo@hooked.net
* Use consistent spelling,hoek1997-12-253-6/+6
| | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :)
* Small bugfix: store $uid_start instead hard coded value 1000wosch1997-12-241-2/+2
| | | | in /etc/adduser.conf.
* Correct copyright.brian1997-12-244-96/+12
| | | | Requested by: Eivind Eklund <perhaps@yes.no>
* Cosmetic (style):brian1997-12-2424-162/+165
| | | | | | | sizeof(var) -> sizeof var sizeof type -> sizeof(type) Suggested by: J Wunsch <j@uriah.heep.sax.de>
* Use sizeof cftypes128 for NCFTYPES128 macro, not sizeof cftypes !brian1997-12-241-2/+2
| | | | Lucky that sizeof cftypes < sizeof cftypes128
* strncpy(x,y,sizeof(x)) --> strncpy(x,y,sizeof(x)-1)brian1997-12-236-16/+16
| | | | | Suggested by: Philippe Charnier <charnier@lirmm.fr> Theo de Raadt <deraadt@cvs.openbsd.org>
* - Added support for a new MouseMan model (4 buttons, no wheel).yokota1997-12-232-6/+30
| | | | | | | | | | | | | Based on the report from Dave Bodenstab. - Turn off PnP COM device enumeration procedure if the user explicitly specifies a protocol type with the "-t" option. - Accept "-t auto". Now the user may entirely omit the "-t" option in the command line, or specify "-t auto" in order to make moused detect an appropriate protocol type automatically. In the previous version, moused did so only if the "-t" option is absent in the command line. ("-t auto" won't disable PnP COM device enumeration.) - Updated the man page.
* YTK fix.alex1997-12-221-3/+6
|
* Don't forget to ntohs(sin.sin_port) (DUH!)brian1997-12-221-3/+3
|
* Charles Mott created these (and told me via email thatbrian1997-12-214-8/+8
| | | | they were BSD copyright). Use his name, not mine.
* Add (BSD) copyright headers.brian1997-12-2128-61/+729
|
* Cosmetic: Test for comment lines after the lenght has been established.brian1997-12-211-4/+2
| | | | Pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
* Allow multiple (comma seperated) devices on the "set device" line.brian1997-12-216-51/+81
| | | | Submitted by: Derek Inksetter <derek@saidev.com>
* Cosmetic: Tidy up.brian1997-12-211-19/+12
| | | | Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
* Mention that leading whitespace is ignored when identifying comments.brian1997-12-212-4/+6
|
* Zero struct sockaddr_??s before filling them in.brian1997-12-212-2/+6
| | | | Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>
OpenPOWER on IntegriCloud