This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fhandler_console.c refresh?


On Jan 12 14:35, Christopher Faylor wrote:
> On Fri, Jan 12, 2007 at 08:23:24PM +0100, Corinna Vinschen wrote:
> >On Jan 12 13:27, Christopher Faylor wrote:
> >> On Fri, Jan 12, 2007 at 11:29:40AM -0500, Joseph Allen wrote:
> >> >I'm thinking of modifying fhandler_console.c, to make the mouse
> >> >support, clipboard support and perhaps some other things a lot more
> >> >like xterm.  Possibly this is optional for backwards compatibility:
> >> >maybe there's a CYGWIN environment variable option for it.  The idea is
> >> >to make UNIX programs (particularly, my text editor JOE, but many other
> >> >programs such as 'mc') work fully in CMD console windows.  Basically,
> >> >I'd much prefer to do this than make a win32 port of JOE.  What do
> >> >think?  I'm sure that this has been a topic of discussion in the past,
> >> >so I'm wondering how receptive people are to changes to the terminal
> >> >emulator's behavior.
> >> 
> >> I'm very willing to explore the idea of making the handling of the
> >> console more like xterm.  If we can't do it in a backwards comtemptible
> >> fashion maybe we could just detect when TERM=xterm and "do the right
> >> thing".
> >> 
> >> Two things to consider before you start:
> >> 
> >> 1) Please just send regular text email to this mailing list.  This one
> >> slipped by but you won't be able to send any more html mail here.
> >> 
> >> 2) Please consider getting the ball rolling on submitting an assignmemt
> >> from http://cygwin.com/assign.txt to Red Hat so that there will be no
> >> delays in reviewing or adopting your patch.
> >> 
> >> Otherwise, I think this is a good idea and encourage you to submit patches
> >> to make this so.
> >
> >This sounds all good and right.  That reminds me that I'm always missing
> >that the console window doesn't handle changing the window size gracefully.
> >Somehow my applications never get a SIGWINCH.  Is that also something
> >you'd like to add?  *hint, hint* ;)
> 
> There is SIGWINCH handling in the console already.  If it isn't working,
> that's a bug.  However, IIRC, it isn't possible to emulate this 100%
> perfectly.

Too bad.  I'm missing this usually when running vim or gdb in a console
window.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]