>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
No comments:
Post a Comment