gusl: (Default)
[personal profile] gusl
Why do 'git' and 'ssh' not work inside my Cygwin shell? They do work in my MINGW shell.

When I try 'ssh', I get the following error:
<< Pseudo-terminal will not be allocated because stdin is not a terminal. >>

---

Why does my Emacs Cygwin append "\r" to the end of every line... but only if I started the shell after starting the R process (in the same Emacs window)?

The SHELLOPTS variable does not change. "igncr" is present before and after the R process is started:
bash-3.2$ echo $SHELLOPTS
braceexpand:emacs:hashall:histexpand:history:igncr:interactive-comments:monitor

(no subject)

Date: 2010-03-07 03:12 am (UTC)
From: (Anonymous)
In UNIX, newline is \n
In PC, it's \r\n
in oldMac, it's \r

What you want is to set:
Alt+x set-buffer-file-coding-system
to mac/dos/unix as appropriate

(no subject)

Date: 2010-03-07 03:13 am (UTC)

(no subject)

Date: 2010-03-07 03:15 am (UTC)
From: [identity profile] radiata-prime.livejournal.com
oh, and as to ssh, you need to
export TERM
assuming you're using bash

February 2020

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags