Category: cygwin
-
John Borwick: Perl one liners for daily use
http://www.johnborwick.com/2019/02/03/perl-one-liners.html
-
macOS: pbcopy, pbpaste – provide copying and pasting from/to the “pasteboard”
https://www.unix.com/man-page/osx/1/pbpaste/ – macOS https://cygwin.com/packages/x86_64/cygutils-extra/ http://www.johnborwick.com/2019/02/03/perl-one-liners.html
-
today I ran into the “Tie::Hash::NamedCapture” problem again, and I decided to resolve it properly
https://metacpan.org/pod/Tie::Hash::NamedCapture I started experiencing this problem a while ago, I guess with some new Perl release “creeping” in. So far I have “resolved” this problem by choosing an older Perl version hanging around. Today on cygwin I installed “perl-debuginfo” – this won’t solve the problem on my other platforms, but at least I finally have…
-
cygwin: Cygserver
https://www.cygwin.com/cygwin-ug-net/using-cygserver.html https://x.cygwin.com/docs/ug/using-shared-memory.html https://superuser.com/questions/738105/how-to-install-cygserver Within a cygwin installation you can find this file: /usr/share/doc/Cygwin/cygserver.README Looks like some X Window applications like the terminal emulators need Unix shared memory. Looks like that requires Cygserver … — I am not sure though. Gathering experiences … N.B.: “Sometimes” I am running a cygwin installation as non-admin. I am not…
-
terminal emulators available in the Cygwin environment
The classical Unix/BSD/Linux approaches: https://en.wikipedia.org/wiki/Terminal_multiplexer https://en.wikipedia.org/wiki/GNU_Screen https://en.wikipedia.org/wiki/Tmux … I urgently need to replace mintty within my Cygwin environment by something more serious. I need to split the screen horizontally or vertically. And I cannot cope with screen‘s shortcomings – esp. with its learning curve. https://cygwin.com/packages/package_list.html https://cygwin.com/packages/x86_64/konsole/ https://cygwin.com/packages/x86_64/konsole4/ Which packages can we find in Cygwin: $…
-
alternative cygwin installer: apt-cyg
https://stackoverflow.com/questions/3647569/how-do-i-install-curl-on-cygwin https://github.com/transcode-open/apt-cyg $ apt-cyg …
-
KDE Konsole is a terminal emulator (AKA console) for the K Desktop Environment — outdated — I now prefer qterminal over konsole
https://konsole.kde.org https://docs.kde.org/stable5/en/applications/konsole/commandreference.html#settings-menu — shortcuts, how to move the focus to another tab, … http://kde-cygwin.sourceforge.net https://cygwin.com/packages/package_list.html https://cygwin.com/packages/x86_64/konsole/ https://cygwin.com/packages/x86_64/konsole4/ I urgently need to replace mintty within my Cygwin environment by something more serious. I need to split the screen horizontally or vertically. And I cannot cope with GNU screen‘s shortcomings – esp. with its learning curve. Context: https://en.wikipedia.org/wiki/Terminal_multiplexer…
-
getent – “get entries from administrative database”
https://en.wikipedia.org/wiki/Getent https://manpages.debian.org/unstable/manpages/getent.1.en.html The getent command displays entries from databases supported by the Name Service Switch libraries, which are configured in /etc/nsswitch.conf. If one or more key arguments are provided, then only the entries that match the supplied keys will be displayed. Otherwise, if no key is provided, all entries will be displayed (unless the database does not support enumeration). My DS713+ (Intel…
-
comparing /proc/12345/cmdline on Linux — “diff –text” vs “diff –brief –text” vs “cmp –silent”
https://en.wikipedia.org/wiki/Procfs#Linux A cmdline “file” contains NUL characters, so “diff” needs to be used with “–text” otherwise it will fail anyway. I chose process ID 12345 deliberately, it is just a placeholder. $ cp /proc/12345/cmdline $HOME/cmdline $ ll /proc/12345/cmdline ~/cmdline -r–r–r– 1 root root 0 2018-06-12 09:22:50 /proc/12345/cmdline -r–r–r– 1 user users 45 2018-06-12 09:48:19 /homes/user/cmdline #…
-
mintty is a terminal emulator for cygwin, …, and for WSL (Windows Subsystem for Linux)
http://mintty.github.io http://mintty.github.io/mintty.1.html https://github.com/mintty/utils https://github.com/mintty/mintty/wiki https://github.com/mintty/mintty/wiki/Tips https://github.com/mintty/mintty/wiki/Tips#virtual-tabs — “… By default, the list is shown in the extended context menu (Ctrl+right-click), …, and the menus opened with the Ctrl+Menu key …“ https://github.com/mintty/mintty/wiki/Tips#using-ctrltab-to-switch-window-pane-in-terminal-multiplexers (GNU Screen, tmux) — “The Ctrl+Tab and Ctrl+Shift+Tab key combinations can be used to switch …“ https://github.com/mintty/mintty/wiki/Tips#localization