On Mon, Aug 7, 2023 at 7:38 AM KAVALAGIOS Panagiotis (EEAS) via Cygwin <cygwin@cygwin.com> wrote: > > > On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz <roland.ma...@nrubsig.org> > > wrote: > > > Is there an official way to enter the Cygwin command line (e.g. bash > > > login) from Windows cmd.exe, e.g. if someone ssh's into a Windows > > > machine he/she ends/up in a cmd.exe and not bash... > > > > ping! > > You may run your favourite shell from the bin directory of your Cygwin > installation: > > "C:\Program Files\Cygwin\bin\bash.exe" > "C:\Program Files\Cygwin\bin\tcsh.exe" > > replace " C:\Program Files" with your target Cygwin installation directory > root.
Thanks ;-) Turns out my problem was simply that I forgot that just typing "bash" only gives me an interactive shell, which sources only the interactive shell configs (e.g. /etc/ksh.kshrc + ~/.kshrc for ksh93, and /etc/bash.bashrc + ~/.bashrc for bash), but not the login configs (e.g. /etc/profile + ~/.profile). So the simple fix was just to type: C:\Program Files\Cygwin\bin\bash.exe --login or C:\Program Files\Cygwin\bin\ksh93.exe --login ---- Bye, Roland P.S.: Which reminds me - is there a way to contribute a Cygwin ksh93 package ? -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple