Re: [EPIC] About changing /exec -out to use /send instead of /say

2005-08-04 Thread Ben Winslow
On Wed, 2005-08-03 at 10:22 -0500, Jeremy Nelson wrote:
 So many of you know this, so bear with me:
   /SEND   sends a message to the window's current target
   /SAYsends a message to the window's current channel.
 If you have a /query going in a window with a channel, the /query overrides
 the channel as the current target.  This is the purpose of /say, to be able
 to msg a channel in a window where you have a /query going.
 
 Historically the /exec -out command has always used the /say command to 
 redirect the output.  Recently it has been requested that we switch to 
 using /send so it can be possible to /exec -out to a query.  
 
 This change will mean if you have a channel and a /query in the same 
 window, then /exec -out will send to the query, and not the channel.

Personally, I think you're not really gaining anything by doing this,
but you are losing something in breaking backwards compatibility.
Consider that, if you currently want to send /exec to the person you're
talking to in a query, you need to do /exec -m querydestination; with
the change, if you were talking in a query and wanted output to go to
the channel, you'd have to do /exec -m channel instead of /exec -o.
Basically, I don't see any net in making the change.

 This seems reasonable enough to me, but it is a break from backwards 
 compatability, so it needs to be discussed and vetted in public.
 What do you all think?

I think that a new /exec flag that uses /send instead of /say might be a
better approach.

 Jeremy

-- 
Ben Winslow [EMAIL PROTECTED]

 
___
List mailing list
List@epicsol.org
http://epicsol.org/mailman/listinfo/list


Re: [EPIC] What is a space? And who is using a non-C locale?

2004-11-29 Thread Ben Winslow
I'm more than a little late here (I've been rather busy lately), and the
decision has already been made; I don't have any problems with that
description, but I'll finally weigh in here and make some comments to
share the information (since I'm apparently the EPIC Unicode expert. ;)

On Mon, 2004-11-08 at 15:35 -0600, Jeremy Nelson wrote:
 So one of the things that has come up during the epic4 vote is how
 spaces are handled inconsistently throughout epic.  I had originally
 intended to address this in epic5, but it looks like this is a real
 problem for /xdebug extractw users.
 
 In the C locale, characters 9 (^I), 10 (^J), 11 (^K), 12 (^L), 13 (^M), 
 and 32 (space) are considered spaces.  That means isspace(x) returns 1
 for any x = one of those characters, and 0 for everything else.  
 
 EPIC has three ways to determine spaces
 
 1) Use the system's isspace(), which could be locale dependant.
 2) Use epic's my_isspace() which behaves exactly the same as isspace()
does in the C locale.
 3) Just compare the character against character 32 (space).
 
 It would be best if we just had one way, because that would be less 
 confusing.  But this is a problem because in some places in epic, a
 tab is a space, and in other places, it isn't.  So if I just switch
 everything to use isspace(), then some scripts might break in ways
 that I can't anticipate.
 
 I have two questions:
 
 *) Are any of you using tabs, newlines, carriage returns, etc, in any
way that depends on them not being a space character in some context?
If you are, you need to be a participant in this discussion!
 
 *) Are any of you using a non-C locale?  (If you don't know, then you are
not)  Does your locale have a different set of space characters?

I'm using en_US.UTF-8 (US English, UTF-8 charset, of course); in this
locale, with glibc at least, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, and 0x20 are
all returned as spaces by isspace() (this matches the C locale.)
Unicode has several additional spacing characters (especially since it
adds several typographic spaces), but isspace() seems to ignore these
(well, only 0xa0 (non-breaking space) falls within the range isspace()
can handle), presumably so that old applications won't see different
behavior.

 Feedback for these two questions is greatly appreciated and may reduce
 near term pain and suffering. 

Part of the underlying problem here is that different people use
different character sets everywhere; for example, the author of a script
pack you want to use may be using Shift-JIS for Japanese, while you're
using the near-ubiquitous-for-English ISO8859-1.  Obviously, it's not
desirable for the script to (mal)function differently just because
you're using a different locale, so consistent script behavior is
desirable.

The second part of the underlying problem is that there is no difference
between the character behavior for scripts and the rest of EPIC,
including user input; if you said 'HelloEN SPACEworld!' to a channel,
and a script tried to parse that, there's no way for EPIC to decide
this is a user's input, so we should treat it according to the locale's
rules or this is an internal part of a script, so we want to be
certain it functions the same way everywhere.

