On Thu, Jan 31, 2013 at 1:19 PM, Andrew Pennebaker
<
andrew.p...@gmail.com> wrote:
> I often use a Git Bash window instead of a Command Prompt for coding.
> However, irb has trouble with special characters such as Backspace in this
> environment--it fails to query whether the terminal is a traditional Command
> Prompt window or a Cygwin window.
>
Is Git Bash window using rxvt? or is run directly on top of cmd.exe?
I believe Cygwin uses the same terminal emulator, which is broken.
> If we added this small check in irb, and altered the terminal I/O
> correspondingly, irb would perform better in the complex hybrid Windows+Unix
> environments that Ruby developers often use.
>
What small check are you talking? Perhaps you missed to include that
link or code.
The problem with this is rb-readline which is a pure-ruby Readline
implementation.
The best place to raise these issues is here:
https://github.com/luislavena/rb-readline/issues
Of course: unless you're using rxvt, which is broken.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry