Skip to main content

Working on UNIX through your laptop

Brad Elkin (be@us.ibm.com ), Senior Technical Consultant, IBM
Brad Elkin is a senior technical consultant for IBM eServer - AIX systems and Linux clusters, focusing primarily on Life Sciences applications. He provides support to ISVs for porting applications, problem determination, application performance tuning, and application benchmark design and execution. He holds a PhD in Chemical Engineering from the University of Pennsylvania.

Summary:  I use cygwin to open up terminals from my Windows laptop to my IBM p270 workstation (running AIX 5.1 ML3) when I want to stay in the same windowing environment for both. The following procedure will work on any flavor of Unix that uses terminfo terminal descriptions.

Date:  26 Jun 2003
Level:  Intermediate
Activity:  110 views

Opening Terminals from Windows

cygwin terminals are of type "cygwin" which is not known to UNIX. To get a cygwin window to fully function, do the following (for example, vi works as expected):

  1. Install cygwin on the Windows computer. There is a small setup.exe file that you need to download from http://cygwin.com/. Just click on the Install now link and it does the rest (you can choose packages or just accept the defaults). I do not use the cygwin X-server and do not recommend installing it.
  2. After installing, start up a cygwin window. You can now telnet and ftp from this window into your Unix box. The default install creates a desktop icon to do this (looks like a vise around a green arrowhead). You will notice that, in a telnet session, Unix complains about not having a cygwin "term" definition.
  3. Copy (binary ftp) the file /usr/share/terminfo/c/cygwin from your laptop into /usr/share/terminfo/c/cygwin on an AIX workstation. Other Unix flavors have similar directories for storing their terminfo definitions. If the location isn't obvious, try man terminfo. You need to be superuser for this. Set the cygwin file's user/group to bin/bin and permissions to 444 (uga=r), identical to the other terminfo entries.
  4. You can add your Windows computer's hostname to your Unix .rhosts file.
  5. In the future, after starting up a cygwin window, you can start an ssh or rsh session (rsh is ok if you are staying in your intranetwork) and the terminal type is recognized on your Unix box. You can have multiple cygwin windows open on your laptop without X-server overhead slowing down or obscuring your regular Windows environment.

About the author

Brad Elkin is a senior technical consultant for IBM eServer - AIX systems and Linux clusters, focusing primarily on Life Sciences applications. He provides support to ISVs for porting applications, problem determination, application performance tuning, and application benchmark design and execution. He holds a PhD in Chemical Engineering from the University of Pennsylvania.

Comments (Undergoing maintenance)



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=AIX and UNIX
ArticleID=88026
ArticleTitle=Working on UNIX through your laptop
publish-date=06262003
author1-email=be@us.ibm.com
author1-email-cc=

My developerWorks community

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers