/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
bin/ed/
..
USD.doc

- add a margin when formatting w/ -Tascii - some punctuation fixes - typos and other small stuff

22 года назад
Makefile

Remove references to BACKWARDS.

8 лет назад
POSIX

delete restricted ed. no one will ever use this. never documented or enabled.

12 лет назад
README

Remove references to BACKWARDS.

8 лет назад
buf.c

correct indentation; no functional change ok tb@

2 года назад
ed.1

grammar fix; from S M

4 года назад
ed.h

Fix the SIGHUP signal race. ed's "event loop" operates a getchar(); check the hup flag before and after that call, when the buffer structures are stable for write_file() to work. Remove the hup handling from the SPL0() macro, because this is run in at least one place during structure instability. The SIGINT handler, which uses siglongjmp(), is also trusting the SPL1/SPL0 dance more than it should. ok millert

2 года назад
glbl.c

Definitively choose the existing semantics for the scroll and null command. POSIX states: "An empty command list shall be equivalent to the p command", so changing the behaviour of a null-command in any other case is a violation of POSIX.

8 лет назад
io.c

Fix the SIGHUP signal race. ed's "event loop" operates a getchar(); check the hup flag before and after that call, when the buffer structures are stable for write_file() to work. Remove the hup handling from the SPL0() macro, because this is run in at least one place during structure instability. The SIGINT handler, which uses siglongjmp(), is also trusting the SPL1/SPL0 dance more than it should. ok millert

2 года назад
main.c

remove duplicate unistd.h include

2 года назад
re.c

Revert previous, there were some unintended beviour changes.

8 лет назад
sub.c

Reimplement g flag for s commands. Got lost in previous commit.

10 лет назад
undo.c

header cleanup

10 лет назад
README
$OpenBSD: README,v 1.5 2018/06/15 08:46:24 martijn Exp $
$NetBSD: README,v 1.9 1995/03/21 09:04:33 cgd Exp $
 
ed is an 8-bit-clean, POSIX-compliant line editor. It should work with
any regular expression package that conforms to the POSIX interface
standard, such as GNU regex(3).
 
If reliable signals are supported (e.g., POSIX sigaction(2)), it should
compile with little trouble. Otherwise, the macros SPL1() and SPL0()
should be redefined to disable interrupts.
 
The file `POSIX' describes extensions to and deviations from the POSIX
standard.
 
The ./test directory contains regression tests for ed. The README
file in that directory explains how to run these.
 
For a description of the ed algorithm, see Kernighan and Plauger's book
"Software Tools in Pascal," Addison-Wesley, 1981.