FAQ for HW3

Last modified: May 23, 2001 12:11:01 AM PDT

  • Page 5, last sentence states: "Update the cache according to ...
  • Help! I can't get clients on other machines to work well from ...

    Back to the CS193k Homepage




    Q:

    Page 5, last sentence states: "Update the cache according to setData()
    calls as they go out."  But page 7 last paragraph talks about "The TMClient 
    will receive messages from the TMServer on the XObject.  It should 
    a) throw out parts of the cache if necessary (especially for delete)". 
    I don't get what the right interpretation should be.
    

    A:

    The first sentence is meant to coraborate the second.  So have all of
    the setValue's trigger update events, which will hit the clients.  The
    clients which have the appropriate data in their caches should know to
    purge the values.
    
    Back to top...


    Q:

    Help!  I can't get clients on other machines to work well from my terminal!
    

    A:

    Many students have noticed that using ssh to set up other clients in Sweet
    Hall doesn't seem to sit well with Java.  Mostly, the display won't work.
    Use telnet instead, that seems to be working.  Make sure you set the DISPLAY
    variable correctly (use "setenv DISPLAY host:0" where host is your machine 
    (elaine4, etc.)) and then on your host machine run "xhost client" where client 
    is the name of your client machine.
    
    Back to top...