EnglishFrenchSpanish

OnWorks favicon

compmh - Online in the Cloud

Run compmh in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command compmh that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


comp - compose a message

SYNOPSIS


comp [+folder] [msg] [-form formfile] [-use | -nouse] [-file file] [-draftfolder +folder]
[-draftmessage msg] [-nodraftfolder] [-editor editor] [-noedit] [-width columns]
[-from address] [-to address] [-cc address] [-fcc +folder] [-subject text]
[-whatnowproc program] [-nowhatnowproc] [-build] [-version] [-help]

DESCRIPTION


Comp is used to create a new message to be mailed. It copies a message form to the draft
being composed and then invokes an editor on the draft (unless -noedit is given, in which
case the initial edit is suppressed).

The default message template “components” will direct comp to construct the message draft
as follows:

From: {from switch} or <Local-Mailbox> or <username@hostname>
To: {to switch} or blank
cc: {cc switch} or blank
Fcc: {fcc switch} or +outbox
Subject: {subject switch} or blank
--------

If a file named “components” exists in the user's nmh directory, it will be used instead
of this form. You may specify an alternate forms file with the switch -form formfile.

You may also start comp using the contents of an existing message as the form. If you
supply either a +folder or msg argument, that message will be used as the message form.
You may not supply both a -form formfile and a +folder or msg argument. The line of
dashes or a blank line must be left between the header and the body of the message for the
message to be identified properly when it is sent (see send(1)).

The switch -use directs comp to continue editing an already started message. That is, if
a comp (or dist, repl, or forw) is terminated without sending the draft, the draft can be
edited again via “comp -use”.

The -file file switch says to use the named file as the message draft.

Forms that are selected via the -form switch are processed via the nmh template system;
see mh-format(5) for details. Drafts constructed from another message or with the -use or
-file switchs will NOT be processed with mh-format(5).

In addition to the standard mh-format(5) escapes, the following component escapes are
either new or have an alternate meaning:

Escape Returns Description
fcc string Any folders specified with `-fcc folder'
from string Any addresses specified with `-from address'
to string Any addresses specified with `-to address'
cc string Any addresses specified with `-cc address'
subject string Any text specified with `-subject text'

By default the “To:” and “cc:” fields are empty. You may add addresses to these fields
with the -to address and -cc address switches. You may give these switches multiple times
to add multiple addresses.

By default the “From:” field has either the value of the Local-Mailbox profile entry or a
system default email address. This default can be overridden by using the -from address
switch. The default mailbox in the “Fcc:” field is +outbox. This can be overridden by
the -fcc switch.

Any text you give to the -subject switch will be placed in the “Subject:” field in the
draft.

If the draft already exists, comp will ask you as to the disposition of the draft. A
reply of quit will abort comp, leaving the draft intact; replace will replace the existing
draft with the appropriate form; list will display the draft; use will use the draft for
further composition; and refile +folder will file the draft in the given folder, and give
you a new draft with the appropriate form. (The +folder argument to refile is required.)

The -draftfolder +folder and -draftmessage msg switches invoke the nmh draft folder
facility. This is an advanced (and highly useful) feature. Consult the mh-draft(5) man
page for more information.

The -editor editor switch indicates the editor to use for the initial edit. Upon exiting
from the editor, comp will invoke the whatnow program. See whatnow(1) for a discussion of
available options. The invocation of this program can be inhibited by using the
-nowhatnowproc switch. (In truth of fact, it is the whatnow program which starts the
initial edit. Hence, -nowhatnowproc will prevent any edit from occurring.)

The -build switch is intended to be used by the Emacs mh-e interface to nmh. It implies
-nowhatnowproc. It causes a file <mh-dir>/draft to be created, containing the draft
message that would normally be presented to the user for editing. No mail is actually
sent.

Use compmh online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad