🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265071

Re: [dialog] Can I set dialog to edit in Notepad++

#265071
From: bill
Date: Wed, 11 Aug 2021 15:00
73 lines
4463 bytes
On Wed, 11 Aug 2021 06:05:21 +0200, Bernd Rose wrote:
> Not really. It is possible per script to save messages from Dialog
> to disk. And it should also be possible for this script to open the
> saved message in Notepad++ per shell execution command issued from
> Dialog. Moreover, it would also be possible to reload the content 
> of the saved file to Dialog per script. But the whole process would 
> be somewhat difficult to implement and probably not seem seamless
> enough for a good usage experience.

I'm not a script writer so unless the script exists (or a similar modifiable
script exists), I think that approach, for me, would be fraught with
failure, as you seem to already inherently be aware of.

> I suggest to use normal Windows functionality for this task, if you
> really want to go this way: Assign a hotkey to Notepad++ and use
> SelectAll, Cut or Copy, Paste keyboard commands to move the text 
> between both programs.

Here's what I currently have been doing that I wanted to improve upon.
1) While in 40tude dialog I navigate with the typical shortcuts
   N ==> Skip to next unread message 
   Ctrl+N ==> View/get next unread message 
   U ==> Up to previous message 
   D ==> Down to next message 
   T ==> Skip to next unread message in thread 
   Ctrl+T ==> View/get next unread message in thread 
   B ==> Skip to next unread message body 
   S ==> Skip to next unread newsgroup 
   F ==> Followup to newsgroup 
   P ==> New post to newsgroup   
   etcetera

2) When it's time to compose, I type into this Dialog compose window
   Control+A  (this selects everything in the current dialog composition)
   Control+X  (this cuts everything and puts it into the clipboard buffer)
   [WindowsKey]r n [Return]  (without any spaces - this brings up notepad++)

   That brings up Notepad++ where I can then use the Notepad++ shortcuts
   Control+V (this will paste everything from Dialog into Notepad++)
   
3) After composing the response in Notepad++ I bring it back to Dialog with
   Control+A (this will select everything in the Notepad++ composition)
   Control+X (this will cut everything from the Notepad++ composition)

   I bring up the Dialog composition window by clicking on the taskbar
   Control+V (paste everything that was in the Notepad++ composition)

I was simply hoping to streamline this setup to fewer explicit steps.

> Please note, that if you do not re-edit the text afterwards in the
> Dialog compose window, you loose the ability for Dialog specific
> functions like inserting WrapOverride and spoiler characters. IIRC,
> both do not survive copy/paste *back* into Dialog, because Dialog
> regards these characters not as part of the text itself and strips
> (or special encodes? I do not really remember, ATM) them on insert.
> In any case: They loose their function on insert.

I have often started a composition in Dialog which made use of
Control+Shift+O  (there is a little box to the left of this looooooooooooong line)

But when it's pasted back into Dialog from Notepad, it turns into this:
í±ƒontrol+Shift+O  (there are two boxes to the left of this looooooooooooong line)

What happens is the original has a box and then the "C" in "Control".
But the results have two boxes (in the composition) and the "C" is missing.

I never understood why that happened.         
(Next I type "a a a" in succession which is my salutation thanks to you.)
Regards,
bill
-- 
What do you call a pencil sharpener that can't sharpen pencils?
Broken
Technical Details
Message-ID: <sf0olp$qvr$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <sevelu$1qrk$1@gioia.aioe.org> <1dtmjo6u9vzl1$.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <sf0olp$qvr$1@gioia.aioe.org>
Subject: Re: [dialog] Can I set dialog to edit in Notepad++
Date: Wed, 11 Aug 2021 17:00:23 +0200
From: bill <bill@spam.invalid>
References: <sevelu$1qrk$1@gioia.aioe.org> <1dtmjo6u9vzl1$.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!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="27643"; posting-host="ayl1DV8Epkn55jnq6WzmsA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: 40tude_Dialog/2.0.15.41 (51e03d8d.9.298)
X-Notice: Filtered by postfilter v. 0.9.2