[LogoForum] How to edit the command line in Berkeley Logo for Windows?

This is a discussion on [LogoForum] How to edit the command line in Berkeley Logo for Windows? within the logo forums in Programming Languages category; The message below is being cross-posted from the LogoForum. Please reply here at comp.lang.logo and it will be cross-posted back to the LogoForum. The original author of this message is dekudekuplex@yahoo.nospam.com . I installed Berkeley Logo 5.5 on Windows XP Professional Service Pack 2, but am unable to edit the command line, other than to backspace. I have heard of rlwrap ( http://utopia.knoware.nl/~hlub/uck/rlwrap/ ), but it seems to be for a UNIX or CYGWIN environment. Does anybody know how to edit the command line in ucbwlogo.exe, so that, for example, if I type at the command line ? repeat 50 ...

Go Back   Application Development Forum > Programming Languages > logo

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-20-2008, 11:54 PM
John St. Clair
Guest
 
Default [LogoForum] How to edit the command line in Berkeley Logo for Windows?

The message below is being cross-posted from the LogoForum. Please
reply here at comp.lang.logo and it will be cross-posted back to the
LogoForum. The original author of this message is
dekudekuplex@yahoo.nospam.com.



I installed Berkeley Logo 5.5 on Windows XP Professional Service Pack
2, but am unable to edit the command line, other than to backspace.

I have heard of rlwrap (http://utopia.knoware.nl/~hlub/uck/rlwrap/),
but it seems to be for a UNIX or CYGWIN environment.

Does anybody know how to edit the command line in ucbwlogo.exe, so
that, for example, if I type at the command line

? repeat 50 [setcursor list random 75 random 20 type "Hi]

and then want to change this to, for example,

? repeat 10 [setcursor list random 75 random 20 type "Hi]

I can somehow change the 50 to a 10 without having either to retype or
to copy and paste the entire rest of the line?

Also, does anybody know how to invoke command line history at the
command line?

Any help would be appreciated.

Benjamin L. Russell
Reply With Quote
  #2  
Old 05-21-2008, 12:01 AM
Brian Harvey
Guest
 
Default Re: [LogoForum] How to edit the command line in Berkeley Logo for Windows?

Benjamin L. Russell writes:
>Does anybody know how to edit the command line in ucbwlogo.exe


Short answer: Wait for version 6.0, which I /hope/ is coming soon, although
I know I've been saying that for over a year. It has editable interaction
and history. What's slowing it down is bugs in wxWidgets -- different bugs
on different platforms, somewhat defeating the whole purpose of switching to
wxWidgets -- plus pig slow floodfill, which isn't exactly a bug but does make
minesweeper unplayable.
Reply With Quote
  #3  
Old 05-21-2008, 09:10 AM
John St. Clair
Guest
 
Default Re: [LogoForum] How to edit the command line in Berkeley Logo for Windows?

The message below is being cross-posted from the LogoForum. Please
reply here at comp.lang.logo and it will be cross-posted back to the
LogoForum. The original author of this message is
jotape1960@yahoo.nospam.com.


> I installed Berkeley Logo 5.5 on Windows XP Professional Service Pack
> 2, but am unable to edit the command line, other than to backspace.
>
> I have heard of rlwrap (http://utopia.knoware.nl/~hlub/uck/rlwrap/),
> but it seems to be for a UNIX or CYGWIN environment.
>
> Does anybody know how to edit the command line in ucbwlogo.exe, so
> that, for example, if I type at the command line
>
> ? repeat 50 [setcursor list random 75 random 20 type "Hi]
>
> and then want to change this to, for example,
>
> ? repeat 10 [setcursor list random 75 random 20 type "Hi]
>
> I can somehow change the 50 to a 10 without having either to retype or
> to copy and paste the entire rest of the line?
>
> Also, does anybody know how to invoke command line history at the
> command line?
>
> Any help would be appreciated.
>
> Benjamin L. Russell


UCBLogo (Berkeley Logo) 5.5 has an "advanced" version now, called
aUCBLogo. Try it.

But, I prefer MSWLogo/FMSLogo and ElicaLogo because they let you use
a lot of Windows GUI facilities (most of them not easy or present in
UCBLogo 5.5).

GOD BLESS YOU ALL!!!!!!!

Juan J. Paredes G.
From Curicó, Chile, South America, with love
Reply With Quote
  #4  
Old 05-21-2008, 09:21 AM
John St. Clair
Guest
 
Default Re: [LogoForum] How to edit the command line in Berkeley Logo for Windows?

The message below is being cross-posted from the LogoForum. Please
reply here at comp.lang.logo and it will be crossposted back to the
LogoForum. The original author of this message is
dekudekuplex@yahoo.nospam.com.

> UCBLogo (Berkeley Logo) 5.5 has an "advanced" version now, called
> aUCBLogo. Try it.


Yes, I managed to find it (at http://www.aucblogo.org/Logo.html)
shortly after posting my inquiry.

For some reason, the regular version of aUCBLogo 4.7 installed by its
automated installer aucblogo-4.7-windows.exe referenced on that page
froze and caused Windows XP Pro to reboot each time upon startup.
After I uninstalled that version and tried the alternative version
compiled without OpenGL (using the other automated installer
referenced there, aucblogo-4.7-win-no_opengl.exe), aUCBLogo worked fine.

However, I also have a Mac running Mac OS X 10.2.8 Jaguar at home, but
unlike Berkeley Logo, aUCBLogo apparently only runs on Windows,
Ubuntu-6.06, and 7.04 Linux. Should I just use Berkeley Logo with
rlwrap for my Mac?

> But, I prefer MSWLogo/FMSLogo and ElicaLogo because they let you use
> a lot of Windows GUI facilities (most of them not easy or present in
> UCBLogo 5.5).


Unfortunately, when I tried to follow the book _Computer Science Logo
Style: Volume 1: Symbolic Computing,_ by Brian Harvey (see
http://www.cs.berkeley.edu/~bh/v1-toc2.html), the following command
referenced in Chapter 1: Exploration (see
http://www.cs.berkeley.edu/~bh/v1ch1/explor.html) did not work in MSW
Logo:

repeat 50 [setcursor list random 75 random 20 type "Hi]

Running it in MSW Logo resulted in the following error:

I don't know how to setcursor

Therefore, I could not use MSW Logo with that book.

Do you know of any other implementations of Logo that are fully
compatible with that book?

Benjamin L. Russell






>
> UCBLogo (Berkeley Logo) 5.5 has an "advanced" version now, called
> aUCBLogo. Try it.
>
> But, I prefer MSWLogo/FMSLogo and ElicaLogo because they let you use
> a lot of Windows GUI facilities (most of them not easy or present in
> UCBLogo 5.5).
>
> GOD BLESS YOU ALL!!!!!!!
>
> Juan J. Paredes G.
> From Curicó, Chile, South America, with love

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:32 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.