[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] Problem with TERMCAP in MFS image



If you ops and MFS are both FreeBSD 6.x, you could also mount /usr from
your ops node on /usr in the MFS and that would give you access to a lot
of binaries.  This involves a litte more work however.

In your ops:/etc/exports.head file, copy the line that looks like:

/share  -network 155.98.36 -mask 255.255.252.0 -maproot=root -ro -alldirs

(your network/mask may vary) to a new line:

/usr  -network 155.98.36 -mask 255.255.252.0 -maproot=root -ro -alldirs

and then on *boss* run:

/usr/testbed/sbin/exports_setup

Now on the node running the MFS, you should be able to do:

mount -o ro ops:/usr /usr

This is extremely brute force as you are changing /usr out from under running
apps, but it will probably work as a short term measure (I haven't actually
tried it).  Or you could mount it someplace else (not /mnt!) and tweak your
path and LDPATH as it talks about in the customize document.

On Tue, Jun 23, 2009 at 08:12:49AM -0600, Leigh Stoller wrote:
> >I tried changing TERM to ansi, ANSI, xterm, vt100 but nothing
> >changed anything.  I suspect I'm changing the right setting, or at
> >least not all of the right settings....  I assume I am missing
> >something.  how should TERM be set? do I need to recreate the
> >TERMCAP database?  Is this something that is done automatically when
> >a user logs in to let apps know what type of terminal is being used?
> 
> So here is what I did:
> 
> On boss go to /usr/ports/editors/jove and do:
> 
> boss> sudo make clean
> boss> sudo make LDFLAGS=-static
> 
> The binary will land in ./work or in /usr/obj ... go find the jjove
> binary and scp that over to your node running the MFS:
> 
> boss> sudo scp jjove pcXXX:/tmp
> 
> Then take the file attached to this message and scp that over to your
> node. Then ssh to your node and do:
> 
> pcXXX> sh
> pcXXX> . /tmp/ttt
> pcxxx> /tmp/jjove
> 
> and you should get a full screen jove ...
> 
> Lbs
> ps: this sorta assumes that both the MFS and your boss are running 6.X
> (where X does not need to be the same, just the 6 part).
> 
> 

> mutt_octet_view: file type is unsupported

> 
> 
> 

> _______________________________________________
> Testbed-admins mailing list
> Testbed-admins@flux.utah.edu
> http://www.flux.utah.edu/mailman/listinfo/testbed-admins