Sunday, January 29, 2017

Cygwin - Unrecognized TERM type


>PROBLEM

Type a command, for instance man or vi, the command fails with the following message:

  Unrecognized TERM type




>SOLUTION


The issue came from an attempt to switch the initial folder using "--dir" mintty's flag in the "Cygwin64 Terminal.lnk".
It was done something like this:

D:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico --dir  /cygdrive/D/work/devmob2_/cygwin/home/train -w max

The command above was replaced by its default (except -w flag):

D:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -w max -

Instead, the initial folder was set using windows' HOME envvar.

To set windows HOME envvar:
  sysdm.cpl
Add:
  HOME=/cygdrive/l/work/devmob2_/cygwin/home

virtualbox6: debian: netbeans install issues: "dpkg: warning: 'ldconfig' not found in PATH or not executable" and "pkg-deb: error: archive 'apache-netbeans_....deb' uses unknown compression for member 'control.tar.zst', giving up"

  >PROBLEMS/SOLUTIONS You desire to install  Netbeans  on a Debian O.S. using the VirtualBox v.6 because the VirtualBox v.7 fails on your...