Re: [Newbies] Regular expressions in Squeak?

2007-11-06 Thread Oscar Nierstrasz


Hi Thor,

You should use Vassili Bykov's regex package available from 
http://www.squeaksource.com/Regex.html

Use the Monticello browser to load it.

You can find documentation on the class side of the RxParser class of  
the VB-Regex class category.


If you need step-by-step instructions to use Monticello, have a look  
at our (free) book:


http://SqueakByExample.org/

Cheers,
- on


On Nov 6, 2007, at 9:44, Thor Bergquist wrote:


I'm an experienced programmer, but Squeak novice.
Can someone give me step-by-step instructions (for a novice) for how  
to find the best regex implementation for Squeak and how to install  
it.

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Linux and Squeak server help

2007-11-06 Thread David T. Lewis
On Mon, Nov 05, 2007 at 11:49:06AM -0300, Edgar J. De Cleene wrote:
 People:
 
 Still this old donkey could't figure how to have Squeak as server on Linux.
 I try all people send on general list, the last of Giovanni Corriga on
 TCPListener, but no luck.
 
 I could do all in the Linux box, transfer files to this to Mac or Windows
 and reverse.
 
 But as I said , if I have Squeak running on Linux and any of the others, tcp
 comunication is one direction only, from Linux to others and no from others
 to Linux.
 
 And any Squeak running TCPListener, swikis, HV2, etc, only work with
 Konqueror or Firefox in the Linux bos, but can't be reached from outside.
 
 What I doing wrong ?

Hi Edgar,

I am not sure what the problem is for your system, but the last time
that I installed a Linux distribution (SuSE 10), I was surprised that
external access to many internet services such as ftp were disabled
by default.  I think this was supposed to be for security but it
was very annoying to me. Perhaps you can check to see if these things
work properly outside of Squeak (for example, try ftp and telnet to
your Linux box from some other computer).

Dave

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] Re: Linux and Squeak server help

2007-11-06 Thread Klaus D. Witzel

Hi Edgar,

[switched the thread back to the list.]

So, everything *on*the*machine* works as expected (and this includes  
Squeak :-)


If you still can't reach the machine from outside then it must be so that  
you haven't obeyed the Goddess of network connectivity sometime in the  
recent past :)


/Klaus

On Tue, 06 Nov 2007 12:54:32 +0100, Edgar J. De Cleene wrote:




El 11/6/07 8:25 AM, Klaus D. Witzel escribió:


From your resume I assume you have Squeak on Linux running in a desktop
environment.


Yes

So in Squeak on the Linux desktop, copypaste the following into a
workspace (I wrote the code in 3.7 and tested it in 3.8 and 3.9):

  | connection |
(connection := Socket newTCP)
setPort: 9090.
  connection

When you inspect this, selecting *self* in the inspector shows

  a Socket[waitingForConnection]


Yes with the 3.8 full image the system install via synaptic

While the above still runs, telnet to the Linux and logon as root and do
what Norbert wrote:


[EMAIL PROTECTED] netstat -atn | grep 9090
tcp0  0 0.0.0.0:90900.0.0.0:*
LISTEN

[EMAIL PROTECTED]


So is listening, also I was :=)

Very thanks !

Edgar




___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Re: Linux and Squeak server help

2007-11-06 Thread John Warner
On Tue, 2007-11-06 at 14:34 +0100, Klaus D. Witzel wrote:
 Hi Edgar,
 

 If you still can't reach the machine from outside then it must be so that  
 you haven't obeyed the Goddess of network connectivity sometime in the  
 recent past :)
 
 /Klaus

So that means you need to go down on your knees and pray fervently to
the G*d/dess of Network Connectivity LOL

John

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] traits question

2007-11-06 Thread itsme213
Can method names be re-mapped when I apply a trait? How?

Also, if yes, can the same trait be used multiple times to the came class 
(with different mappings)?

Thanks - Sophie 



___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners