Looking for better termcap for Solaris 2.1

Looking for better termcap for Solaris 2.1

Post by Budi Rahard » Sun, 14 Mar 1993 08:30:19



Anybody got a better/working termcap for Solaris 2.1 ?
For some strange reasons it doesn't work quite right with "xterm"
(from remote) and "vt100" from home.

Second question, I have the following lines in my .login:

#PLAN A: use this if you work on different terminals from time to time
set noglob
eval `/usr/ucb/tset -Qsr -e^? -k -i -m dialup:\?vt100 -m network:\?vt100`
unset noglob; set term = `/usr/ucb/printenv TERM`

It works fine with Sun OS 4.1.x. but not with Solaris 2.1.
It keeps on using "sun".
Help ...

-- budi
--
Budi Rahardjo

Electrical Engineering - University of Manitoba - Canada

 
 
 

Looking for better termcap for Solaris 2.1

Post by Pete Hartm » Sun, 14 Mar 1993 13:06:46



Quote:>Anybody got a better/working termcap for Solaris 2.1 ?
>For some strange reasons it doesn't work quite right with "xterm"
>(from remote) and "vt100" from home.

I've noticed that xterm gets the tab mode screwed up.  A short-term
fix is "stty tab3".  To be sure we're talking about the same problem,
the main symptom is that tabs are cleared, so anything (like ls)
that relies on tabs will have one entry in the right place, and the
next starting at the next-to-last character at the other end of the
line....
--

                            "Shut Up," he explained.

 
 
 

Looking for better termcap for Solaris 2.1

Post by Budi Rahard » Mon, 15 Mar 1993 06:11:44




>>Anybody got a better/working termcap for Solaris 2.1 ?
>>For some strange reasons it doesn't work quite right with "xterm"
>>(from remote) and "vt100" from home.
>I've noticed that xterm gets the tab mode screwed up.  A short-term
>fix is "stty tab3".  To be sure we're talking about the same problem,
>the main symptom is that tabs are cleared, so anything (like ls)
>that relies on tabs will have one entry in the right place, and the
>next starting at the next-to-last character at the other end of the
>line....

Yup the same problem. I'll give it a try ..
Any long-term fix ?

-- budi
--

Unix Support - Computer Services - University of Manitoba

 
 
 

Looking for better termcap for Solaris 2.1

Post by Guy Harr » Mon, 15 Mar 1993 06:26:43


Quote:>Anybody got a better/working termcap for Solaris 2.1 ?

Sun does - the "termcap" from Solaris 1.1....

The Solaris 2.x "termcap" appears to be a System V "termcap", and
appears to be an old and tired "termcap" with a bunch of Xenix goo
stuffed into it.  (It has a big notice on it claiming that it's the
Valuable Intellectual Property of Bill the Bachelor Billionaire and his
empire....)

Some of its entries are really a bit bogus; you may be better off just
throwing it out and replacing it with a Solaris 1.x "termcap", or a
recent BSD "termcap", instead - or possibly running "infocmp -C" on the
"terminfo" entry for various terminals and using *that* "termcap" entry
to replace the one in the "termcap" file.

 
 
 

Looking for better termcap for Solaris 2.1

Post by Dana A. Ch » Sat, 20 Mar 1993 04:34:32




|> >Anybody got a better/working termcap for Solaris 2.1 ?
|> >For some strange reasons it doesn't work quite right with "xterm"
|> >(from remote) and "vt100" from home.
|>
|> I've noticed that xterm gets the tab mode screwed up.  A short-term
|> fix is "stty tab3".  To be sure we're talking about the same problem,
|> the main symptom is that tabs are cleared, so anything (like ls)
|> that relies on tabs will have one entry in the right place, and the
|> next starting at the next-to-last character at the other end of the
|> line....
|> --

|>                             "Shut Up," he explained.

Yes, compile the one below:

====================
xterm|vs100|xterm terminal emulator,
        ind=^J, cols#80, lines#65,
        clear=\E[H\E[2J, cub1=^H, am, cup=\E[%i%p1%d;%p2%dH,
        rmcup=\E[2J\E[?47l\E8, smcup=\E7\E[?47h,
        cuf1=\E[C, cuu1=\E[A, el=\E[K, ed=\E[J,
        cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD,

        smso=\E[7m, rmso=\E[m, smul=\E[4m, rmul=\E[m,


        kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ht=^I, ri=\EM,

        il=\E[%p1%dL, dl=\E[%p1%dM, il1=\E[L, dl1=\E[M,

        use=vt100-am,
xterms|vs100s|xterm terminal emulator (small screen 24x80),
        cols#80, lines#24,
        use=xterm

--
+*************************************************************************+
*  Dana Chee                            (201) 829-4488                    *
*  Bellcore                                                               *
*  Room 2P-298                                                            *

*  Morristown,  NJ  07960-1910          UUCP: {gateways}!bellcore!dana    *
+*************************************************************************+