Re: JESS: command line behaviour on OSX
Or, maybe I just misunderstood the problem. And Ernest had a good suggestion as well... :-) SDG jco "Never give in--never, never, never, never, in nothing great or small, large or petty, never give in except to convictions of honour and good sense. Never yield to force; never yield to the apparently overwhelming might of the enemy.'' The speech was made 29 October 1941 to the boys at Churchill's old public [private] school, Harrow--not Oxford nor Cambridge. On Nov 15, 2006, at 6:23 PM, Robert Kildare wrote: I have just installed Jess on my fancy new macbook (OSX_4). I find that using the command line is very limiting compared to the WinXP command line. There is no up/down arrow history, in particular. Does anyone know how I can get this functionality at the terminal, short of installing Windows as well? Rob To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify owner-jess- [EMAIL PROTECTED] To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED]
Re: JESS: command line behaviour on OSX
FWIW, I find an Emacs shell a wonderful, feature-rich way to interact with a command line to Jess (or CLIPS). Once in the command line this is essentially independent of the platform OS. But familiarity with Emacs would be required for this to be a good solution. - Mike On Nov 15, 2006, at 7:23 PM, Robert Kildare wrote: I have just installed Jess on my fancy new macbook (OSX_4). I find that using the command line is very limiting compared to the WinXP command line. There is no up/down arrow history, in particular. Does anyone know how I can get this functionality at the terminal, short of installing Windows as well? Rob To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify owner-jess- [EMAIL PROTECTED] To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED]
Re: JESS: command line behaviour on OSX
like magic.. a satisfied customer :) ==Original message text=== On Thu, 16 Nov 2006 13:55:11 +1100 "Ernest Friedman-Hill" wrote: On Nov 15, 2006, at 7:23 PM, Robert Kildare wrote: > > I have just installed Jess on my fancy new macbook (OSX_4). I find > that > using the command line is very limiting compared to the WinXP command > line. There is no up/down arrow history, in particular. Does anyone > know > how I can get this functionality at the terminal, short of installing > Windows as well? > Actually, I have a neat solution for this; it works on all UNIX variants, Mac OS X included. Go to http://jline.sourceforge.net and download the JLine project. Unzip the thing to get yourself a jline-0.9.9.jar . Then start Jess with java -classpath wherever/jline-0.9.9.jar:wherever/jess.jar jline.ConsoleRunner jess.Main And, like magic, you'll get the Jess prompt with GNU-readline-like command-line editing. You could edit the bin/jess script that comes with Jess to do all this automatically, of course. - Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National LabsFAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://www.jessrules.com To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] ===End of original message text=== To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED]
Re: JESS: command line behaviour on OSX
I've been using Mac's since they started using BSD as the foundation for OS X. The bash shell (default) has the up-down arrow commands for history. Mac is ideal for old Unix guys who grew up using the Unix command line and can switch between bash, korn, bourne and c shells. Personally, I like the korn shell best but bash is a close equivalent. My suggestion is to get a good book on Unix or Mac OS X and go through all of the command line stuff that the Unix SysAdmin guys use. Have fun. It's the same struggle that Unix guys have when they get their first Windows machine. :-) SDG jco "Never give in--never, never, never, never, in nothing great or small, large or petty, never give in except to convictions of honour and good sense. Never yield to force; never yield to the apparently overwhelming might of the enemy.'' The speech was made 29 October 1941 to the boys at Churchill's old public [private] school, Harrow--not Oxford nor Cambridge. On Nov 15, 2006, at 6:23 PM, Robert Kildare wrote: I have just installed Jess on my fancy new macbook (OSX_4). I find that using the command line is very limiting compared to the WinXP command line. There is no up/down arrow history, in particular. Does anyone know how I can get this functionality at the terminal, short of installing Windows as well? Rob To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify owner-jess- [EMAIL PROTECTED] To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED]
Re: JESS: command line behaviour on OSX
On Nov 15, 2006, at 7:23 PM, Robert Kildare wrote: I have just installed Jess on my fancy new macbook (OSX_4). I find that using the command line is very limiting compared to the WinXP command line. There is no up/down arrow history, in particular. Does anyone know how I can get this functionality at the terminal, short of installing Windows as well? Actually, I have a neat solution for this; it works on all UNIX variants, Mac OS X included. Go to http://jline.sourceforge.net and download the JLine project. Unzip the thing to get yourself a jline-0.9.9.jar . Then start Jess with java -classpath wherever/jline-0.9.9.jar:wherever/jess.jar jline.ConsoleRunner jess.Main And, like magic, you'll get the Jess prompt with GNU-readline-like command-line editing. You could edit the bin/jess script that comes with Jess to do all this automatically, of course. - Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National LabsFAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://www.jessrules.com To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED]