Re: First Pass at mintty documentation; etc.

2009-01-16 Thread Ashok Vadekar
Message - From: cygwin-ow...@cygwin.com cygwin-ow...@cygwin.com To: cygwin@cygwin.com cygwin@cygwin.com Sent: Thu Jan 15 23:21:31 2009 Subject: Re: First Pass at mintty documentation; etc. Andy Koppe wrote: Lee D. Rothstein wrote: \e[1;5A: history-search-backward \e[1;5B: history-search

Re: First Pass at mintty documentation; etc.

2009-01-16 Thread Lee D. Rothstein
Ashok Vadekar wrote: Apologies for violating sane quoting convention, but I'm working off a crapberry. Wrt to window titles: change your PS1 prompt to no longer reassign the title with the pwd (assuming you still have the default definition from /etc/profile (or similar)) and use the same

Re: First Pass at mintty documentation; etc.

2009-01-15 Thread Mark J. Reed
On Thu, Jan 15, 2009 at 1:02 AM, Andrew DeFaria wrote: In my 25 years of working on such systems I can probably count on 2 fingers the number of times such a situation has arose and what I did was Control-C then Control-R again. Sure. I'm not disagreeing; I was more looking for a plausible

Re: keycodes (was: Re: First Pass at mintty documentation; etc.)

2009-01-15 Thread Matt Wozniski
On Thu, Jan 15, 2009 at 12:24 AM, Andy Koppe wrote: Speaking of history, does anyone know why xterm and rxvt diverged so much on modifier keycodes and why the xterm codes ended up being six characters long? Because rxvt failed to adhere to the relevant standards[1]. [1]

Re: First Pass at mintty documentation; etc.

2009-01-15 Thread Lee D. Rothstein
Andy Koppe wrote: Lee D. Rothstein wrote: \e[1;5A: history-search-backward \e[1;5B: history-search-forward Perhaps I don't understand this 'bash' feature, but it doesn't seem to work for me. Start typing a command, press Ctrl-Up, and it finds the previous line in the history that

Re: First Pass at mintty documentation; etc.

2009-01-15 Thread Lee D. Rothstein
Andy Koppe wrote: Andy Koppe wrote: Lee D. Rothstein wrote: I do lots of bash scripting including Windows/DOS commands, and I can think of only one character cell app that ever gave me any trouble from rxvt or xterm (whatever that app is -- I think a Kit app), I found a work-around and

Re: First Pass at mintty documentation; etc.

2009-01-15 Thread Charles Wilson
Lee D. Rothstein wrote: Andy Koppe wrote: -- Chuck Nice example! Who is Chuck? Me. As I explained to Andy off-list, the 'Virtual Identify' Thunderbird plugin got kinda confused, and tried to pass off my email as if Andy had sent it. Bad Virtual Identity! No Cookie! -- Chuck --

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Andy Koppe
Lee D. Rothstein wrote: \e[1;5A: history-search-backward \e[1;5B: history-search-forward Perhaps I don't understand this 'bash' feature, but it doesn't seem to work for me. Start typing a command, press Ctrl-Up, and it finds the previous line in the history that started like that. I

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Andy Koppe
Andy Koppe wrote: Lee D. Rothstein wrote: I do lots of bash scripting including Windows/DOS commands, and I can think of only one character cell app that ever gave me any trouble from rxvt or xterm (whatever that app is -- I think a Resource Kit app), I found a work-around and never needed it

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Andrew DeFaria
Andy Koppe wrote: Lee D. Rothstein wrote: \e[1;5A: history-search-backward \e[1;5B: history-search-forward Perhaps I don't understand this 'bash' feature, but it doesn't seem to work for me. Start typing a command, press Ctrl-Up, and it finds the previous line in the history that

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Mark J. Reed
On Wed, Jan 14, 2009 at 10:18 PM, Andrew DeFaria wrote: Why not simply type Ctrl-R then the first few letters of a command (or some letters in the middle of a command). Works great! Requires no support from any terminal emulator... True, but that's only one direction of history search, albeit

keycodes (was: Re: First Pass at mintty documentation; etc.)

2009-01-14 Thread Andy Koppe
Andrew DeFaria wrote: \e[1;5A: history-search-backward \e[1;5B: history-search-forward Perhaps I don't understand this 'bash' feature, but it doesn't seem to work for me. Start typing a command, press Ctrl-Up, and it finds the previous line in the history that started like that. Why not

console vs pty (was: Re: First Pass at mintty documentation; etc.)

2009-01-14 Thread Andy Koppe
Chuck Wilson wrote: full screen or DOS is a red herring. Any program that does something like the following, if compiled as a native program, won't work in rxvt (or MinTTY, or cygwin/cmd-shell-with-CYGWIN=tty): #include stdio.h main() { int c; while ((c = getc(stdin)) != EOF) fputc(c,

Re: console vs pty (was: Re: First Pass at mintty documentation; etc.)

2009-01-14 Thread Christopher Faylor
On Thu, Jan 15, 2009 at 05:44:09AM +, Andy Koppe wrote: Chuck Wilson wrote: full screen or DOS is a red herring. Any program that does something like the following, if compiled as a native program, won't work in rxvt (or MinTTY, or cygwin/cmd-shell-with-CYGWIN=tty): #include stdio.h main()

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Andrew DeFaria
Mark J. Reed wrote: True, but that's only one direction of history search, albeit the most commonly useful one. For those cases where you're somewhere back in your history and need to search forward, what do you do? In my 25 years of working on such systems I can probably count on 2 fingers

Re: First Pass at mintty documentation; etc.

2009-01-12 Thread Lee D. Rothstein
Andy Koppe wrote: Lee D.Rothstein wrote: Hi, I've taken a first pass at distilling my experience with 'mintty' and the [ahem] discussion, here, about it into a text file (see attachment mintty.{h}) Thanks, that's a nice surprise! Okay, since you at least didn't hate it, I'll plug it into