- https://github.com/git-for-windows/git/wiki/FAQ
- https://en.wikipedia.org/wiki/mingw-w64#MSYS2 – GfW is based on MSYS2; MSYS2 provides a Unix environment to Windows
- https://www.msys2.org – …
- https://www.gnu.org/software/emacs/download.html#windows – MSYS2 users can install GNU Emacs using a pacman command line
- http://ftp.gnu.org/gnu/emacs/windows/ – I wonder whether I can get this GNU Emacs for Windows to cooperate with the MSYS2 provided by GfW
- https://www.gnu.org/software/emacs/manual/html_node/emacs/Microsoft-Windows.html
- I guess the ordinary way to start GfW is through “Git Bash” in the “Git” group, that you reach through “Start”
- but I like ConEmu better than mintty, and I can start “C:\Program Files\Git\bin/bash.exe”
Blog
-
Git for Windows – comes with a nice minimal GNU shell environment
-
my 2021 Windows working environment
I would actually rather prefer Windows Terminal over ConEmu, because I assume it will be the new standard in the Windows world – but then in my professional Windows environment Group Policies do not allow “apps” – and then … ConEmu is quite nice.
Windows Terminal (CAVEAT: did no achieve it):
- https://en.wikipedia.org/wiki/Windows_Terminal
- https://aka.ms/terminal
- https://aka.ms/terminal-docs
- https://github.com/microsoft/terminal
ConEmu – a Windows console alternative, where you can paste text w/o using the mouse 😎
Last not least: WSL resp. WSL2:
My WSL is still a pre-GUI WSL, because my Windows 10 is not new enough – I can’t get my Windows admins to update my Windows 10 in order to achieve that.
Within WSL I run CentOS-7, because it makes me more used to what I need these days.
And …:
- https://www.gnu.org/software/emacs/download.html
- MSYS2 (Emacs for Windows uses a minimal set of MSYS2) (CAVEAT: did no achieve it)
- https://www.gnu.org/software/emacs/manual/html_mono/efaq-w32.html#MinGW
- 7-zip
- …
-
GitHub and SSH authentication
- https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/testing-your-ssh-connection
- https://stackoverflow.com/questions/46337566/why-is-github-asking-me-username-password-although-i-setup-ssh-authentication
SSH authentication only works with URL-s like this one: “git@github.com:<user>/<repo>.git“. Username (or anything like that) is not considered, just the public key.
-
how to set default user for manually installed WSL distro?
My preferred approach: /etc/wsl.conf inside the distro.
-
disable colours in Emacs
- https://www.emacswiki.org/emacs/AngryFruitSalad
- http://catb.org/jargon/html/A/angry-fruit-salad.html
- https://en.wiktionary.org/wiki/angry_fruit_salad
- http://www.askbjoernhansen.com/2002/09/05/unix_tip_disable_colors_in_ema.html
- https://unix.stackexchange.com/questions/108257/how-do-i-stop-emacs-from-colouring-the-text-of-the-file-i-am-editing#108272
To disable colouring in your current buffer, toggle font-lock-mode off with this command (my ad-hoc solution):
M-x font-lock-mode
To disable font-lock-mode “permanently” – see above!
You may still find coloured remainders – but it’s not as bad any longer.
Continued:
One day I suddenly noticed what should have been obvious from the beginning (in that environment):
$ echo $TERM xterm-256colorNow it was clear how to disable colours effectively in a non-GUI Emacs:
$ env TERM=xterm emacs -
the “less” utility and UTF-8
- https://en.wikipedia.org/wiki/Less_(Unix)
- http://www.greenwoodsoftware.com/less/faq.html#intl
- https://unix.stackexchange.com/questions/263959/how-can-i-paginate-a-utf-8-file-and-see-the-right-characters
- https://www.man7.org/linux/man-pages/man1/less.1.html#NATIONAL_CHARACTER_SETS
$ env LESSCHARSET=utf-8 less … -
how to access a Linux desktop from Windows via RDP
- https://www.makeuseof.com/tag/remote-control-linux-windows/
- https://www.makeuseof.com/tag/windows-remote-desktop-connection-custom-configurations/
- https://www.ubuntupit.com/how-to-install-and-use-xrdp-server-remote-desktop-on-linux-system/
- https://duckduckgo.com/?q=xrdp+session+xvnc+%22login+failed+for+display%22
- https://superuser.com/questions/1143359/xrdp-session-login-failed-for-display-0
- https://github.com/neutrinolabs/xrdp/issues/1412
- https://unix.stackexchange.com/questions/473209/connect-directly-to-xvnc-started-by-xrdp#473275