summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-03-06 11:18:41 +0000
committerwlemb <wlemb>2000-03-06 11:18:41 +0000
commit2b51a4a9520d5457aa17ee1a92e4384174de4603 (patch)
treea12aa53d8c416af79cd3b123d81e3e2dee143b3e /src
parentd270572873db642035b7a2e46ad2aba5949da9cb (diff)
downloadgroff-2b51a4a9520d5457aa17ee1a92e4384174de4603.tar.gz
* doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
* src/roff/troff/env.cc (environment_copy): Improve error message and fix itoa->i_to_a.
Diffstat (limited to 'src')
-rw-r--r--src/roff/troff/env.cc4
-rw-r--r--src/roff/troff/troff.man6
2 files changed, 8 insertions, 2 deletions
diff --git a/src/roff/troff/env.cc b/src/roff/troff/env.cc
index fb9576ce..e5713973 100644
--- a/src/roff/troff/env.cc
+++ b/src/roff/troff/env.cc
@@ -1020,7 +1020,7 @@ void environment_copy()
if (n >= 0 && n < NENVIRONMENTS)
e = env_table[n];
else
- nm = itoa(n);
+ nm = i_to_a(n);
}
}
else
@@ -1028,7 +1028,7 @@ void environment_copy()
if (!e && !nm.is_null())
e = (environment *)env_dictionary.lookup(nm);
if (e == 0) {
- error("Inexistent environment to copy from");
+ error("No environment to copy from");
return;
}
else
diff --git a/src/roff/troff/troff.man b/src/roff/troff/troff.man
index 1316304e..03af436c 100644
--- a/src/roff/troff/troff.man
+++ b/src/roff/troff/troff.man
@@ -877,6 +877,12 @@ sourced by
are interpreted.
.RE
.TP
+.BI .evc\ xx
+Copy the contents of environment
+.I xx
+to the current environment.
+No pushing or popping of environents will be done.
+.TP
.BI .fam\ xx
Set the current font family to
.IR xx .