raj@walt.cc.utexas.edu (Raj Bhandari) (08/09/90)
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 f- eed), and I tried playing around with set wrapcolumn(=70 currently) but it doesn't help. Any suggestions? ques 2: Can I automatically invoke ispell before I send my message? Thanks rb From the desk of: ------------------------------------------------------------------- Raj Bhandari (raj@happy.cc.utexas.edu) MSIS, Univ. of Texas, Austin (512)345-4873 -------------------------------------------------------------------
schaefer@ogicse.ogi.edu (Barton E. Schaefer) (08/09/90)
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