.exrc+
上传用户:duobangkj
上传日期:2007-01-07
资源大小:70k
文件大小:1k
源码类别:

Telnet客户端

开发平台:

Unix_Linux

  1. " the leading '"' makes this line a comment
  2. " uncomment lines by removing the leading '"'
  3. "
  4. " tab settings for all XC source files 
  5. set ts=4 sw=4
  6. "
  7. " macros for handling CompuServe downloads
  8. " make sure the ^M, ^K, ^K below are true Ctrl-M, Ctrl-K, Ctrl-X
  9. " make sure the ^[ below are true ESCAPE
  10. "
  11. " set wm=5 nosm ic ai aw
  12. "
  13. " F5 squeezes out empty lines, marks new section with 'm'
  14. " map #5 /^welcome to.*V. 3/^M--mm/^Forum !^H/^Md`mS^[mm^M:.,$g/^ *$/d^M'm
  15. "
  16. " F2 deletes from current line to mark 'm', and leaves a new mark 'm'
  17. " map #2 d`mS^[mmz^M
  18. "
  19. " with cursor within a message, F1 sets up for a reply
  20. " map #1 ?^#: ([1-9][0-9]*) .*S[0-9]*/.*?^MY/^M^N
  21. " map ^N P:s;;re1;^Mmao/post unf^[mbO
  22. "
  23. " ^X takes a reply prepared after an F1, and appends it to an upload file
  24. "  map ^X 'aO^[:'a,'b w>>%R^M:'a,'b d^[z^M
  25. "
  26. " ^K makes a reply private, then calls ^X
  27. "  map ^K 'bA pri^[^X
  28. "
  29. " F8 places next message at top of screen
  30. " map #8 /#:/z^M
  31. "
  32. " this old version breaks on int'l vi on the 'put'
  33. " map #1 ?^#: [1-9][0-9] .*S[1-9][0-9]*/?^MWyt NOre^[pmao/post unf^[mbO
  34. " this depends on the xc script's waitfor construction
  35. " map #5 /^welcome to /^M--d/^% Choice required$/^MS^[mm^M:.,$g/^ *$/d^M'm