Author |
Message |
majutsu
Joined: Jun 18, 2006 Posts: 151 Location: New York
Audio files: 1
|
Posted: Sun Aug 13, 2006 10:45 am Post subject:
a question about "one window chucK" |
|
|
I'm going through the manual and learning chucK.
The two-window chuck with all the sporking is great (although i don't think my mom would like me using words like "spork" in public ). When i hit page 16, and am trying to shred in one window chuck, i'm supposed to type >chuck --loop & which should start chuck running and get my command line back, i don't get a command line back in windows xp. it just sits there without giving me my command line back like the second window in two-window chucK. Is this a bug? Or does something else work besides the & in windows xp terminal? any ideas? not that it matters, since i find two window chucK to be more logical and easier to keep track of. Any ideas appreciated. -- brian _________________ All phenomena are atoms in association and dissociation. |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Aug 13, 2006 11:27 am Post subject:
|
|
|
You may be right; I didn't ever get my comand line back either. This might be a WinXP syntax issue? This should probably in the manual, perhaps there is some XP wizzard here that knows the corect syntax?
Personally I wouldn't recomend using just one window for ChucKing unless you are just going to run one finished program. I tend to use two windows; I have links in my start menu to two copies of the prompt each with a different colour setting to avoid confusion. They get opened covering the whole schreen width but are only a few lines high; The third window covering the rest of the schreen is my text editor and I alt-tab between them. For me that works very well. _________________ Kassen |
|
Back to top
|
|
|
Mies
Joined: May 31, 2006 Posts: 18 Location: London, UK
|
Posted: Sun Aug 13, 2006 11:41 am Post subject:
|
|
|
No, it's normal. The '&' indicates to the Unix shell that the command is to be executed in the background. OSX is based upon Unix but XP is not; unless you use 3rd-party software such as Cygwin this behavious cannot be replicated w/in an XP prompt window. |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Aug 13, 2006 12:01 pm Post subject:
Re: a question about "one window chucK" |
|
|
majutsu wrote: | I'm going through the manual and learning chucK.
The two-window chuck with all the sporking is great (although i don't think my mom would like me using words like "spork" in public ). |
Well, you can tell your mum you are only sporking because it gets you child-processes! _________________ Kassen |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Aug 13, 2006 12:02 pm Post subject:
|
|
|
Mies wrote: | No, it's normal. The '&' indicates to the Unix shell that the command is to be executed in the background. OSX is based upon Unix but XP is not; unless you use 3rd-party software such as Cygwin this behavious cannot be replicated w/in an XP prompt window. |
Cool, thanks for clearing that up. I think the manual could use a not on that to avoid further confusion and disapointment. i already send a mail about this. _________________ Kassen |
|
Back to top
|
|
|
majutsu
Joined: Jun 18, 2006 Posts: 151 Location: New York
Audio files: 1
|
Posted: Sun Aug 13, 2006 12:14 pm Post subject:
|
|
|
very cool mies. thanks for clearing that up!
thanks too kassen as always.
two questions kassen. how do you make shortcuts to command line? i don't know this? it's probably a noob question, but let me know.
also kassen, what is your text editor. I'm using notepad for now, which works, but i'm sure it sucks. what are you using? _________________ All phenomena are atoms in association and dissociation. |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Aug 13, 2006 12:40 pm Post subject:
|
|
|
Under Windows the comand line is a program like any other so shortcuts to it can be stored in the start menu using the "edit start menu" thingy. I can look up the exact buttons to push in what order if need be (my XP laptop isn't on at the moment)
For editing I use a old version of textpad;
http://textpad.com/
Any editor for plain text files should do but line numbers are almost essential to have at the very least. For simple quick editing I sometimes simply type "edit" at the prompt and use the build in dos one but for more complex stuff that one is often a bit out of it's league. _________________ Kassen |
|
Back to top
|
|
|
majutsu
Joined: Jun 18, 2006 Posts: 151 Location: New York
Audio files: 1
|
Posted: Sun Aug 13, 2006 12:46 pm Post subject:
|
|
|
Kassen wrote: | Any editor for plain text files should do but line numbers are almost essential to have at the very least. |
+1 _________________ All phenomena are atoms in association and dissociation. |
|
Back to top
|
|
|
majutsu
Joined: Jun 18, 2006 Posts: 151 Location: New York
Audio files: 1
|
Posted: Sun Aug 13, 2006 12:49 pm Post subject:
|
|
|
great article on command line shortcuts for beginners, step by step
http://www.microsoft.com/windowsxp/using/helpandsupport/learnmore/ballew_commandline.mspx
it's very easy to make a shortcut in xp. start-programs-accessories-command line, right-click - pin to start menu
look ma, no words.
also, you can change the start path, if you right-click and properties, so you don't always have to change directories to get to chuck. you can also change color, font, and command prompt for the aesthetically minded. _________________ All phenomena are atoms in association and dissociation. |
|
Back to top
|
|
|
majutsu
Joined: Jun 18, 2006 Posts: 151 Location: New York
Audio files: 1
|
Posted: Sun Aug 13, 2006 1:05 pm Post subject:
|
|
|
i decided to use the following code editor (PSPad) because it's free unlike textpad, but otherwise has lots of functions. Here's the link for those lacking an adequate code editor, like me.
http://www.snapfiles.com/get/spad.html _________________ All phenomena are atoms in association and dissociation. |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sun Aug 13, 2006 1:56 pm Post subject:
|
|
|
Type "edit" at a command prompt, a not too bad no frills editor thingy will show up. No line numbers, but it will show the cursor pos. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
jesusgollonet
Joined: Aug 29, 2006 Posts: 5 Location: Barcelona
|
Posted: Tue Aug 29, 2006 1:23 am Post subject:
a good editor for chuck |
|
|
hi all. first message here.
Concerning code editors, i'm using jedit and totally love it (it's free, multi-platform and extremely configurable via plugins, macros...). I totally recommend it.
Among some other nice things, you have a console plugin which gives you access to the command-line from within jedit, so you can chuck files without leaving the interface
I've made an edit mode (a syntax coloring scheme) for chuck. You can grab it (with instructions) from
http://www.jesusgollonet.com/blog/?p=135
also i am working (ok, by now just trying to figure out) on some more features for chuck in jedit.
any questions, thoughts... are welcome.
btw, great forum. |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Tue Aug 29, 2006 2:54 am Post subject:
|
|
|
jesusgollone and thanks for that jedit link. Currently I'm using a very old version of a commercial product (visual slick edit), but found upgrading too expensice. At first sight jedit seems to be a nice upgrade for me, going to check it out. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
kruhft
Joined: Oct 20, 2006 Posts: 50 Location: Canada
Audio files: 5
|
Posted: Fri Oct 20, 2006 5:25 pm Post subject:
emacs Subject description: a great editor for chuck |
|
|
I'll just pipe in with my 2 cents and say that the best editor for programming *anything* would be emacs, since it's designed from the ground up to be a programmers text editor (and operating system, but you won't learn that for the first couple years of using it). It's totally free (written initially by Richard Stallman, the initiator of the GNU project), has ports to every OS imaginable (including Windows, as it looks like many of you are using), and you can get chuck-mode.el, which makes for handy syntax-highlighted code editing along with other nifty features.
It's got a bit of a learning curve, but once you get over it, you'll find that if you're seriously going to get into programming, it's worth the time.
Of course, there's always vi as well, but I won't get into that argument...I use emacs.
--
kruhft |
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18197 Location: Durham, NC
Audio files: 212
G2 patch files: 60
|
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sat Oct 21, 2006 12:40 pm Post subject:
|
|
|
I like nano, nano has no things I dislike or don't understand. _________________ Kassen |
|
Back to top
|
|
|
kruhft
Joined: Oct 20, 2006 Posts: 50 Location: Canada
Audio files: 5
|
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18197 Location: Durham, NC
Audio files: 212
G2 patch files: 60
|
Posted: Sat Oct 21, 2006 12:59 pm Post subject:
|
|
|
This will date me, but my when I first started using Unix, ed was the only editor. _________________ --Howard
my music and other stuff |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Oct 22, 2006 11:13 am Post subject:
|
|
|
Mosc, I still hope you'll write more about the early days. _________________ Kassen |
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18197 Location: Durham, NC
Audio files: 212
G2 patch files: 60
|
Posted: Sun Oct 22, 2006 2:27 pm Post subject:
|
|
|
Yes, I want to finish that Electric Symphony Orchestra thread. _________________ --Howard
my music and other stuff |
|
Back to top
|
|
|
|