mIRC Home    About    Download    Register    News    Help

Topic Options
#228905 - 14/01/11 07:28 PM Strikethrough Text
SimplicityX Offline
Nutrimatic drinks dispenser

Registered: 04/09/10
Posts: 7
Loc: California
If bold, underline, reverse, and italics are supports so far, why not add something like ^S to make strikethrough text?
_________________________
irc.simplicityx.org network founder

Top
#228906 - 14/01/11 08:46 PM Re: Strikethrough Text [Re: SimplicityX]
landonsandor Offline
Hoopy frood

Registered: 12/12/02
Posts: 1527
Loc: state of confusion
Doing a quick search turned up these results:

result 1 - result 2

Personally, I really don't use mirc much anymore, but I never saw the need for strike through text. When I was using mirc all the time, I wanted ^S to be used for something else (the symbol font Pirch used), but strike thru, is nothing more than a visual thing and doesn't add to the program at all. It's not to say it WONT be done, I just wouldnt support the addition of strike thru - I'd rather see other things added than more font styles.
_________________________
Those who fail history are doomed to repeat it

Top
#228908 - 15/01/11 12:32 AM Re: Strikethrough Text [Re: SimplicityX]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
Strikethrough is used mostly to cross out something that is incorrect without actually removing it completely. Considering you cannot edit something already sent to the server and you can easily edit any line before it's sent, there isn't any reason I can think of for adding that to mIRC. Do you have a valid reason for it?
_________________________
Invision Support
#Invision on irc.irchighway.net

Top
#228910 - 15/01/11 01:53 AM Re: Strikethrough Text [Re: Riamus2]
drum Offline
Fjord artisan

Registered: 08/12/02
Posts: 339
Originally Posted By: Riamus2
Strikethrough is used mostly to cross out something that is incorrect without actually removing it completely. Considering you cannot edit something already sent to the server and you can easily edit any line before it's sent, there isn't any reason I can think of for adding that to mIRC. Do you have a valid reason for it?


It's the more widely understood alternative to using ^H to type out stup^H^H^H^H^H hilarious jokes.

Top
#228914 - 15/01/11 06:10 AM Re: Strikethrough Text [Re: SimplicityX]
jaytea Offline
Fjord artisan

Registered: 23/02/06
Posts: 546
with a suitable font, you can use certain special Unicode characters to create the appearance of strike-through text. for example:

Code:
alias strikethrough return $regsubex($1, /(*UTF8)(?!^|$)/g, $chr(822))


then $strikethrough(text) returns the string with $chr(822) inserted between every character. this code point appears to create a hyphen that spans about half of the previous character and half of the next. for strings comprising single characters you can play around with $chr(821) but this doesn't look as good as the above. check out:

http://en.wikipedia.org/wiki/Strikethrough#Computer_methods

for more info on this.
_________________________
"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde

Top
#228915 - 15/01/11 06:34 AM Re: Strikethrough Text [Re: jaytea]
drum Offline
Fjord artisan

