APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > telnet linux to sco terminal emulation tic ––>Re: Telnetfrom Linux to SCO OpenServer 5.0.6
Printer Friendly Version




News Group Posts

telnet linux to sco terminal emulation tic




Date: Thu, 19 Sep 2002 13:31:54 +1200
From: Greg M Lee <greg@ncs.co.nz>
Subject: Re: Telnet from Linux to SCO OpenServer 5.0.6
References: <alsbiu$19lc$1@pandora.alkar.net>
<3D866C68.9C712BA4@ncs.co.nz>
<am9d0i$efm$1@panco.nettuno.it> Cristian Veronesi wrote: > > Greg M Lee wrote: > > > You can similarly copy the termcap entry and prepend/append to > > /etc/termacp on the SCO box. > > > > When telnetting from linux to SCO set terminal type to linux ie > > # TERM=linux export TERM > > > > You should be able to do similar things for gui terlnet sessions also > > Why this doesn't work for me? > > I appended the output of the linux command infocmp -I (from an xterm > session) to /etc/termcap in my SCO box that way: > > # > # Linux Xterm (Cristian) > # > xl|xtermlin|xterm terminal emulator (Linux):\ > am, bce, xenl, km, mir, msgr, mc5i, > cols#80, it#8, lines#24, colors#8, pairs#64, > acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, > cbt=\E[Z, bel=^G, cr=^M, csr=\E[%i%p1%d;%p2%dr, tbc=\E[3g, > clear=\E[H\E[2J, el1=\E[1K, el=\E[K, ed=\E[J, > hpa=\E[%i%p1%dG, cup=\E[%i%p1%d;%p2%dH, cud1=^J, > home=\E[H, civis=\E[?25l, cub1=^H, cnorm=\E[?25h, > [etc] > > But, when I telnet from the Linux box to the SCO box this is what it > happens: > > 209$ TERM=xtermlin; export TERM > 210$ vi x > xtermlin: Unknown terminal type > I don't know what kind of terminal you are on - all I have is 'xtermlin'. > [Using open mode] > > What was my mistake? Actually two :-( infocmp -C is what you should have used for a termcap entry, and the file from infocmp -I you should have run tic on as root to update the terminfo database. i.e. [Linux]% infocmp -I >xtermlin.src [Linux]% infocmp -C >xtermlin.cap transfer to SCO [SCO]# tic xtermlin.src [SCO]# cat xtermlin.cap >>/etc/termcap












Cheers
-Greg
 

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments


---January 5, 2005




Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Emulators
       - Linux
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here