[comp.sources.d] Screen changes needed?

lwv@n8emr.UUCP (Larry W. Virden) (08/21/87)

Hi there.  i am attempting to use the recently posted screen command on
ultrix 1.2 .  i have found there were a number of pecularities adn problems
and hope that others may have found some solutions.  I will offer at least
one tip in advance. 

I started up screen and attempted to execute my very first command.  I got
'file not found'  After playing around a bit I found that my PATH was gone.
After further exploration, what I found was that only 64 environment variables
are copied to the new process.  I am using KSH (the old version - another
sad tale) and have about 100 variables, etc. in my environment.  The quick
and dirty solution was to change the define (MAXARGS I believe) to 128; this
got me going.  A friend says that he is going to hack around and try to add
a truely environment independent solution - find out how many variables are
in the environment and allocate that many pointers.

Now, for some problems.  1. When the screen termcap is substituted, only
the set of attributes defined in the constant string are used.  Unfortunately
this leaves out all kinds of terminal specific features which might be necessary
- such as site-specific attributes, etc.  What would be nice would be a
merge routine, which would merge in all non-conflicting attributes (including
unknowns).

Also, some folks would prefer to have the ability to supply their own terminal
definitions completely ; they are willing to add what ever attributes
necessary.  Next, folks with vt220s, or intelligent terminals want to disable
the terminal emulation altogether - toggle it off or something.  

Next, the bizarre stuff.  Even with 4755, owner of root, we find that on
screens other than 0, who am i gets confused (screens 2-9 say that there is
NO user!  I.E.  who am i reports site! ttyp3 12:43:23 ; when you do a talk,
the other person gets a msg to type "talk @site', etc.  We have also seen
screens which thought that a user was someone else on the systm!  

Dont get me wrong - I am crazy about the program.  We are just finding a lot
of bizarre things and are hoping that perhaps someone else has solved them.



-- 
Larry W. Virden	 75046,606 (CIS)
674 Falls Place, Reynoldsburg, OH 43068 (614) 864-8817
cbosgd!n8emr!lwv HAM/SWL BBS (HBBS) 614-457-4227.. 300/1200 bps
We haven't inherited the world from our parents, but borrowed it from our children.