Registered: 08/12/02
Posts: 339
It seems like that method does not play nice with Fixedsys (I imagine since it's not a Unicode font).

Edit: I just noticed you said "with a suitable font".


Edited by drum (15/01/11 06:37 AM)

Top
#228917 - 15/01/11 10:40 AM Re: Strikethrough Text [Re: Riamus2]
SimplicityX Offline
Nutrimatic drinks dispenser

Registered: 04/09/10
Posts: 7
Loc: California
Originally Posted By: Riamus2
Strikethrough is used mostly to cross out something that is incorrect without actually removing it completely. Considering you cannot edit something already sent to the server and you can easily edit any line before it's sent, there isn't any reason I can think of for adding that to mIRC. Do you have a valid reason for it?


Why have it on forums, then? Or have it at all on a computer when you can most likely just completely erase something instead of striking it through? I don't have a valid reason for the color codes, bold, reverse, underline, or italics beyond to make certain things look more appealing. I'm not trying to sound rude. Sorry if it sounds that way.

Edit: I tested what you posted, jaytea. Looks cool.


Edited by SimplicityX (15/01/11 10:43 AM)
_________________________
irc.simplicityx.org network founder

Top
#228919 - 15/01/11 02:37 PM Re: Strikethrough Text [Re: SimplicityX]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
If you read what I said, I said that strikethrough is used to cross out something that is incorrect without removing it. This is useful on forums when someone has already replied to something you said and you realize that what you said was wrong. You can cross it out so people reading it after can know that it's wrong without removing it, which would make it look strange when the post that replied to you quoted your mistake.

Because you cannot edit previous lines in a channel or query, this is not useful in the same way that it is in locations where it is used.
_________________________
Invision Support
#Invision on irc.irchighway.net

Top
#228924 - 15/01/11 08:12 PM Re: Strikethrough Text [Re: drum]
SimplicityX Offline
Nutrimatic drinks dispenser

Registered: 04/09/10
Posts: 7
Loc: California
Originally Posted By: drum
Originally Posted By: Riamus2
Strikethrough is used mostly to cross out something that is incorrect without actually removing it completely. Considering you cannot edit something already sent to the server and you can easily edit any line before it's sent, there isn't any reason I can think of for adding that to mIRC. Do you have a valid reason for it?


It's the more widely understood alternative to using ^H to type out stup^H^H^H^H^H hilarious jokes.



That as well. It doesn't have a really -vital- role, but there are a lot of things that aren't entirely needed.
_________________________
irc.simplicityx.org network founder

Top
#228931 - 15/01/11 11:08 PM Re: Strikethrough Text [Re: Riamus2]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
Strikethrough can have a place on IRC just like message boards..

<User1> How can I retrieve the middle of a string?
<User2> $right($left(string,5),2) = in
<User3> More like $right($left(string,5),2) $mid(string,4,2)


Top
#228934 - 16/01/11 12:16 AM Re: Strikethrough Text [Re: hixxy]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
Um... Why in the world would you do that? Strikethrough is normally not used to edit someone else's message except in a shared document type of situation where you want to keep track of who did what.

Anyhow, I'm not saying it can't be used. I'm just saying that it really doesn't have a real use other than "just because." There are many more things I'd rather see implemented than something that doesn't have a good use for it. And because the majority of reasons people use strikethrough elsewhere don't really apply to IRC, I think that even if it's added to the "todo" list that it is placed at the bottom.
_________________________
Invision Support
#Invision on irc.irchighway.net

Top
#228949 - 17/01/11 03:14 AM Re: Strikethrough Text [Re: SimplicityX]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
It's irresponsible for mIRC to go around adding random control codes for arbitrary text style modifiers. Everytime a control code is added, other clients need to add it for compatibility purposes. In addition, mIRC needs to make sure that other clients don't already recognize the control code for something else. This is/was actually a real problem for the newly implemented italic code, which isn't displayed correctly under certain IRC clients. I'd rather not see problems like this repeated, because it makes things much more complicated for IRC client implementors.

Furthermore, there are only so many control codes available to be used. I would imagine we would want to use them sparingly, and not waste the non-printable character space codes that aren't really used. This matters, because once a control code is implemented in multiple clients, it can't be taken back. We will have to live with it for the rest of IRC, just like bold,colour and underline. Note that this is a real problem too-- mIRC currently cannot display these characters in the editbox in Vista and 7, and there is basically no solution for the near future because of the choice of codepoints for the existing control codes. This problem, of course, could not have been foreseen, but let's not make even more of the IRC experience depend on this non-portable, problematic, syntax.

IMO with all these complications, I don't see it as worthwhile to add in something typographically esoteric/obsolete like strikethrough. Even HTML5 is deprecating <strike>.
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top
#228978 - 17/01/11 10:23 PM Re: Strikethrough Text [Re: Riamus2]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
Originally Posted By: Riamus2
Um... Why in the world would you do that? Strikethrough is normally not used to edit someone else's message except in a shared document type of situation where you want to keep track of who did what.

Anyhow, I'm not saying it can't be used. I'm just saying that it really doesn't have a real use other than "just because." There are many more things I'd rather see implemented than something that doesn't have a good use for it. And because the majority of reasons people use strikethrough elsewhere don't really apply to IRC, I think that even if it's added to the "todo" list that it is placed at the bottom.


Most formatting options are "just because." Bold, italics, underline, colours, are all just used to highlight text, to differentiate it from other text, or to make things look pretty. Strikethrough can also be used to highlight parts of text; namely mistakes.

If somebody wanted help with a long script and you only needed to change part of it, you could use a strikethrough to indicate which part of the code to change, as I showed above.

Strikethrough has its uses just like other formatting options. One isn't really any more useful than the other.

That said.. I'm not sure it's worth the effort of adding it myself as other clients won't support the control code.

Top
#229093 - 21/01/11 12:35 AM Re: Strikethrough Text [Re: hixxy]
MegaZeroX Offline
Babel fish

Registered: 19/01/03
Posts: 64
Without taking sides in this discussion, I think what's being described here is actually a request for addition to the IRC protocol...

Top
#229094 - 21/01/11 02:09 AM Re: Strikethrough Text [Re: MegaZeroX]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
Control codes are not part of the IRC protocol, so not really.

edit: Given what I wrote in my previous post, it sure sounds like it SHOULD be part of the IRC protocol, but it's not.


Edited by argv0 (21/01/11 04:28 AM)
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top