If you wanted to address this problem (which is obviously something
that's not in the scope of EPIC4), there are a couple of approaches that
are immediately obvious:

1) Define a certain character set in which all scripts are parsed.  I
imagine that any system on which EPIC still compiles has sufficient
locale support to handle this.
Pro: Existing functions could be made locale-aware without scripts
breaking between different locales.
Con: Moderately inconvenient if your favorite text editor doesn't
support on-the-fly character translation.
Con: May be a bit cumbersome to implement--it's not as simple as using
iconv() to translate the script from some known charset to the current
locale's charset, since the script locale may have characters that
cannot be represented in the current locale.

2) When/if EPIC is ever properly locale aware, add separate locale-aware
versions of several string functions, enabling scripts to decide on
their own where locale-specific spaces should have meaning.
Pro: Fairly simple to implement.  Basically approach #1, with the script
charset being US-ASCII and all bytes above 127 being left as-is.
Con: Scripters have to specifically support the locale-specific
functions in their scripts for things to Just Work for an end-user.
Con: The addition of several locale-aware text functions would enlarge
the function table and increase lookup times.

 Jeremy

As I said, this is all pretty well out of the scope of EPIC4; however, I
hope that this information will be helpful during the development of
EPIC5, especially if proper locale support is decided to be a Good Idea.

-- 
Ben Winslow [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part

Re: [EPIC]First Call for Votes of Confidence in EPIC4-2.0

2004-01-23 Thread Ben Winslow
 Name: [Ben Winslow ] 
Email address: [EMAIL PROTECTED] ]
 Date: [2004-01-23   ]  Candidate [ EPIC4-1.2.7 ]

(Please choose one)
I, the above named person, affirm that I have tested the above named
candidate software and do publicly affirm support that it shall be
released as a production version of the EPIC software.  [ ]  - Mark here

I, the above named person, having tested the above named candidate software
have found a substantially limiting defect in the software and object to
the release of the software as a production version of the EPIC software.
[X]  - Mark here
   Description of defect: (ABSOLUTELY REQUIRED)
   [As discussed, the SSL_SERVER_CERT hook does not honor the quiet flag,
   [and the default url-encoded output appears to be swapped with the
   [plaintext data passed to the hook.
   [

IF THIS CANDIDATE IS ACCEPTED YOUR NAME AND EMAIL ADDRESS WILL BE INCLUDED 
IN THE SOFTWARE DISTRIBUTION! DO NOT SEND IN A BALLOT IF YOU ARE UNWILLING 
TO BE PUBLICLY LISTED AS A VOTER.

Email all ballots to [EMAIL PROTECTED]

I may change my vote after discussion with CE or ar, if either can
convince me that this isn't really a problem.

(Sorry!  I wish I'd noticed it before the call for votes!)
-- 
Ben Winslow [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [EPIC]CFV: Change of default /SET AUTO_REJOIN value

2003-12-13 Thread Ben Winslow
On Sat, 2003-12-13 at 13:29, Edward Brocklesby wrote:

[ ] I would like to see AUTO_REJOIN's default changed to OFF.
[ ] I would like to see AUTO_REJOIN's default remain as it is (ON).
[x] Correct

But, seriously, I don't care either way--and I do suppose OFF is a
better default.

-- 
Ben Winslow [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [EPIC]cursor is off the display bug

2003-06-23 Thread Ben Winslow
 PROTECTED] PRIVMSG #rtcwirc
:\00300\00311[\00314F\00311d\00314C\00311]\00314Sp\00311oo\00314nm\00311A\00314n\00300 
filled \00304BARRYxBONDSx25\00300 full of lead with an MP40, comm=0x1 Address 0x1 
out of bounds, ArgList=0x0) at parse.c:1235
#15 0x080b9527 in do_server (rd=0xbfffef20, wd=0xbfffeea0) at
server.c:887
#16 0x080970b3 in io (what=0x80def82 :.) at irc.c:835
#17 0x08097a3c in main (argc=2, argv=0xb054) at irc.c:1276


-- 
Ben Winslow [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [EPIC]notify interval proposal

2003-02-02 Thread Ben Winslow
Edward Brocklesby wrote:
[snip]
 and I'm not likely to talk to someone who's here for 30 seconds and then
 gone again
[snip]
 
   -larne.

Try using dial-up service over the US's PSTN. ;)

-- 
Ben



msg00259/pgp0.pgp
Description: PGP signature