I have managed to setup Tramp to connect to a remote Solaris machine from a Windows machine using plink, which is very nice.
(setq tramp-default-user "Beginner"
tramp-default-host "the_host"
tramp-default-method "plink")
But now I have a host of new problems, which I would assume to be related to the file encoding from the tramp upload:
For example I have edited the .profile and now I get strange error messages like
$>. .profile
bash: $'\r': command not found
How can I configure tramp to format files in a Solaris-friendly way?
Edit: Having unix-encoding the default solves the issue for me
(prefer-coding-system 'utf-8-unix)