Article View: comp.mail.mush
Article #476Re: wrapcolumn and ispell
From: Barton E. Schaefer
Date: Wed, 08 Aug 1990 23:31
Date: Wed, 08 Aug 1990 23:31
32 lines
1694 bytes
1694 bytes
In article <35538@ut-emx.UUCP> raj@walt.cc.utexas.edu (Raj Bhandari) writes:
} Hi, all!
}
} ques 1: I use vi as my editor in mush, and I want it to have an automatic
} line feed (or write feed in the next line instead of feed), and I tried
} playing around with set wrapcolumn(=70 currently) but it doesn't help. Any
} suggestions?
Wrapcolumn only applies to mush itself, it can't be passed on to your
editor. For vi, you need to modify your .exrc file to contain
something like
set wrapmargin=7
which will break 7 spaces from the right margin. Given mush's default
window sizes that should be roughly equivalent to wrapcolumn=70. Vi
doesn't give you any way to break on N columns from the left.
} ques 2: Can I automatically invoke ispell before I send my message?
Not really, or at least, not in tool mode. For line/curses modes, there
are several ways you could manage it, the easiest being to use the "map!"
command to create a "send this message" keystroke:
map! '\CE' '\n~v ispell\n.\n'
This assumes you have used "set dot" so the final ".\n" will send the
message. Then you have to get used to ending with ctrl-E instead of
ctrl-D. Something like this is discussed in the MACROS section of
the manual.
--
Bart Schaefer schaefer@cse.ogi.edu
Technical Details
Message-ID:
<11209@ogicse.ogi.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!ogicse!schaeferReferences:
<35538@ut-emx.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!ogicse!schaefer From: schaefer@ogicse.ogi.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: wrapcolumn and ispell Message-ID: <11209@ogicse.ogi.edu> Date: 8 Aug 90 23:31:00 GMT References: <35538@ut-emx.UUCP> Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 32