Try "export TERM=vt100" (assuming you are using some sort of variant of /bin/sh)
This is a generic terminal that should work Martin Visser Technology Consultant Consulting & Integration Technology Solutions Group - HP Services 410 Concord Road Rhodes NSW 2138 Australia Mobile: +61-411-254-513 Fax: +61-2-9022-1800 E-mail: martin.visserAThp.com This email (including any attachments) is intended only for the use of the individual or entity named above and may contain information that is confidential, proprietary or privileged. If you are not the intended recipient, please notify HP immediately by return email and then delete the email, destroy any printed copy and do not disclose or use the information in it. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sonia Hamilton Sent: Monday, 8 October 2007 4:53 PM To: [email protected] Subject: [SLUG] screen on SunOS Slightly OT, but I'll give it a shot... I use screen for flicking between multiple terminals, but when I connect to a Sun box and run something like vi, I get this message: > uname -a SunOS fubar 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-60 > vi foo screen: Unknown terminal type I don't know what kind of terminal you are on - all I have is 'screen'. [Using open mode] I think that the problem is that a TERM of type 'screen' isn't listed in /etc/termcap on the Sun box, but how do I solve it? Copy the terminfo from a Linux box up to the Sun box? Set TERM to something else when on the Sun box (and if so, to what?). I've tried googling, but I'm not getting anywhere - thanks for any hints... -- Sonia Hamilton -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
