Many of us don't have a choice but a Windows environment, be it XP, 2k3, W2k8, W7. If you are working for a company that is a Windows shop, you have few options and probably not supported by IT.
One can install Linux/OpenSolaris/QNX/BSD on a virtual machine to enjoy the fun offered by this operating systems. Another option would be to use Cygwin. Cygwin is a Linux-like environment for Windows, for more information please visit their website.
I normally configure my Cygwin installation with the following packages installed:
- Base package (default selection)
- Emacs
- MinTTY
- Python
This selection makes me comfortable [happy :)] in any Windows enviroment (ease of use and power of Windows + power of Linux/Unix tools).
~ts
Showing posts with label Cygwin. Show all posts
Showing posts with label Cygwin. Show all posts
Sunday, September 12, 2010
Saturday, May 01, 2010
Setting up rxvt in cygwin
Install the following packages
- xorg-server
- xinit
- xorg-docs
- X-start-menu-icons
- inetutils
- rxvt
- xorg-server
- xinit
- xorg-docs
- X-start-menu-icons
- inetutils
- rxvt
Tuesday, April 27, 2010
Linux telnet option negotiation - passive
Telnet client that comes with Debian Lenny (Linux Netkit 0.17) or Cygwin 1.7 telnet 1.7 (GNU inetutils) actively initiates option negotiation with the server. This is fine for most cases but there are old servers that just stops sending data when it does not like the option that the client tried to negotiate.
To passively participate in option negotiation, telnet can run with the following argument to force it not to send any further negotiation:
And for old telnet server, the following .telnetrc maybe needed:
~ts
To passively participate in option negotiation, telnet can run with the following argument to force it not to send any further negotiation:
Note here that we specified the port number. By doing so, we are basically telling telnet that negotiation is done and so wait for any packet from the server.telnet <hostname> <port>
And for old telnet server, the following .telnetrc maybe needed:
DEFAULT set echo mode character set crlf
~ts
Saturday, April 24, 2010
MinTTY shortcuts
I am using MinTTY in cygwin port, it looks and works nice. Below are some of the shortcuts I have come accustomed to:
Copy text into Windows clipboard
Copy text into Windows clipboard
Paste from Windows clipboardCtrl-Ins
Open new instance of MinTTYShift-Ins
Alt-F2
.bashrc not run in Cygwin
This can be caused by having HOME defined in Windows system/user environment. Thus say, when you do:
See also this link for more information.
ts
... and if you get a response of "Home=D:\Home" for example then this can be fixed by:set HOME
in Cygwin bash shell.cp -p /etc/defaults/etc/skel/.bash_profile ~
See also this link for more information.
ts
Subscribe to:
Posts (Atom)
CPP Quick Guide
Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...
-
Installing MonoDevelop in OpenSUSE 12.2 from its repository was very easy. When running it for the first time though I got the message: Th...
-
Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed pro...
-
Minimal OPC UA client that auto generates self signed certificate on startup in C# This is minimal OPC UA client in C# that demonstrates se...