🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261952

Re: Dialog: Recommended use model for "Special > Insert wrap override character"

#261952
From: Bernd Rose
Date: Fri, 14 Apr 2017 06:13
60 lines
4351 bytes
On Fri, 14th Apr 2017 02:02:59 +0000 (UTC), Alexandre Janssens wrote:

> What is the intended (or recommended) use model for this dialog command:
>  Message: Special > Insert wrap override character (Shift+Control+0)

Prevents Dialog from inserting line wraps for selected lines on postings, 
which otherwise would be subject to automatic wraps. Automatic wrapping 
occurs when <Option><Wrap lines after...> is checked while writing a 
message in the composition window. (That's the recommended setting.)

> When I have a message with long lines that I wish to preserve (usually URLs 
> or other cut-and-paste input), 

URLs is one of the most common use for inserting the no-wrap character.
Copy&Paste is usually better done in "quote mode", because Dialog doesn't 
do automatic wrapping with quotes. To distinguish third-party quotes from 
direct ones, many people use <Edit><Paste as custom quote> like so:

The Dialog help file says:
| While you should generally wrap text after 76 character or before there are cases when you might want to post unwrapped text, e.g. when sending programming source code. 

If you want such cited text to be wrapped, you can always select it and
apply <Special><Reformat Paragraph>, which retains quote chars at the
beginning on wrapping quoted text:
| To do this select the automatically wrapped text in Dialog's composition
| window and select Special>Wrap overwrite character from the composition
| window's main menu or use the keyboard shortcut Shift+Ctrl+O. Dialog will
| insert a wrap overwrite character as the first character for all lines
| which looks like an empty box. Lines starting with this character will
| not be wrapped by Dialog. The character is removed when you send the
| message. 

Another common use is writing/pasting source codes containing long lines.
You can first write/paste them while ignoring the automatic wrapping, that
occurs. If you are done, select all lines, where you wish to remove the
automatic wrapping and tell Dialog to insert the wrap override character(s)
via menu command or keyboard shortcut. Dialog then restores the /original/
wrapping for the selected text.

> I just temporarily set a Dialog boolean to:
>  Message: Options > Wordwrap (Control+W)

This option should only be ticked-off, when you intent to write a 
posting that is entirely "no-wrap". Else you need to take care to
set manual wraps in all necessary places. (Otherwise you may end up 
with postings, which others may have problems reading. - Not every
Newsreader has an option like Dialog, to wrap long lines on messages
for reading.)
 
> When I use the wrap-override character, a small "box" shows up like this:
>  <== there is a small box there
> 
> But what does that 'small box' actually do?

It is kept in the internal memory text buffer of the composition window to
notify the Dialog text parser to exclude the following text (up to the
next manual line wrap) from automatic wrapping. The wrap override
character will /not/ be sent. (See above citation from help file.)

Bernd
Technical Details
Message-ID: <z8pnqjxvuvad$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <ocpakj$573$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <z8pnqjxvuvad$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: Dialog: Recommended use model for "Special > Insert wrap override character"
Date: Fri, 14 Apr 2017 08:13:30 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <ocpakj$573$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 60
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net D1L19SCez0oqn6WqZu2G9jWkaAhHZOMDDTDN1hzq8qobr/ZLH6tB8t6wjIpVaswo0EWagJT1723SabCo8iMY7A==
NNTP-Posting-Date: Fri, 14 Apr 2017 06:13:34 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="fSQv2Ej0varIrY3yGp1JEkInc94MiRabZJ2QyTcXcCeEpYHYsSClg9zVW/gZU4uvIhgaMoufKmquuR4BXaHBjp87XFIK+S/FgOSUfytAmnoaL10J0LNwNgavxxcmFsEw"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (e94a4a52.89.336)
Cancel-Lock: sha1:s/GXeW1GoPuIYY5HX7lvymnw/Mw=
X-Received-Body-CRC: 1528076411
X-Received-Bytes: 4350