summaryrefslogtreecommitdiffstats
path: root/bin/ed
Commit message (Collapse)AuthorAgeFilesLines
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-091-2/+2
|
* Add the new standard EXIT STATUS section where appropriate.ru2005-01-161-33/+33
| | | | Sort standard sections in the (documented) preferred order.
* no need to have break; after return;charnier2005-01-161-1/+1
|
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-1/+1
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Document missing multibyte character handling in utilities specifiedtjr2004-07-031-1/+5
| | | | by POSIX.
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Don't check for the existance of src/crypto/ for building items thatmarkm2003-07-241-1/+1
| | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient.
* This code isn't WARNS=6 clean in the standard (crypto) caseru2003-07-201-0/+1
| | | | | due to bugs in OpenSSL headers. I was testing in the wrong environmement: standalone build without crypto/ sources.
* Make this code WARNS=6 clean again (after GCC 3.1.1 import).ru2003-07-202-14/+13
| | | | Submitted by: Marius Strobl <marius@alchemy.franken.de>
* Unbreak NOCRYPT buildworld.ru2003-06-291-1/+1
| | | | Reviewed by: markm
* Get this area compiling with the highest WARNS= that it works with.markm2003-06-131-0/+1
| | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386
* Fix for the NO_OPENSSL case.markm2003-06-081-1/+1
| | | | Reported by: Marius Strobl <marius@alchemy.franken.de>
* Make ed compile in the NOCRYPT case.jhay2003-06-031-0/+4
| | | | Reviewed by: markm
* Modernise. Use libcrypto for DES instead of libcipher.markm2003-06-023-52/+51
|
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* Fix a broken reference to locale(5) and point to re_format(7) too for ankeramida2003-05-031-2/+3
| | | | explanation of `collating elements'.
* Quiet warnings about copyright[].obrien2003-05-011-0/+2
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Replace various spellings with FALLTHROUGH which is lint()ablecharnier2002-08-251-2/+2
|
* Fix some easy WARNS.markm2002-07-312-8/+8
|
* mdoc(7) police: a bit of tidying.ru2002-07-041-55/+126
|
* Consistently use __FBSDIDobrien2002-06-308-33/+16
|
* Add a description of the restrictions that red(1) imposes to users,keramida2002-06-241-7/+24
| | | | | | | | | | and a warning that this "restricted mode" can be bypassed easily by using symlinks, so that users don't depend too much on it. PR: docs/35940 Submitted by: Gary W. Swearingen <swear@blarg.net> Reviewed by: jmallett MFC after: 1 week
* Bogusness may have happened using a variable assignment here before, butjmallett2002-06-201-1/+1
| | | | | | | | proper parens mean that fd is always set by open(2) [in any part of C], and so we can accurately check for it returning -1, without feeling like we need to initialise fd to -1 in its declaration. In other words, fix a stylistic/bogus nit.
* We have a place for extern declarations of global variables in ed.h, do notjmallett2002-06-202-3/+2
| | | | use main() to do it locally.
* Use `The .Nm utility'charnier2002-04-161-11/+18
|
* o __P has been reovedimp2002-02-029-258/+150
| | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o gc some #ifdef sun ... #endif code Approved by: arch@, new style(9)
* -lcipher is an installable library.ru2001-12-061-2/+2
|
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-1/+0
| | | | | | set WARNS=0. Reviewed by: mike
* File positions are off_t nowdays, not long, so:ache2001-09-011-3/+3
| | | | | | | | | | | | | fseek -> fseeko ftell -> ftello NOTE: that fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long.
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-3/+3
|
* o Correctly define rcsid.mike2001-08-0610-182/+158
| | | | | | | | | | | o Add consts where appropriate. o Rename some variables that were shadowing global declarations. o Remove register storage-classes. o Make errmsg a const, so we can just set error messages instead of using sprintf/strcpy. o Set WARNS=2 Reviewed by: bde, des
* Remove whitespace at EOL.dd2001-07-151-7/+7
|
* Back out previous commit: it doesn't help anything since write_file(),dd2001-06-281-2/+2
| | | | | | | | which is also called from handle_hup(), uses stdio(3). Furthermore, this means that calling exit(3) (via quit()) there is required to flush the buffer write_file() was working on. Submitted by: bde
* Don't call exit(3) from a signal handler.dd2001-06-241-2/+2
| | | | Obtained from: OpenBSD
* Correct a spelling nit (a -> an).dd2001-06-041-1/+1
|
* Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by oneimp2001-05-293-16/+11
| | | | | | | error caused by the -1 being on the wrong side of the comparison. This would not cause an overflow, as near as I can tell, because we truncate later anyway. We'd just fail to get a diagnostic for 1024 and 1025 byte file names.
* Remove a comment which seemed to confuse makewhatis:ben2001-03-291-1/+0
| | | | | | | | ben@freefall:~$ whatis ed ed(1), -(1) - ed, red text editor PR: 25164 Submitted by: Rich Morin <rdm@cfcl.com>
* Switch from using rand() or random() to a stronger, more appropriate PRNGkris2001-03-051-8/+1
| | | | | | (random() or arc4random()) Reviewed by: bde
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-3/+4
|
* Prepare for mdoc(7)NG.ru2000-12-181-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-151-14/+11
|
* Constifykris2000-11-271-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Properly declare the multiple-columns list.ru2000-11-061-1/+1
|
* Finish conversion from man(7) to mdoc(7).ru2000-11-061-9/+13
|
* Include sys/types.hbrian2000-10-162-0/+4
|
OpenPOWER on IntegriCloud