summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-10-02 14:41:17 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-10-02 14:41:17 +0000
commit771775c5f99b81586a095a3d2b40af7d4b190522 (patch)
tree887996f286e358679d81244a0903d394923aefc2 /doc
parentb7f9fdbcef98f5139165baba77c965d214a628e1 (diff)
downloadmailutils-771775c5f99b81586a095a3d2b40af7d4b190522.tar.gz
mailutils-771775c5f99b81586a095a3d2b40af7d4b190522.tar.bz2
Documented crt variable and setenv command.
Diffstat (limited to 'doc')
-rw-r--r--doc/texinfo/programs.texi41
1 files changed, 32 insertions, 9 deletions
diff --git a/doc/texinfo/programs.texi b/doc/texinfo/programs.texi
index 0f95ebde6..53409b868 100644
--- a/doc/texinfo/programs.texi
+++ b/doc/texinfo/programs.texi
@@ -1264,11 +1264,14 @@ Displays current mailbox summary. E.g.:
@itemx p [@var{msglist}]
@item type [@var{msglist}]
@itemx t [@var{msglist}]
-Prints out the messages from @var{msglist}. If the variable @code{crt}
-is set and the number of lines in the message is greater than the number
-of lines on screen, the message is piped through pager command specified
-by environment variable @code{PAGER}. The number of lines on screen is
-controlled by @code{screen} variable.
+Prints out the messages from @var{msglist}. The variable @code{crt}
+determines the minimum number of lines the body of the message must
+contain in order to be piped through pager command specified
+by environment variable @code{PAGER}. If @code{crt} is set to a numeric
+value, this value is taken as the mininmum number of lines. Otherwise,
+if @code{crt} is set without a value then the height of the terminal
+ screen is used to compute the threshold. The number of lines on
+screen is controlled by @code{screen} variable.
@item Print [@var{msglist}]
@itemx P [@var{msglist}]
@itemx Type [@var{msglist}]
@@ -1470,6 +1473,22 @@ To undo the effect of the previous example, do:
& unset askcc crt indentprefix
@end example
+@subheading Setting and unsetting shell environment variables.
+
+Shell environment may be modified using @samp{setenv} (@samp{sete})
+command. The command takes a list of assignments. The syntax of an
+assignment is:
+
+@table @samp
+@item @var{name}=@var{value}
+If variable @var{name} does not already exist in the environment,
+then it is added to the environment with the value @var{value}.
+If @var{name} does exist, then its value in the environment is
+changed to @var{value}.
+@item @var{name}
+Delete the variable @var{name} from the environment (``unset'' it).
+@end table
+
@subheading Conditional statements
The conditional statement allows to execute a set of mail commands
@@ -1665,12 +1684,16 @@ fails, the value of environment variable @code{COLUMNS} is used.
This variable contains the number of columns on terminal screen.
@item crt
-@*Type: Boolean.
+@*Type: Boolean or Numeric
@*Default: True in interactive mode, False otherwise.
-If @code{True}, any messages with number of lines greater than number of
-lines on terminal screen (as determined by @code{screen} variable) will
-be printed using program set in the environment variable @code{ENVIRON}.
+The variable @code{crt} determines the minimum number of lines the body
+of the message must contain in order to be piped through pager command
+specified by environment variable @code{PAGER}. If @code{crt} is set
+to a numeric value, this value is taken as the threshold. Otherwise,
+if @code{crt} is set without a value, then the height of the terminal
+screen is used to compute the threshold. The number of lines on
+screen is controlled by @code{screen} variable.
@item dot
@*Type: Boolean.

Return to:

Send suggestions and report system problems to the System administrator.