🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174512

Re: [Dialog] Wrap override in sigfile

#174512
From: Marsjanin
Date: Thu, 29 Sep 2005 19:51
123 lines
5420 bytes
  Rok 2005 - wrzesień. Dokładnie to wtorek, 27-go. Nieco po 23-ej.
  Nagle zza rogu Robert Spanjaard wrzuca na news.software.readers:

> Dialog has a special character to prevent a line from wrapping. Is
> it possible to use this character in a sigfile, or does it have to
> be entered in the message-editor? If it can be used, which
> character is it?

Indirectly. I use the no-wrap character [ctrl]+[shift]+[o] copied from
the text editor, but pasted to the .txt file it doesn't work. If I
paste that to sig editor, it works almost perfectly - it there are few
lines in the .txt tile, the second and others line is wrapped - the
1st not. Here's example, i use here the "[o]" sequence for represent
the no-wrap character:

When we have text file:



blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah 
blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah 
blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah 



Then, the line in sig editor:



%randomsig:C:\Program Files\40tude Dialog\sign.txt%



makes this in effect:



blahblah blahblah blahblah blahblah blahblah blahblah blahblah
blahblah blahblah blahblah blahblah blahblah 
blahblah blahblah blahblah blahblah blahblah blahblah blahblah
blahblah blahblah blahblah blahblah blahblah 
blahblah blahblah blahblah blahblah blahblah blahblah blahblah
blahblah blahblah blahblah blahblah blahblah 



And this one in sig editor:



[o]%randomsig:C:\Program Files\40tude Dialog\sign.txt%



makes this effect:



blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah blahblah 
blahblah blahblah blahblah blahblah blahblah blahblah blahblah
blahblah blahblah blahblah blahblah blahblah 
blahblah blahblah blahblah blahblah blahblah blahblah blahblah
blahblah blahblah blahblah blahblah blahblah 



So, if You want to randomly change or load from changing text-file
just one line at a time, this is a solution for You. Note, You can use
many files in one sig. Here is my signature set up in the sig-editor
(again i represent the no-wrap key with "[o]" here):



[o]  Pozdrawiam,  Marsjanin.  %randomsig:C:\Program Files\40tude Dialog\signcont.txt%
[o]  %randomsig:C:\Program Files\40tude Dialog\signrand.txt%
[o]%file:C:\Program Files\Foobar2000\sign.txt%



And in signcont.txt there are some short lines separated by line with
only % sign (more in Dialog's help) - each brings an other way to
contact me;

in signrand.txt there are (separated again with "% line") some funny
texts and quotes that I just want to share with the world, and each
one has only one line (has not the CRLF signs). It has max. 80
characters, so it will be wrapped (if more than 70 in my Dialog), if
there will be no [o] (no wrap) character at beginning of second line
of the sig in sig editor;

the sign.txt in Foobar2000 directory, is a file, that changes with a
currently playing song. The file, if music is playing, has two lines,
separated with CRLF (as usually in .txt files):

1) Song name details,
2) Codec details.

And now: if the 1st line is above 70 chars, it will be never wrapped
(no-wrap character at beginning of the thirg line of sig makes it
possible).

But, if 2nd line (codec details) has more than 70 chars, it will be
wrapped.  :-(

I though when I wrote it, if I put the no-wrap char at the end of
line, like this:



[o]%file:C:\Program Files\Foobar2000\sign.txt%[o]



it will not wrap, but the char works just on the beginning of the
line, and it will have to be in the Foobar2000\sign.txt file - but
it's AFAIR ignored by Dialog then.  :-(

HTH...

-- 
  Pozdrawiam,  Marsjanin.  Skype :  marsjanin.tk
  ATI Rage IIC 4 MB RAM AGP - niby lepiej, ale gdzie wąskie gardło DivX?
  Nic nie gra. Cudowna cisza...  :-]
Technical Details
Message-ID: <9s6xt3mcp2zx.dlg@marsjanin.tk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.germany.com!news.nask.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
References: <lck8sxlr468w$.yusdq66uopn1$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <9s6xt3mcp2zx.dlg@marsjanin.tk>
Subject: Re: [Dialog] Wrap override in sigfile
Date: Thu, 29 Sep 2005 21:51:47 +0200
From: Marsjanin <09.2005.usenet@marsjanin.tk>
References: <lck8sxlr468w$.yusdq66uopn1$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.germany.com!news.nask.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
Newsgroups: news.software.readers
Organization: H&D
Lines: 123
Reply-To: 09.2005.usenet@marsjanin.tk
NNTP-Posting-Host: dge185.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 8bit
X-Trace: inews.gazeta.pl 1128023604 12819 83.23.160.185 (29 Sep 2005 19:53:24
 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 29 Sep 2005 19:53:24 +0000 (UTC)
X-Face: "">i,YT<@)(agU"+'B<v4/]QqK$B%(OVp}}K\BYIX70s/VQ(X+<'v`bDa|I'#Xft~#Hdmcx
 qH/hXeo\`6/B; eU*ZPo.WK6s%g`2P39L#Mu(t78E~l)M;
 1!H_T4rXS{l10<gw]4`>`IxLBlM5PSon- ^Tq/]ivdvM[m\&PER\BAT{=Y!lpJ@Gh4R0p;
 [^5BH(b/O%!}kb#32C
X-User: ninajsram
User-Agent: 40tude_Dialog/2.0.15.1pl Hamster/2.0.7.0