Home > IT, linux, windows > Fixing Cygwin’s GNU Screen program

Fixing Cygwin’s GNU Screen program


After years of ignorance I discovered the wonderful GNU screen program on my GNU/Linux system. Basically screen is a window manager for terminals or terminal sessions. But after installing the Cygwin package on my Windows box I ended up with this error message after trying to invoke screen:

Cannot find terminfo entry for 'cygwin'.

This is unlikely to help others, but I’ll keep it as a reference… The culprit was a messed up installation. I had the following directories:

/usr/share/tabset # <- this folder was empty
/usr/share/terminfo # <- this folder was empty

I just had to delete the empty directories and rename tabset(2) and terminfo(2)

$ rmdir /usr/share/tabset /usr/share/terminfo
$ mv /usr/share/tabset\(2\) /usr/share/tabset
$ mv /usr/share/terminfo\(2\) /usr/share/terminfo

and now screen works just fine with Cygwin.

Categories: IT, linux, windows Tags: , ,
  1. Kevin Prichard
    2009/12/04 at 19:09

    This problem dogged me for a day, til I found your post. I ended up reinstalling terminfo and termcap, which solved the same screen problem. Thanks!

  1. No trackbacks yet.
Comments are closed.
%d bloggers like this: