Nп/п : 28 из 85
От : Nicholas Boel 1:154/700 15 ноя 24 18:19:16
К : Maurice Kinal 15 ноя 24 03:47:01
Тема : Re: this split is limited to -b 2000m
----------------------------------------------------------------------------------
@MSGID: 168.tuxpower@1:154/700 2b9d1bac
@REPLY: 1:153/7001.2989 673777a5
@TZUTC: -0600
@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_FORTIFY_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: 50/109 103/705 104/119 120/616 123/10
124/5016 153/757 7001 154/10
SEEN-BY: 154/30 50 700 203/0 220/90 221/0 6
226/18 44 50 240/1120 5832
SEEN-BY: 280/464 5003 292/8125 301/1 310/31 341/66
234 396/45 460/58 467/888
SEEN-BY: 633/280 712/848 770/1 2320/105 3634/12
4500/1 5001/100 5005/49
SEEN-BY: 5019/40 5020/400 715 848 1042 4441 12000
5030/49 1081 5061/133
SEEN-BY: 5075/128
@PATH: 154/700 10 280/464 467/888 5020/1042 4441