home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 824 
 Nicholas Boel to Maurice Kinal 
 Re: this split is limited to -b 2000m 
 15 Nov 24 18:19:16 
 
TZUTC: -0600
MSGID: 168.tuxpower@1:154/700 2b9d1bac
REPLY: 1:153/7001.2989 673777a5
PID: Synchronet 3.20a-Linux master/2e47ac987 Nov 14 202 GCC 14.2.1
TID: SBBSecho 3.22-Linux master/2e47ac987 Nov 14 2024 01:26 GCC 14.2.1
BBSID: PHARCYDE
CHRS: ASCII 1
NOTE: slrn/pre1.0.4-9 (Linux)
Hello Maurice,

On Fri, Nov 15 2024 10:32:37 -0600, you wrote:

>  NB> Vim will wrap where you want it to, as well as include the quote
>  NB> character at the beginning of each wrapped line.

> 'fold -s -w 67' will wrap with the space at the end of the line, except the
> last line as shown above.  I tacked in the qoute prefix at the start of the
> lines using sed.  I've been doing it the way since forever and old habits die
> hard.  The only issue I had was when I first started using utf-8 characters
> but that was resolved long before utf-8 became the default for me and mine.

Yes, I know about fold and sed. I started messing with both of those while
still using nano, but after the second quote level I'd had enough. I don't
know sed well enough to be able to figure it out easily. One command took me
hours to figure out and get to work right.

At that point, in desparation, I tried out vim. Once I noticed that 'gq' will
not only wrap a long line, but will also automatically insert the quote
character at the beginning of every line that was wrapped, I figured this may
be an easier approach for me. :)

> For the record;

> :read !vim --version
> VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Nov 11 2024 06:21:11)
> Included patches: 1-813

Now you have me wondering what that command does!

:read !vim --version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Oct 15 2024 14:18:26)
Included patches: 1-785
Compiled by Arch Linux
Huge version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       +tcl/dyn
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl/dyn          +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
-clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +vim9script
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3/dyn       +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          +rightleft         +vreplace
+cscope            +localmap          +ruby/dyn          +wildignore
+cursorbind        +lua/dyn           +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con        +mksession         +smartindent       +writebackup
+diff              +modify_fname      -sodium            -X11
+digraphs          +mouse             -sound             +xattr
-dnd               -mouseshape        +spell             -xfontset
-ebcdic            +mouse_dec         +startuptime       -xim
+emacs_tags        +mouse_gpm         +statusline        -xpm
+eval              -mouse_jsbterm     -sun_workshop      -xsmp
+ex_extra          +mouse_netterm     +syntax            -xterm_clipboard
+extra_search      +mouse_sgr         +tag_binary        -xterm_save
-farsi             -mouse_sysmouse    -tag_old_static    
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
 3rd user vimrc file: "~/.config/vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -march=x86-64 -mtune=generic
-O2 -pipe -fno-plt -fexceptions -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/vim/src
/usr/src/debug/vim -flto=auto -D_REENTRANT -U_FORTIFY_SOURCE -D_
ORTIFY_SOURCE=1 
Linking: gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.40/core_perl/CORE -Wl,-O1
-Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z
pack-relative-relocs -flto=auto -L/usr/local/lib -o vim -lm -ltinfo -lacl
-lattr -lgpm -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm 

Ooh, neat-o!

Regards,
Nick

... He who laughs last, thinks slowest.
--- SBBSecho 3.22-Linux
 * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (1:154/700)
SEEN-BY: 10/0 1 103/705 104/119 105/81 106/201 120/616 123/10 124/5016
SEEN-BY: 128/187 153/757 7001 7715 154/10 30 50 700 203/0 214/22 218/0
SEEN-BY: 218/1 601 700 840 850 860 870 880 930 940 220/90 221/0 6
SEEN-BY: 226/18 30 44 50 227/114 229/110 114 206 300 317 400 426 427
SEEN-BY: 229/428 470 664 700 240/1120 5832 266/512 280/464 5003 282/1038
SEEN-BY: 291/111 292/8125 301/1 310/31 320/219 322/757 341/66 234
SEEN-BY: 342/200 396/45 460/58 467/888 633/280 712/848 770/1 2320/105
SEEN-BY: 3634/12 5020/400 5075/35
PATH: 154/700 10 280/464 103/705 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca