chhotii: (Default)
[personal profile] chhotii
Using Cygwin under Windows. It's supposed to be a spiffy new version of Cygwin.

So, .bashrc is such a small and simple file, I figured it would be faster to use ed to edit it than to either install emacs or learn vi. Don't trust any of the Windoze tools to edit a file that is for the consumption of a Unix program, the line-endings wouldn't go over well.

After many hours of not understanding why things Just Weren't Working, opened a file (that I had edited with ed) in notepad.exe, just for kicks. Discovered that when I make a boo-boo and hit backspace, the text passed on to ed by the terminal contains my typo and the backspace character. Not that I would have found this out using 'cat .bashrc' in the terminal window, 'cause it displays as though the typo and backspace don't exist. Same thing when I get bits of text out of the file in error messages. Ironic, had to go to Windoze to find out what was really in the file.

Turns out, all that time I was wondering why I wasn't allowed access to /usr/local/cvs, what the computer was really trying to say was, you can't have access to /usr/local.{backspace}/crs{backspace}{backspace}vs because heh, silly, it doesn't exist.

AAAAAAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGG!!!!!!!!!!!!!!!!

No, I still don't want to learn vi.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

chhotii: (Default)
chhotii

July 2023

S M T W T F S
      1
2345678
9101112131415
16 171819202122
23 242526272829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 27th, 2026 09:19 am
Powered by Dreamwidth Studios