I cc'ed the list since it's of general interest.
This message is called [append( for lists/atoms and [key( for
individual keystrokes (i.e. "space" makes a space char).
.hc
On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:
Hans,
I was wondering if it would be possible to add some messages that
[text] would use to append its buffer? I would think things similar
to what a message box already understands, things like 'add',
'add2', 'addsemi', 'addcomma', 'adddollar', and 'adddollarsym'.Or is there something already in place?
Mike
On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner < hans@eds.org> wrote:
On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:
On 11/14/07, Hans-Christoph Steiner hans@eds.org wrote:
Right, not directly. This hopefully will allow people to do things like write SQL queries in [text] or have a chat app that allows all punctuation.
Since each key typed outputs a [key ( messages from the right
status
outlet, it would be possible to make an object which would let you create messages separated by commas, if you wanted.
I was playing with 'entry' in the 4 extended (one of the nightly
build
from last week), and I noticed that there was not an indication of there being a second outlet on the right, but it is there.
Fix in CVS>
I also noted that there is no 'help' file for it, but it was there in
the 39
extended.
Yeah, the help file problem is thruout 0.40.3-extended builds AFAIK...
Also, is there some way to change the font size? As it is right now the font is really small.
Coming soon... :) (or build tkwidgets from source)
.hc
--
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
¡El pueblo unido jamás será vencido!
Thanks, Hans, once again, I hit just reply instead of reply to all... I did a quick test on the key message, and it appears that some keys are still not allowed. Such things as a double quote ("), a percent sign (%), and left bracket ([) (but it does allow a right bracket), the backslash () and a tilde (~). All of these characters can be typed directly into the [text] widget.
While I know some of the characters are special in PD, some of these things are probably needed to support the full character set that SQL can recognize.
I was hoping that I could use a [text] object as a buffer to create multiple SQL statements that would get sent to the server as a group. I kind of think this would be useful in storing data in a database, in hopes of keeping down the number of things sent to the server at once. I was toying with the idea of adding this to the SQL external itself, but I seem to be running into a problem that I can't troubleshoot, as it doesn't appear to have any rhyme or reason as to why it acts that way.
Thanks for your help,
Mike
On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner hans@eds.org wrote:
I cc'ed the list since it's of general interest.
This message is called [append( for lists/atoms and [key( for individual keystrokes (i.e. "space" makes a space char).
.hc
On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:
Hans, I was wondering if it would be possible to add some messages that [text] would use to append its buffer? I would think things similar to what a message box already understands, things like 'add', 'add2', 'addsemi', 'addcomma', 'adddollar', and 'adddollarsym'.
Or is there something already in place?
Mike
On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner < hans@eds.org> wrote:
On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:
On 11/14/07, Hans-Christoph Steiner hans@eds.org wrote:
Right, not directly. This hopefully will allow people to do things like write SQL queries in [text] or have a chat app that allows all punctuation.
Since each key typed outputs a [key ( messages from the right status outlet, it would be possible to make an object which would let you create messages separated by commas, if you wanted.
I was playing with 'entry' in the 4 extended (one of the nightly build from last week), and I noticed that there was not an indication of there being a second outlet on the right, but it is there.
Fix in CVS>
I also noted that there is no 'help' file for it, but it was there in the 39 extended.
Yeah, the help file problem is thruout 0.40.3-extended builds AFAIK...
Also, is there some way to change the font size? As it is right now the font is really small.
Coming soon... :) (or build tkwidgets from source)
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
-- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician
¡El pueblo unido jamás será vencido!
I plan to support all of the Tk key symbols in that [key( message
but I haven't found an easy way to do that yet. Here's the list of
symbols used for keys in Tcl/Tk:
http://tcl.tk/man/tcl8.4/TkCmd/keysyms.htm
Basically, in Tcl, I need a way to insert the character using the key
symbol.
.hc
On Nov 19, 2007, at 7:25 PM, Mike McGonagle wrote:
Thanks, Hans, once again, I hit just reply instead of reply to all...
I did a quick test on the key message, and it appears that some
keys are still not allowed. Such things as a double quote ("), a
percent sign (%), and left bracket ([) (but it does allow a right
bracket), the backslash () and a tilde (~). All of these
characters can be typed directly into the [text] widget.While I know some of the characters are special in PD, some of
these things are probably needed to support the full character set
that SQL can recognize.I was hoping that I could use a [text] object as a buffer to create
multiple SQL statements that would get sent to the server as a
group. I kind of think this would be useful in storing data in a
database, in hopes of keeping down the number of things sent to the
server at once. I was toying with the idea of adding this to the
SQL external itself, but I seem to be running into a problem that I
can't troubleshoot, as it doesn't appear to have any rhyme or
reason as to why it acts that way.Thanks for your help,
Mike
On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner hans@eds.org wrote:
I cc'ed the list since it's of general interest.
This message is called [append( for lists/atoms and [key( for
individual keystrokes (i.e. "space" makes a space char)..hc
On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:
Hans,
I was wondering if it would be possible to add some messages that
[text] would use to append its buffer? I would think things
similar to what a message box already understands, things like
'add', 'add2', 'addsemi', 'addcomma', 'adddollar', and
'adddollarsym'.Or is there something already in place?
Mike
On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner < hans@eds.org>
wrote:On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:
On 11/14/07, Hans-Christoph Steiner < hans@eds.org> wrote:
Right, not directly. This hopefully will allow people to do
things
like write SQL queries in [text] or have a chat app that allows
all
punctuation.
Since each key typed outputs a [key ( messages from the right
status
outlet, it would be possible to make an object which would let you create messages separated by commas, if you wanted.
I was playing with 'entry' in the 4 extended (one of the nightly
build
from last week), and I noticed that there was not an indication of there being a second outlet on the right, but it is there.
Fix in CVS>
I also noted that there is no 'help' file for it, but it was there in
the 39
extended.
Yeah, the help file problem is thruout 0.40.3-extended builds
AFAIK...Also, is there some way to change the font size? As it is right now the font is really small.
Coming soon... :) (or build tkwidgets from source)
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
¡El pueblo unido jamás será vencido!
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
http://at.or.at/hans/
FYI: I have shifted development to the tkwidgets version currnetly
called [text]. I've stopped working on the original [entry].
tkwidgets should be built and included in tomorrow's nightly build,
or you can build from source in 'externals/tkwidgets'.
[key %( and [key ~( are working for me, but the others are not. I'll
see about implementing the symbolic names for everything (i.e.
"rightbracket", "doublequote", etc.).
I am definitely interested supporting your idea of constructing SQL
statements in [text], so let me know what works and what doesn't. I
think there will be some wierdness inevitably since it'll have to
work around Pd type system for things like backslash.
.hc
On Nov 19, 2007, at 7:25 PM, Mike McGonagle wrote:
Thanks, Hans, once again, I hit just reply instead of reply to all...
I did a quick test on the key message, and it appears that some
keys are still not allowed. Such things as a double quote ("), a
percent sign (%), and left bracket ([) (but it does allow a right
bracket), the backslash () and a tilde (~). All of these
characters can be typed directly into the [text] widget.While I know some of the characters are special in PD, some of
these things are probably needed to support the full character set
that SQL can recognize.I was hoping that I could use a [text] object as a buffer to create
multiple SQL statements that would get sent to the server as a
group. I kind of think this would be useful in storing data in a
database, in hopes of keeping down the number of things sent to the
server at once. I was toying with the idea of adding this to the
SQL external itself, but I seem to be running into a problem that I
can't troubleshoot, as it doesn't appear to have any rhyme or
reason as to why it acts that way.Thanks for your help,
Mike
On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner hans@eds.org wrote:
I cc'ed the list since it's of general interest.
This message is called [append( for lists/atoms and [key( for
individual keystrokes (i.e. "space" makes a space char)..hc
On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:
Hans,
I was wondering if it would be possible to add some messages that
[text] would use to append its buffer? I would think things
similar to what a message box already understands, things like
'add', 'add2', 'addsemi', 'addcomma', 'adddollar', and
'adddollarsym'.Or is there something already in place?
Mike
On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner < hans@eds.org>
wrote:On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:
On 11/14/07, Hans-Christoph Steiner < hans@eds.org> wrote:
Right, not directly. This hopefully will allow people to do
things
like write SQL queries in [text] or have a chat app that allows
all
punctuation.
Since each key typed outputs a [key ( messages from the right
status
outlet, it would be possible to make an object which would let you create messages separated by commas, if you wanted.
I was playing with 'entry' in the 4 extended (one of the nightly
build
from last week), and I noticed that there was not an indication of there being a second outlet on the right, but it is there.
Fix in CVS>
I also noted that there is no 'help' file for it, but it was there in
the 39
extended.
Yeah, the help file problem is thruout 0.40.3-extended builds
AFAIK...Also, is there some way to change the font size? As it is right now the font is really small.
Coming soon... :) (or build tkwidgets from source)
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
¡El pueblo unido jamás será vencido!
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
If you are not part of the solution, you are part of the problem.
Thanks Hans, I think I have a working external for use with SQLite standalone, now it is time to tackle the libdbi version (I need to figure out why Fink is dysfunctional and won't let me finish the libdbi install). Thanks for your help on this.
Mike
On Nov 26, 2007 2:34 PM, Hans-Christoph Steiner hans@eds.org wrote:
FYI: I have shifted development to the tkwidgets version currnetly called [text]. I've stopped working on the original [entry]. tkwidgets should be built and included in tomorrow's nightly build, or you can build from source in 'externals/tkwidgets'.
[key %( and [key ~( are working for me, but the others are not. I'll see about implementing the symbolic names for everything (i.e. "rightbracket", "doublequote", etc.).
I am definitely interested supporting your idea of constructing SQL statements in [text], so let me know what works and what doesn't. I think there will be some wierdness inevitably since it'll have to work around Pd type system for things like backslash.
.hc
On Nov 19, 2007, at 7:25 PM, Mike McGonagle wrote:
Thanks, Hans, once again, I hit just reply instead of reply to all... I did a quick test on the key message, and it appears that some keys are still not allowed. Such things as a double quote ("), a percent sign (%), and left bracket ([) (but it does allow a right bracket), the backslash () and a tilde (~). All of these characters can be typed directly into the [text] widget.
While I know some of the characters are special in PD, some of these things are probably needed to support the full character set that SQL can recognize.
I was hoping that I could use a [text] object as a buffer to create multiple SQL statements that would get sent to the server as a group. I kind of think this would be useful in storing data in a database, in hopes of keeping down the number of things sent to the server at once. I was toying with the idea of adding this to the SQL external itself, but I seem to be running into a problem that I can't troubleshoot, as it doesn't appear to have any rhyme or reason as to why it acts that way.
Thanks for your help,
Mike
On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner hans@eds.org wrote:
I cc'ed the list since it's of general interest.
This message is called [append( for lists/atoms and [key( for individual keystrokes (i.e. "space" makes a space char).
.hc
On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:
Hans, I was wondering if it would be possible to add some messages that [text] would use to append its buffer? I would think things similar to what a message box already understands, things like 'add', 'add2', 'addsemi', 'addcomma', 'adddollar', and 'adddollarsym'.
Or is there something already in place?
Mike
On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner < hans@eds.org> wrote:
On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:
On 11/14/07, Hans-Christoph Steiner < hans@eds.org> wrote:
Right, not directly. This hopefully will allow people to do things like write SQL queries in [text] or have a chat app that allows all
punctuation.
Since each key typed outputs a [key ( messages from the right
status
outlet, it would be possible to make an object which would let you create messages separated by commas, if you wanted.
I was playing with 'entry' in the 4 extended (one of the nightly
build
from last week), and I noticed that there was not an indication of there being a second outlet on the right, but it is there.
Fix in CVS>
I also noted that there is no 'help' file for it, but it was there in the
39
extended.
Yeah, the help file problem is thruout 0.40.3-extended builds AFAIK...
Also, is there some way to change the font size? As it is right now the font is really small.
Coming soon... :) (or build tkwidgets from source)
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
-- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician
¡El pueblo unido jamás será vencido!
-- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician
If you are not part of the solution, you are part of the problem.
So are these going to be separate objects? It seems that it would be
possible to make the embedded sqlite deterministic, but the libdbi
object should be organized around the idea that the response time is
not known (i.e. it's not going to happen in one Pd clock tick). Then
it'll be possible to use it with any database over any connection.
.hc
On Nov 26, 2007, at 4:17 PM, Mike McGonagle wrote:
Thanks Hans, I think I have a working external for use with SQLite
standalone, now it is time to tackle the libdbi version (I need to
figure out why Fink is dysfunctional and won't let me finish the
libdbi install).Thanks for your help on this.
Mike
On Nov 26, 2007 2:34 PM, Hans-Christoph Steiner hans@eds.org wrote:
FYI: I have shifted development to the tkwidgets version currnetly
called [text]. I've stopped working on the original [entry].
tkwidgets should be built and included in tomorrow's nightly build,
or you can build from source in 'externals/tkwidgets'.[key %( and [key ~( are working for me, but the others are not.
I'll see about implementing the symbolic names for everything (i.e.
"rightbracket", "doublequote", etc.).I am definitely interested supporting your idea of constructing SQL
statements in [text], so let me know what works and what doesn't.
I think there will be some wierdness inevitably since it'll have to
work around Pd type system for things like backslash..hc
On Nov 19, 2007, at 7:25 PM, Mike McGonagle wrote:
Thanks, Hans, once again, I hit just reply instead of reply to all...
I did a quick test on the key message, and it appears that some
keys are still not allowed. Such things as a double quote ("), a
percent sign (%), and left bracket ([) (but it does allow a right
bracket), the backslash () and a tilde (~). All of these
characters can be typed directly into the [text] widget.While I know some of the characters are special in PD, some of
these things are probably needed to support the full character set
that SQL can recognize.I was hoping that I could use a [text] object as a buffer to
create multiple SQL statements that would get sent to the server
as a group. I kind of think this would be useful in storing data
in a database, in hopes of keeping down the number of things sent
to the server at once. I was toying with the idea of adding this
to the SQL external itself, but I seem to be running into a
problem that I can't troubleshoot, as it doesn't appear to have
any rhyme or reason as to why it acts that way.Thanks for your help,
Mike
On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner < hans@eds.org>
wrote:I cc'ed the list since it's of general interest.
This message is called [append( for lists/atoms and [key( for
individual keystrokes (i.e. "space" makes a space char)..hc
On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:
Hans,
I was wondering if it would be possible to add some messages that
[text] would use to append its buffer? I would think things
similar to what a message box already understands, things like
'add', 'add2', 'addsemi', 'addcomma', 'adddollar', and
'adddollarsym'.Or is there something already in place?
Mike
On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner < hans@eds.org>
wrote:On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:
On 11/14/07, Hans-Christoph Steiner < hans@eds.org> wrote:
Right, not directly. This hopefully will allow people to do
things
like write SQL queries in [text] or have a chat app that
allows all
punctuation.
Since each key typed outputs a [key ( messages from the right
status
outlet, it would be possible to make an object which would let
you
create messages separated by commas, if you wanted.
I was playing with 'entry' in the 4 extended (one of the
nightly build
from last week), and I noticed that there was not an indication of there being a second outlet on the right, but it is there.
Fix in CVS>
I also noted that there is no 'help' file for it, but it was there in
the 39
extended.
Yeah, the help file problem is thruout 0.40.3-extended builds
AFAIK...Also, is there some way to change the font size? As it is right
now
the font is really small.
Coming soon... :) (or build tkwidgets from source)
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
¡El pueblo unido jamás será vencido!
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
If you are not part of the solution, you are part of the problem.
-- Peace may sound simple—one beautiful word— but it requires
everything we have, every quality, every strength, every dream,
every high ideal. —Yehudi Menuhin (1916–1999), musician
"It is convenient to imagine a power beyond us because that means we
don't have to examine our own lives.", from "The Idols of
Environmentalism", by Curtis White
On Nov 26, 2007 5:50 PM, Hans-Christoph Steiner hans@eds.org wrote:
So are these going to be separate objects? It seems that it would be possible to make the embedded sqlite deterministic, but the libdbi object should be organized around the idea that the response time is not known ( i.e. it's not going to happen in one Pd clock tick). Then it'll be possible to use it with any database over any connection.
Yes, they would be separate objects, but with the goal of using the same PD interface. While I know that different databases have their "own" special brand of SQL, there is enough commonality that we should at least be able to make the PD stuff consistent.
Also, I was not planning to try and use the libdbi stuff in realtime, as there is the network and all to contend with.
Mike
On Mon, 26 Nov 2007, Hans-Christoph Steiner wrote:
[key %( and [key ~( are working for me, but the others are not. I'll see about implementing the symbolic names for everything (i.e. "rightbracket", "doublequote", etc.).
watch out if you are using tcl's [eval]: it will parse the string as tcl code if you don't quote the content properly. I say that because it's what this bug report sounds like.
problems with % and ~ would look like something else instead.
I think there will be some wierdness inevitably since it'll have to work around Pd type system for things like backslash.
It's not about the type system, it's about the parser, and you only need double your backslash, just like you have to backslash comma and semicolon.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
Actually the only tricky one is "{". Anyone have any ideas how to
send a { to the text widget? Here's my latest attempt:
sys_vgui("%s insert end "\\{"\n", x->widget_id->s_name);
.hc
On Nov 26, 2007, at 6:10 PM, Mathieu Bouchard wrote:
On Mon, 26 Nov 2007, Hans-Christoph Steiner wrote:
[key %( and [key ~( are working for me, but the others are not.
I'll see about implementing the symbolic names for everything
(i.e. "rightbracket", "doublequote", etc.).watch out if you are using tcl's [eval]: it will parse the string
as tcl code if you don't quote the content properly. I say that
because it's what this bug report sounds like.problems with % and ~ would look like something else instead.
I think there will be some wierdness inevitably since it'll have
to work around Pd type system for things like backslash.It's not about the type system, it's about the parser, and you only
need double your backslash, just like you have to backslash comma
and semicolon._ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
"Free software means you control what your computer does. Non-free
software means someone else controls that, and to some extent
controls you." - Richard M. Stallman