[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jul 15 12:10:07 2003 
Subject:Re: poplog interactive mode - PS 
From:ug57dsm 
Volume-ID:1030715.01 

Roger Evans wrote:
> Hmm, I think my attempts at remote debugging are rather losing the 
> battle aren't they. I think i'd better leave you in more local hands....
> 
> Roger
> 
> david moss wrote:
> 
>> Roger Evans wrote:
>>
>>> Ah, looks like you don't need the '+startup' in the command I 
>>> suggested for you - $pop_pop11 handles that bit for you. So try
>>>
>>>     pop11 ":setpop -> interrupt; sysinitcomp(); setpop()"
>>>
>>> roger
>>
>>
>>
>> Tried that, but pop11 dies after setpop(); for reasons unknown (no 
>> mishap is thrown or any indication given). I know because I sent the 
>> commands individually to test where the problem was.
>>
>> david.
>>
>>
> 
> 
> 

I have put the code for the java app I'm making in my web page (link 
below) It is *very* basic and its meant as a proof-of-concept, not as a 
proper development anything in the hope that someone will know what is 
going on.

http://studentweb.cs.bham.ac.uk/~ug57dsm/jedit/PopConsole.tar.gz

There is a makefile inside the .gz archive, just extract everything with 
"tar -xvzf PopConsole.tar.gz" and type "make run" to see it in action 
(assuming you have java properly set)

try sending some commands, like [hello world]=> or pr('this does 
work');nl(1); which I know work. Then try the stuff that doesn't, like 
"x + 1;" (where 'x' is undefined) or setpop(); (which makes it exit with 
exitcode 0).

Once poplog is made to work I can get on with hacking a proper app and 
then a plugin for jedit. :)

Hope someone has better luck than me.

regards,

david.

PS, the file Test.java in the root directory contains the main() method. 
Inside this there are a series of commented lines which you can swap 
around to check different incantations of poplog or bash at your leisure.
-- 
=================================================
  The future of HTML mail is clearly > /dev/null.
=================================================
  Two of the most famous products of Berkeley are
LSD and Unix. I don t think that is a coincidence
=================================================