Hello Digital,
Currently, if you don't have a signature setup in Synchronet, SlyEdit will slap on a tagline (if you set it to do so) in what we've known to be the "proper" spot for it, right before the tearline. But if you have a signature setup, it will put the tagline before the signature, which kinda makes it look like it was part of the message, and not an actual tagline.
Is there a way that Nightfox could make SlyEdit keep the location of the tagline directly before the tearline with or without a signature defined?
I noticed you do somewhat of a tagline with your Synchronet fun facts and weather stuff at times. Is this an external mod that appends it after your signature is added to the message?
Just wondering if this would be possible or not. To be clear, if you currently don't have a signature defined, it would look something like this:
[message body text]
...Here is your tagline
-+- Synchronet tear line version 4.0 (teehee)
When you DO have a signature setup, it looks like this:
...Here is your tagline
Sincerely,
Myself!
-+- Synchronet tear line version 4.0 (teehee)
Note also that you cannot create a space between your message body text and your tearline unless you do some funky workaround also. But I believe I've brought that up to you in the past and you mentioned that Synchronet strips blank lines from the end of the message body. I'd like to preserve that as well if possible, so if you have any suggestions for that I'm all ears!
Is there a way that Nightfox could make SlyEdit keep the location of
the tagline directly before the tearline with or without a signature
defined?
I suppose if SlyEdit added the signature, then Synchronet could be configured *not* to add the signature to the end of the file.
1. SlyEdit adds a "signature" option and the user uses that and disables the Synchronet "signature" option. - no change to sbbs, moderate change to slyedit
2. Synchronet parses the message text to see if there is a tear line and if there is, adds the user's .sig file content *before* the tear line - moderate change to sbbs, no change to slyedit
3. Synchronet adds an external editor option (in SCFG) which if enabled would tell Synchronet *not* to add the .sig file contents to messages created with that editor. The editor in that case (SlyEdit) would be responsible for reading the .sig file and placing it where it wanted it (e.g. before tear/tag lines) - moderate changes to sbbs & scfg, moderate change to slyedit
Is there a way that Nightfox could make SlyEdit keep the location
of the tagline directly before the tearline with or without a
signature defined?
I suppose if SlyEdit added the signature, then Synchronet could be configured *not* to add the signature to the end of the file.
I noticed you do somewhat of a tagline with your Synchronet fun
facts and weather stuff at times. Is this an external mod that
appends it after your signature is added to the message?
I have an external mod which runs after I post and changes my .sig
file to contain the random fact.
Just wondering if this would be possible or not. To be clear, if
you currently don't have a signature defined, it would look
something like this:
[message body text]
...Here is your tagline
-+- Synchronet tear line version 4.0 (teehee)
When you DO have a signature setup, it looks like this:
...Here is your tagline
Sincerely,
Myself!
-+- Synchronet tear line version 4.0 (teehee)
I think there are 3 options:
1. SlyEdit adds a "signature" option and the user uses that and
disables the Synchronet "signature" option. - no change to sbbs,
moderate change to slyedit
2. Synchronet parses the message text to see if there is a tear line
and if there is, adds the user's .sig file content *before* the tear
line - moderate change to sbbs, no change to slyedit
3. Synchronet adds an external editor option (in SCFG) which if
enabled would tell Synchronet *not* to add the .sig file contents to messages created with that editor. The editor in that case (SlyEdit)
would be responsible for reading the .sig file and placing it where it wanted it (e.g. before tear/tag lines) - moderate changes to sbbs &
scfg, moderate change to slyedit
Note also that you cannot create a space between your message body
text and your tearline unless you do some funky workaround also.
But I believe I've brought that up to you in the past and you
mentioned that Synchronet strips blank lines from the end of the
message body. I'd like to preserve that as well if possible, so if
you have any suggestions for that I'm all ears!
You want trailing blank lines in the .sig file preserved or trailing
blank lines after an appended tagline preserved? I'm confused. In
general, trailing blank lines are considered an annoyance and usually
only placed there on accident (by users new to BBSes or the editor
they're using).
1. SlyEdit adds a "signature" option and the user uses that and
disables the Synchronet "signature" option. - no change to sbbs,
moderate change to slyedit
The downside I could see to that is that a user might forget to
disable the signature option in Synchronet, or not even realize that
they need to disable the signature option in Synchronet. Then their signature would be added twice, which would look odd and could cause complaints.
2. Synchronet parses the message text to see if there is a tear
line and if there is, adds the user's .sig file content *before*
the tear line - moderate change to sbbs, no change to slyedit
I'm not sure how that would get the desired effect - SlyEdit would
still write the tag line at the end of the message, and wouldn't the
.sig file content still come after the tag line?
3. Synchronet adds an external editor option (in SCFG) which if
enabled would tell Synchronet *not* to add the .sig file contents
to messages created with that editor. The editor in that case
(SlyEdit) would be responsible for reading the .sig file and
placing it where it wanted it (e.g. before tear/tag lines) -
moderate changes to sbbs & scfg, moderate change to slyedit
If SlyEdit were to modify the user's .sig file, one problem I can
think of with that is how/when the .sig file will be reverted back to
its original contents (without the tag line appended). I could have SlyEdit make a backup copy of the user's .sig file and write another script to be run when the user logs off to restore the user's original .sig file - but I feel like there should be a more elegant solution.
I'm curious where tag lines from other message editors end up getting placed. I imagine this same issue exists with other message editors -
and there's no existing solution? If not, has anyone complained much about the location of tag lines before?
I suppose if SlyEdit added the signature, then Synchronet could be
configured *not* to add the signature to the end of the file.
That's one possibility.
I think currently SlyEdit utilizes the stock Synchronet .sig file. Which
I'm curious where tag lines from other message editors end up
getting placed. I imagine this same issue exists with other message
editors - and there's no existing solution? If not, has anyone
complained much about the location of tag lines before?
If you're referring to editors specifically used with Synchronet, I haven't looked much into those. But the ICE and DCT edits of old I believe had built in signature AND tagline support, which I believe would result in it looking like I'm describing below. Otherwise besides SlyEdit there's not very many actual editors made specifically for Synchronet.
Most other editors (outside of Synchronet) place the tagline at the very end of the message, even if there is a signature (so it would be *after* the signature), usually right before the tearline, like so:
... Tagline
-+- Tearline
+ Origin: If it's an FTN enabled sub-board, obviously
SlyEdit does this perfectly (I think) if there is no signature defined. It only seems to be when there is a signature defined for said user that it puts the tagline *before* the signature.
Otherwise, there probably haven't been too many complaints in the past, since SlyEdit seems to be one of the first editors I've come across that does this at times, and I personally was confused as to whether it was
It's not a bug or anything, just purely aesthetics. If noone else cares,
I suppose it doesn't matter much.
I suppose if SlyEdit added the signature, then Synchronet could
be configured *not* to add the signature to the end of the file.
That's one possibility.
I remember discussing that option with you some time back. I wasn't
sure if I wanted to go that route because Synchronet already has a signature feature, and it would be possible for a user to forget to disable their Synchronet signature before using the SlyEdit signature feature (if it were added to SlyEdit).
I think currently SlyEdit utilizes the stock Synchronet .sig
file. Which
SlyEdit does nothing with the .sig files. Put another way, SlyEdit
does not utilize the .sig files at all - it's Synchronet that appends
the contents of the .sig file to the message, not SlyEdit.
If you're referring to editors specifically used with Synchronet,
I haven't looked much into those. But the ICE and DCT edits of
old I believe had built in signature AND tagline support, which I
believe would result in it looking like I'm describing below.
Otherwise besides SlyEdit there's not very many actual editors
made specifically for Synchronet.
I was referring to DCT Edit and IceEdit (and I imagine other editors
also supported tag lines). I would assume tag lines saved with those editors would behave the same way, with the tag line appearing above
the signature. I don't know how those editors would get the tag line below the signature - Those editors know nothing about Synchronet's
tag line mechanism and (I would assume) would have to put the tag line
at the bottom of the message when it's saved, before Synchronet adds
the tag line. If those editors can somehow get the tag line below the Synchronet user signature, I'd be curious to know how they do that.
Most other editors (outside of Synchronet) place the tagline at
the very end of the message, even if there is a signature (so it
would be *after* the signature), usually right before the
tearline, like so:
... Tagline
-+- Tearline
+ Origin: If it's an FTN enabled sub-board, obviously
When you say "outside of Synchronet", are you talking about using
external editors (such as DCT Edit, IceEdit, etc.) with other BBS
packages besides Synchronet? When such editors are used with
Synchronet, I don't see how they could get the tag line below the signature because (as I mentioned above) they know nothing about Synchronet's tag line mechanism.
SlyEdit does this perfectly (I think) if there is no signature
defined. It only seems to be when there is a signature defined
for said user that it puts the tagline *before* the signature.
Yep - That's because Synchronet appends the user's signature after the message is saved - at which point, SlyEdit has already exited.
Otherwise, there probably haven't been too many complaints in the
past, since SlyEdit seems to be one of the first editors I've
come across that does this at times, and I personally was
confused as to whether it was
SlyEdit is not the first editor that behaves that way. I just did a
quick test using DCT Edit on my BBS, and the tag line was before my signature. So the behavior isn't specific to SlyEdit.
I think what Nick is saying here is that SBBSEcho adds its info
directly to the end of the message body, with no space seperation.
Even adding blank lines in the message does not help as they seem to
be stripped. At the very least, 2 blanks lines would be helpful IMO.
--- SBBSecho 2.27-Win32
* Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
I think what Nick is saying here is that SBBSEcho adds its info
directly to the end of the message body, with no space seperation.
Even adding blank lines in the message does not help as they seem to
be stripped. At the very least, 2 blanks lines would be helpful IMO.
--- SBBSecho 2.27-Win32
* Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
lines after an appended tagline preserved? I'm confused. In general, trailing blank lines are considered an annoyance and usually only placed there on accident (by users new to BBSes or the editor they're using).
And I agree. Why bother if Synchronet already does it for you. I just asked about the tagline being put after the signature, rather than before. There's gotta be a way to do it, and we've got possibilities now. Just to find the easiest and best way to do so.
Right. It doesn't utilize anything. But.. in the sense of what I was saying, SlyEdit leaves it up to Synchronet to append the signature, which is completely fine. It would just be nice if the tagline was able to be appended either TO the signature so that it's after it, or rework something so that it can be done. Hell, even a configuration option to append the tagline after the signature would be fine with me. I'm just looking for an easy way to do it, without a bunch of work from either you or DM.
Yep - That's because Synchronet appends the user's signature after
the message is saved - at which point, SlyEdit has already exited.
Then maybe something could be added to SlyEdit (even as a config option) to append the tagline to the signature, while clearing and reloading the original signature file each time so that you don't have the same tagline, or multiples.. I dunno. I don't code, so that's why I'm asking the gurus. :)
SlyEdit is not the first editor that behaves that way. I just did a
quick test using DCT Edit on my BBS, and the tag line was before my
signature. So the behavior isn't specific to SlyEdit.
Then it is specific to Synchronet in our case. Which is why I wanted to bring it up here to see if we can do anything about it, and what our options are. We've talked about this in the past, but neither of us ever knew what, if, or how it could be done. The only way to figure that out is to ask. I guess since I seem to be the only one that cares about this, it took me bringing it up to try to find any possibilities. :)
Either way, I think the tagline being a part of the message body is annoying, and sometimes confusing. But opinions are like assholes. Everyone has one. :)
I think what Nick is saying here is that SBBSEcho adds its info
directly to the end of the message body, with no space seperation.
Even adding blank lines in the message does not help as they seem to
be stripped. At the very least, 2 blanks lines would be helpful
IMO. --- SBBSecho 2.27-Win32
* Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
This is how the message appears here.
I think what Nick is saying here is that SBBSEcho adds its info
directly to the end of the message body, with no space seperation.
Even adding blank lines in the message does not help as they seem to
be stripped. At the very least, 2 blanks lines would be helpful
IMO.
--- SBBSecho 2.27-Win32
* Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
This is how I would like so see it look. One blank line is perfectly fine with me, as long as it's separated.
Hello Joe,
On 13 Jun 15 11:08, Joe Delahaye wrote to Digital Man:
I think what Nick is saying here is that SBBSEcho adds its info
directly to the end of the message body, with no space seperation.
Even adding blank lines in the message does not help as they seem to
be stripped. At the very least, 2 blanks lines would be helpful IMO.
--- SBBSecho 2.27-Win32
* Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
This is how the message appears here.
I think what Nick is saying here is that SBBSEcho adds its info
directly to the end of the message body, with no space seperation.
Even adding blank lines in the message does not help as they seem to
be stripped. At the very least, 2 blanks lines would be helpful IMO.
--- SBBSecho 2.27-Win32
* Origin: The Lions Den BBS, Trenton, On, CDN (1:249/303)
This is how I would like so see it look. One blank line is perfectly fine with me, as long as it's separated.
Re: Tagline support in SlyEdit
By: Digital Man to Accession on Fri Jun 12 2015 22:35:18
Is there a way that Nightfox could make SlyEdit keep the location of
the tagline directly before the tearline with or without a signature
defined?
I suppose if SlyEdit added the signature, then Synchronet could be configured *not* to add the signature to the end of the file.
1. SlyEdit adds a "signature" option and the user uses that and disables the Synchronet "signature" option. - no change to sbbs, moderate change to slyedit
The downside I could see to that is that a user might forget to disable the signature option in Synchronet, or not even realize that they need to disable the signature option in Synchronet. Then their signature would be added twice, which would look odd and could cause complaints.
2. Synchronet parses the message text to see if there is a tear line and if there is, adds the user's .sig file content *before* the tear line - moderate change to sbbs, no change to slyedit
I'm not sure how that would get the desired effect - SlyEdit would still write the tag line at the end of the message, and wouldn't the .sig file content still come after the tag line?
3. Synchronet adds an external editor option (in SCFG) which if enabled would tell Synchronet *not* to add the .sig file contents to messages created with that editor. The editor in that case (SlyEdit) would be responsible for reading the .sig file and placing it where it wanted it (e.g. before tear/tag lines) - moderate changes to sbbs & scfg, moderate change to slyedit
If SlyEdit were to modify the user's .sig file, one problem I can think of with that is how/when the .sig file will be reverted back to its original contents (without the tag line appended). I could have SlyEdit make a backup copy of the user's .sig file and write another script to be run when the user logs off to restore the user's original .sig file - but I feel like there should be a more elegant solution.
Another idea that popped into my head right now is if Synchronet had support for a "tag line file", SlyEdit could write the tag line to a separate file, and Synchronet could insert its contents after the user's .sig file contents.
I'm curious where tag lines from other message editors end up getting placed. I imagine this same issue exists with other message editors - and there's no existing solution? If not, has anyone complained much about the location of tag lines before?
Hello Digital,
On 12 Jun 15 22:35, Digital Man wrote to Accession:
Is there a way that Nightfox could make SlyEdit keep the location
of the tagline directly before the tearline with or without a
signature defined?
I suppose if SlyEdit added the signature, then Synchronet could be configured *not* to add the signature to the end of the file.
That's one possibility.
I noticed you do somewhat of a tagline with your Synchronet fun
facts and weather stuff at times. Is this an external mod that
appends it after your signature is added to the message?
I have an external mod which runs after I post and changes my .sig
file to contain the random fact.
Is this available on CVS? Maybe with that noone would need to do anything except incorporate that to use the taglines from a text file or something.. Might be easier. *shrug*
Just wondering if this would be possible or not. To be clear, if
you currently don't have a signature defined, it would look
something like this:
[message body text]
...Here is your tagline
-+- Synchronet tear line version 4.0 (teehee)
When you DO have a signature setup, it looks like this:
...Here is your tagline
Sincerely,
Myself!
-+- Synchronet tear line version 4.0 (teehee)
I think there are 3 options:
1. SlyEdit adds a "signature" option and the user uses that and disables the Synchronet "signature" option. - no change to sbbs, moderate change to slyedit
2. Synchronet parses the message text to see if there is a tear line and if there is, adds the user's .sig file content *before* the tear line - moderate change to sbbs, no change to slyedit
Unless you got words mixed up here, Synchronet already does this?
It's the tagline that I'm referring to.
This would be a good idea as well I suppose.
3. Synchronet adds an external editor option (in SCFG) which if
enabled would tell Synchronet *not* to add the .sig file contents to messages created with that editor. The editor in that case (SlyEdit) would be responsible for reading the .sig file and placing it where it wanted it (e.g. before tear/tag lines) - moderate changes to sbbs & scfg, moderate change to slyedit
I think currently SlyEdit utilizes the stock Synchronet .sig file.
Which is
completely fine.. it's only the location of the tagline during certain circumstances that it is posted in a wierd spot that could cause confusion whether it's an actual tagline or not (in my opinion, I guess).
Note also that you cannot create a space between your message body
text and your tearline unless you do some funky workaround also.
But I believe I've brought that up to you in the past and you
mentioned that Synchronet strips blank lines from the end of the
message body. I'd like to preserve that as well if possible, so if
you have any suggestions for that I'm all ears!
You want trailing blank lines in the .sig file preserved or trailing blank lines after an appended tagline preserved? I'm confused. In general, trailing blank lines are considered an annoyance and usually only placed there on accident (by users new to BBSes or the editor they're using).
Both I suppose? Say if I put:
Regards,
Nick
[space]
*save on this line*
Not after the tagline. The tagline is usually directly before the tearline.. in most cases that I've seen. Which is completely fine. It's just between the signature and tearline, or message body and tearline.
I would want that space preserved to give a little separation between the signature and the tearline. Otherwise there is no space and it's all jumbled together.
Just as well, when NOT using a signature, your entire message body ends with the tearline and no separation between. IMO, just makes it more aesthetically pleasing I guess.
I understand if someone decides to put 40 blank lines at the end of a message, it would be annoying. So I guess what I'm asking for is to continue stripping extra lines at the end of a message, but maybe preserve one blank line instead of none to keep a little separation between message body text (and signature if present) and the tearline is all.
While you have it setup differently with your signature mod (that looks very clean, btw), if I were to post a message without a signature, I could type out an entire page and it would end like so..
-+- Synchronet tearline.
Whereas you can see with the editor I'm using here that there's one space between my signature (or message body text if I weren't to include a signature) and my tearline.
It's not a bug or anything, just purely aesthetics. If noone else cares, I suppose it doesn't matter much.
Either way, I think the tagline being a part of the message body is annoying, and sometimes confusing. But opinions are like assholes. Everyone has one. :)
:) And the more I think about it, the more I can see that having the tagline after the user's signature would make it more clear that it's a tagline and not part of the message body. I suppose at least having the "..." (or similar text) in front of the tag line can help provide a clue that it's a tagline.
If SlyEdit were to modify the user's .sig file, one problem I can
think of with that is how/when the .sig file will be reverted back to
its original contents (without the tag line appended). I could have
SlyEdit make a backup copy of the user's .sig file and write another
script to be run when the user logs off to restore the user's original
.sig file - but I feel like there should be a more elegant solution.
I didn't suggest that SlyEdit should modify the user's .sig file.
:) And the more I think about it, the more I can see that having the
tagline after the user's signature would make it more clear that it's
a tagline and not part of the message body. I suppose at least having
the "..." (or similar text) in front of the tag line can help provide
a clue that it's a tagline.
What about a tear line before the tag?
Some system/people use a line of "--" before their signature. I suppose if you always used line of just "--" or "..." before the tag, then Synchronet could *insert* the .sig file contents before that.
It's not in CVS, but I've shared it before (it used to append a random Snapple "Real Fact"). It's not really a "user" thing, more of a sysop thing.
It's the tagline that I'm referring to.
The tagline follows a tear line, right? That's how Synchronet would
know. Otherwise, a tagline just looks like any other line of text.
I think currently SlyEdit utilizes the stock Synchronet .sig file.
I don't think it does.
I think we're mixing up topics here (the appending of the .sig file
and the truncation of blank lines) and I'm not really following you.
When you say "Synchronet tearline", I think you're referring to the tearline that is added when the message is exported to a network (if a tearline doesn't already exist). Locally posted messages don't
normally have tearlines.
What about a tear line before the tag?
Some system/people use a line of "--" before their signature. I
suppose if you always used line of just "--" or "..." before the tag,
then Synchronet could *insert* the .sig file contents before that.
What about a tear line before the tag?
Some system/people use a line of "--" before their signature. I
suppose if you always used line of just "--" or "..." before the
tag, then Synchronet could *insert* the .sig file contents before
that.
I suppose that would work. I could update SlyEdit to write a line of
just "--" before the tagline - that should be a fairly simple change.
It's not in CVS, but I've shared it before (it used to append a
random Snapple "Real Fact"). It's not really a "user" thing, more of
a sysop thing.
I wouldn't mind taking a look at it if I'm the only one concerned about this. That way neither of you have to do a damn thing and I can make things work the way I want it to. :)
Some system/people use a line of "--" before their signature. I
suppose if you always used line of just "--" or "..." before the
tag, then Synchronet could *insert* the .sig file contents before
that.
In your sense of "tear line" above, as long as it's not "---" which is used for networked messages. The tagline should still come before "---" still.
I suppose that would work. I could update SlyEdit to write a line
of just "--" before the tagline - that should be a fairly simple
change.
I wouldn't use "--" since people use that in their signature at times. This is also a default tearline in most newsreaders such as Thunderbird, Iceweasel, etc.
What about a tear line before the tag?
Some system/people use a line of "--" before their signature. I
suppose if you always used line of just "--" or "..." before the
tag, then Synchronet could *insert* the .sig file contents before
that.
I suppose that would work. I could update SlyEdit to write a line of just "--" before the tagline - that should be a fairly simple change.
I suppose that would work. I could update SlyEdit to write a
line of just "--" before the tagline - that should be a fairly
simple change.
I wouldn't use "--" since people use that in their signature at
times. This is also a default tearline in most newsreaders such
as Thunderbird, Iceweasel, etc.
hmm.. Perhaps something different then.
Accession said "--" is sometimes used in peoples' signatures and is
the default tearline used by many news readers. So perhaps something different could be used? It also occurred to me that taglines
sometimes need to span 2 lines if they're too long for one line - so perhaps it would be good to have something to mark the end of the
tagline as well. Maybe a line that only contains something like "-!-" both before and after the tagline?
What if the signature was added to the message *before* saving? This way things could be appended to the message after saving and not even mess with the signature at all..?
For example, when you write a new message.. the cursor could be at the beginning of the message but contain the signature already inserted into the temp message file after the cursor. Just as well as replying to a message, have the signature inserted into the end of the message while you're replying. Then quoting would all appear where you want it to.. moving the signature text down as you quote.
something different could be used? It also occurred to me that
taglines sometimes need to span 2 lines if they're too long for one
line - so perhaps it would be good to have something to mark the end
of the tagline as well. Maybe a line that only contains something
like "-!-" both before and after the tagline?
I understand we're looking at all different angles here to see what can actually be done, but IMO adding more garbage to a message that is unnecessary isn't really the original direction I was going with this. "-!-" is also optionally used in many editors or BBS software (I think even Synchronet does this via a config option) as well as a replacement for "---" when it's quoted. Some software out there in the past has considered "---" as the absolute end of a message and would cut off any text after it, so some software devs in the past have changed any instance of "---" that has been quoted with "-!-" instead.
There has to be a way to do this in order to keep things as clean as possible, that will also not garble up any messages that may contain anything out of the ordinary, or any kind of need to insert text that doesn't need to be there. :(
For example, when you write a new message.. the cursor could be at the
beginning of the message but contain the signature already inserted
into the temp message file after the cursor. Just as well as replying
to a message, have the signature inserted into the end of the message
while you're replying. Then quoting would all appear where you want it
to.. moving the signature text down as you quote.
The thing is, it's Synchronet that appends the user's signature, so if SlyEdit were to put the user's signature in there, then Synchronet would still append the user's signature at the end - so the user's signature would be in the message twice. I don't think there's a way to prevent Synchronet from appending the user's signature to the message - If there's a .sig file for the user, then Synchronet will append it to the message.
"-!-" is also optionally used in many editors or BBS software (I think
even Synchronet does this via a config option) as well as a
replacement for "---" when it's quoted. Some software out there in the
past has considered "---" as the absolute end of a message and would
cut off any text after it, so some software devs in the past have
changed any instance of "---" that has been quoted with "-!-" instead.
Wow, I didn't realize "-!-" was something used in messages. It was something totally random that I thought of.
it seems to me that the simple thing to do would be to have a toggle in synchronet so that synchronet will or will not add the sig to the end of the message... then slyedit can use the sig file and append it to the message itself... if two sigs show up on messages, it is the user's fault that they didn't turn off the option for sync to append it...
Re: Tagline support in SlyEdit
By: mark lewis to Nightfox on Sun Jun 14 2015 22:03:44
it seems to me that the simple thing to do would be to have a toggle
in synchronet so that synchronet will or will not add the sig to the
end of the message... then slyedit can use the sig file and append it
to the message itself... if two sigs show up on messages, it is the
user's fault that they didn't turn off the option for sync to append
it...
It would be better to have a way that is more fool-proof, which wouldn't require the user to have to toggle anything. That would certainly be possible.
What if the signature was added to the message *before* saving?
This way things could be appended to the message after saving and
not even mess with the signature at all..?
For example, when you write a new message.. the cursor could be
at the beginning of the message but contain the signature already
inserted into the temp message file after the cursor. Just as
well as replying to a message, have the signature inserted into
the end of the message while you're replying. Then quoting would
all appear where you want it to.. moving the signature text down
as you quote.
The thing is, it's Synchronet that appends the user's signature, so if SlyEdit were to put the user's signature in there, then Synchronet
would still append the user's signature at the end - so the user's signature would be in the message twice. I don't think there's a way
to prevent Synchronet from appending the user's signature to the
message - If there's a .sig file for the user, then Synchronet will
append it to the message.
There has to be a way to do this in order to keep things as clean
as possible, that will also not garble up any messages that may
contain anything out of the ordinary, or any kind of need to
insert text that doesn't need to be there. :(
I agree, but perhaps like a tearline, something like that might be the easiest way for Synchronet to detect that part of the message.
I think a clean way to do it that wouldn't need extra text inserted
into the message would be to have the editor save the tagline to its
own file, and Synchronet might be able to read the tagline file and
put the tagline after the user's signature, then remove the tagline
file.
The thing is, it's Synchronet that appends the user's signature,
so if SlyEdit were to put the user's signature in there, then
Synchronet would still append the user's signature at the end -
so the user's signature would be in the message twice. I don't
think there's a way to prevent Synchronet from appending the
user's signature to the message - If there's a .sig file for the
user, then Synchronet will append it to the message.
it seems to me that the simple thing to do would be to have a toggle
in synchronet so that synchronet will or will not add the sig to the
end of the message... then slyedit can use the sig file and append it
to the message itself... if two sigs show up on messages, it is the
user's fault that they didn't turn off the option for sync to append
it... that allows the users to edit the sig via normal synchronet
means and also to be able to use slyedit for everything from the post
to the tagline to the signature... it also opens the door for slyedit
to add a feature to edit the same sig file...
reasonable? not much alteration for synchronet and opens the door for other features and capabilities ;)
Re: Tagline support in SlyEdit
By: mark lewis to Nightfox on Sun Jun 14 2015 22:03:44
it seems to me that the simple thing to do would be to have a
toggle in synchronet so that synchronet will or will not add the
sig to the end of the message... then slyedit can use the sig
file and append it to the message itself... if two sigs show up
on messages, it is the user's fault that they didn't turn off the
option for sync to append it...
It would be better to have a way that is more fool-proof, which
wouldn't require the user to have to toggle anything. That would certainly be possible.
it seems to me that the simple thing to do would be to have a
toggle in synchronet so that synchronet will or will not add the
sig to the end of the message... then slyedit can use the sig
file and append it to the message itself... if two sigs show up
on messages, it is the user's fault that they didn't turn off the
option for sync to append it...
It would be better to have a way that is more fool-proof, which
wouldn't require the user to have to toggle anything. That would
certainly be possible.
I think what he means is.. no user would have to do anything in this regard. It would be up to the sysop to toggle user signatures OFF in Synchronet if they're going to choose to use signatures and/or taglines with SlyEdit. The user would only be required to setup any signature they wanted in SlyEdit thereafter.
faultIt would be better to have a way that is more fool-proof, which
wouldn't require the user to have to toggle anything. That would
certainly be possible.
I think what he means is.. no user would have to do anything in this
regard. It would be up to the sysop to toggle user signatures OFF in
Synchronet if they're going to choose to use signatures and/or
taglines with SlyEdit. The user would only be required to setup any
signature they wanted in SlyEdit thereafter.
But Mark Lewis said "if two sigs show up on messages, it's the user's
that they didn't turn off the option for Sync to append it" - So I thinkhe
was refering to a user option.
I think what he means is.. no user would have to do anything in
this regard. It would be up to the sysop to toggle user
signatures OFF in Synchronet if they're going to choose to use
signatures and/or taglines with SlyEdit. The user would only be
required to setup any signature they wanted in SlyEdit
thereafter.
But Mark Lewis said "if two sigs show up on messages, it's the user's fault that they didn't turn off the option for Sync to append it" - So
I think he was refering to a user option.
But Mark Lewis said "if two sigs show up on messages, it's the
user's fault that they didn't turn off the option for Sync to append
it" - So I think he was refering to a user option.
Oh. Well, in that case. If this would be any kind of possibility, I would rather it be a sysop option in Synchronet. That way users wouldn't be at fault for doing something they have no idea about.
If Digital Man likes my idea of having SlyEdit write the tagline to a (temporary) separate file and Synchronet reading that file and
appending the tagline after the signature, I think that might be the
most foolproof and transparent way of doing it - the user wouldn't
have to do anything special. And there wouldn't have to be any funky-looking tearlines or special strings added to the message body
to mark the tagline.
If Digital Man likes my idea of having SlyEdit write the tagline to a (temporary) separate file and Synchronet reading that file and appending the tagline after the signature, I think that might be the most foolproof and transparent way of doing it - the user wouldn't
have to do anything special. And there wouldn't have to be any funky-looking tearlines or special strings added to the message body
to mark the tagline.
that is another option... but if it is going to go that far, why not just have synchronet do the whole signature, tag line, tear line, origin line stuff all on its own... sync would only need a list of tag lines to pull from... hummm... yeah, the user wouldn't know what tag line was put on the message and they wouldn't be able to select a different one... maybe you have got something there...
14 Jun 15 16:14, you wrote to Accession:
For example, when you write a new message.. the cursor could be at the
beginning of the message but contain the signature already inserted
into the temp message file after the cursor. Just as well as replying
to a message, have the signature inserted into the end of the message
while you're replying. Then quoting would all appear where you want it
to.. moving the signature text down as you quote.
The thing is, it's Synchronet that appends the user's signature, so if SlyEdit were to put the user's signature in there, then Synchronet would still append the user's signature at the end - so the user's signature would be in the message twice. I don't think there's a way to prevent Synchronet from appending the user's signature to the message - If there's a .sig file for the user, then Synchronet will append it to the message.
it seems to me that the simple thing to do would be to have a toggle in synchronet so that synchronet will or will not add the sig to the end of the message... then slyedit can use the sig file and append it to the message itself...
Re: Tagline support in SlyEdit
By: mark lewis to Nightfox on Sun Jun 14 2015 22:03:44
it seems to me that the simple thing to do would be to have a toggle in synchronet so that synchronet will or will not add the sig to the end of the message... then slyedit can use the sig file and append it to the message itself... if two sigs show up on messages, it is the user's fault that they didn't turn off the option for sync to append it...
It would be better to have a way that is more fool-proof, which wouldn't require the user to have to toggle anything. That would certainly be possible.
If Digital Man likes my idea of having SlyEdit write the tagline to a (temporary) separate file and Synchronet reading that file and appending the tagline after the signature, I think that might be the most foolproof and transparent way of doing it - the user wouldn't have to do anything special. And there wouldn't have to be any funky-looking tearlines or special strings added to the message body to mark the tagline.
Re: Re: Tagline support in SlyEdit
By: Nightfox to Accession on Tue Jun 16 2015 08:11 pm
If Digital Man likes my idea of having SlyEdit write the tagline to a (temporary) separate file and Synchronet reading that file and appending the tagline after the signature, I think that might be the most foolproof and transparent way of doing it - the user wouldn't have to do anything special. And there wouldn't have to be any funky-looking tearlines or special strings added to the message body to mark the tagline.
Yes, that sounds like the best option, relatively easy, low risk, and no sysops or users would have to change anything.
I just committed a change to writemsg.cpp in CVS. If SlyEdit (or any editor) creates the file "editor.tag" in the current node's temp directory (system.temp_dir in JS), then sbbs will append the contents of that file to the message body after the user's .sig file contents (if they have one and the sub is configured to use it).
SlyEdit were to put the user's signature in there, then Synchronetit seems to me that the simple thing to do would be to have a toggle in
would still append the user's signature at the end - so the user's
signature would be in the message twice. I don't think there's a
way to prevent Synchronet from appending the user's signature to
the message - If there's a .sig file for the user, then Synchronet
will append it to the message.
synchronet so that synchronet will or will not add the sig to the end
of the message... then slyedit can use the sig file and append it to
the message itself...
The sysop already has this "toggle" option, for each sub-board in SCFG.
Re: Re: Tagline support in SlyEdit
By: Digital Man to Nightfox on Sun Jun 21 2015 19:34:33
I just committed a change to writemsg.cpp in CVS. If SlyEdit (or any editor) creates the file "editor.tag" in the current node's temp directory (system.temp_dir in JS), then sbbs will append the contents of that file to the message body after the user's .sig file contents (if they have one and the sub is configured to use it).
Thanks, I'll update SlyEdit to do that as soon as I get a chance.
Is there (or could there be) a JavaScript flag that JS scripts could check to see if the editor.tag feature is supported? A JS script could check that flag, and if the Synchronet build is an older build that doesn't support editor.tag, then the editor could write the tag line in the body of the messge (as SlyEdit does currently).
couldIs there (or could there be) a JavaScript flag that JS scripts could check to see if the editor.tag feature is supported? A JS script
incheck that flag, and if the Synchronet build is an older build that doesn't support editor.tag, then the editor could write the tag line
thethe body of the messge (as SlyEdit does currently).
That could end up being a flag for every new feature. Not really scalable. Checking the version number is probably the better route. v3.16b will be
next release, so you could make the behavior dependant on that version or later.
I just committed a change to writemsg.cpp in CVS. If SlyEdit (or any editor) creates the file "editor.tag" in the current node's temp directory (system.temp_dir in JS), then sbbs will append the contents of that file to the message body after the user's .sig file contents (if they have one and the sub is configured to use it).
Give it a shot and let me know how it works. I considered making it just another line in the "result.ed" file which editors can (optionally) create (a WWIV "standard" if I recall correctly), but opted for a separate file for simplicity's sake (and the tag can be multiple lines). Currently, the tag line(s) is/are not word-wrapped by sbbs.
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 09:30:41 |
Calls: | 510 |
Messages: | 220574 |