public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* environment problems mixing mintty and xterm
@ 2009-01-22 16:57 Lester Ingber
  2009-01-22 22:57 ` Andy Koppe
  0 siblings, 1 reply; 6+ messages in thread
From: Lester Ingber @ 2009-01-22 16:57 UTC (permalink / raw)
  To: cygwin

I find mintty very useful.  I can bring it up as a standalone window or I
can run run additional windows from xterm running under X.  If I do the
latter then mintty inherits the environment from the xterm window I'm
running, e.g., including additional path entries set in ~/.tcshrc, etc.

However, if I run mintty from my xterm window I have some problems.

For example, say I have open xterm (from startxwin.csh) with
xterm +tb -j -sb -geometry 80x84-6+0 &
this sets LINES set to 84.

If I have set up .minttyrc with
Rows=100
then after I go to my mintty window and back to my xterm, my xterm window
is messed up, e.g., top rows under `less` are off the screen.

There is no such problem, when running xterm, if I open an additional
mintty window as a Windows shortcut since it seems to open independently
-- without taking on the environment variables in my xterm window.

I guess it probably would increase the minimal nature of mintty to restore
such environment variables when leaving a mintty window?

Thanks.

Lester


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: environment problems mixing mintty and xterm
  2009-01-22 16:57 environment problems mixing mintty and xterm Lester Ingber
@ 2009-01-22 22:57 ` Andy Koppe
  2009-01-23  5:12   ` Nedit text plane inoperable WEEBER Bill
  2009-01-23 10:18   ` WEEBER Bill
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Koppe @ 2009-01-22 22:57 UTC (permalink / raw)
  To: cygwin

Lester Ingber wrote:
> However, if I run mintty from my xterm window I have some problems.
> 
> For example, say I have open xterm (from startxwin.csh) with
> xterm +tb -j -sb -geometry 80x84-6+0 &
> this sets LINES set to 84.
> 
> If I have set up .minttyrc with
> Rows=100
> then after I go to my mintty window and back to my xterm, my xterm window
> is messed up, e.g., top rows under `less` are off the screen.
> 
> There is no such problem, when running xterm, if I open an additional
> mintty window as a Windows shortcut since it seems to open independently
> -- without taking on the environment variables in my xterm window.

Thanks for the problem report, although I'd prefer to get these via the 
issue tracker at http://code.google.com/p/mintty/issues/ .

Unfortunately I haven't been able to reproduce the problem. A Unix 
process only receives copies of its parent's environment variables and 
it cannot change the originals, so the problem isn't caused that way.

Window size changes are signalled to the child process through a call to 
ioctl() on the child's pseudo terminal (pty), which triggers a SIGWINCH 
signal in any processes controlled by that pty. Perhaps something is 
going awry there.

Does the LINES variable in the xterm change immediately after invoking 
mintty, when you change mintty's size, or only after exiting it? What 
command line are you invoking mintty with?

Andy


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Nedit text plane inoperable.
  2009-01-22 22:57 ` Andy Koppe
@ 2009-01-23  5:12   ` WEEBER Bill
       [not found]     ` <49794AE3.400@cygwin.com>
  2009-01-23 10:18   ` WEEBER Bill
  1 sibling, 1 reply; 6+ messages in thread
From: WEEBER Bill @ 2009-01-23  5:12 UTC (permalink / raw)
  To: cygwin

Hello,

I've been successfully using Nedit on Cygwin for several years.  Today,
I did a fresh Cygwin install and Nedit no longer works properly.

Now Nedit starts up just like it always did in the past, but the text
plane is inoperable. I am able to read the document, and the document is
not in read only state.

When I click on the text plane, nothing happens. Normally a cursor would
appear. 

Menu items popup when I click on them, but I cannot type characters in
the dialog boxes.

When I swap my cygwin directory with a previous install, everything
works fine.

I'm using the following:
	Xming (6-9-0-31) as my X server
	Windows XP Professional SP2

Anyone else experiencing these problems?

Thanks,

   -Bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Nedit text plane inoperable.
       [not found]     ` <49794AE3.400@cygwin.com>
@ 2009-01-23 10:10       ` WEEBER Bill
  0 siblings, 0 replies; 6+ messages in thread
From: WEEBER Bill @ 2009-01-23 10:10 UTC (permalink / raw)
  To: cygwin

Thanks. 

-----Original Message-----
From: Larry Hall (Cygwin) [mailto:reply-to-list-only-lh@cygwin.com] 
Sent: Thursday, January 22, 2009 11:43 PM
To: WEEBER Bill
Subject: Re: Nedit text plane inoperable.

WEEBER Bill wrote:
> Hello,
> 
> I've been successfully using Nedit on Cygwin for several years.  
> Today, I did a fresh Cygwin install and Nedit no longer works
properly.
> 
> Now Nedit starts up just like it always did in the past, but the text 
> plane is inoperable. I am able to read the document, and the document 
> is not in read only state.
> 
> When I click on the text plane, nothing happens. Normally a cursor 
> would appear.
> 
> Menu items popup when I click on them, but I cannot type characters in

> the dialog boxes.
> 
> When I swap my cygwin directory with a previous install, everything 
> works fine.
> 
> I'm using the following:
> 	Xming (6-9-0-31) as my X server
> 	Windows XP Professional SP2
> 
> Anyone else experiencing these problems?

Try the the cygwin-xfree list.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Nedit text plane inoperable.
  2009-01-22 22:57 ` Andy Koppe
  2009-01-23  5:12   ` Nedit text plane inoperable WEEBER Bill
@ 2009-01-23 10:18   ` WEEBER Bill
  2009-01-23 11:28     ` WEEBER Bill
  1 sibling, 1 reply; 6+ messages in thread
From: WEEBER Bill @ 2009-01-23 10:18 UTC (permalink / raw)
  To: cygwin

Hello,

I've been successfully using Nedit on Cygwin for several years.  Today,
I did a fresh Cygwin install and Nedit no longer works properly.

Now Nedit starts up just like it always did in the past, but the text
plane is inoperable. I am able to read the document, and the document is
not in read only state.

When I click on the text plane, nothing happens. Normally a cursor would
appear. 

Menu items popup when I click on them, but I cannot type characters in
the dialog boxes.

When I swap my cygwin directory with a previous install, everything
works fine.

I'm using the following:
	Xming (6-9-0-31) as my X server
	Windows XP Professional SP2

Anyone else experiencing these problems?

Thanks,

   -Bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Nedit text plane inoperable.
  2009-01-23 10:18   ` WEEBER Bill
@ 2009-01-23 11:28     ` WEEBER Bill
  0 siblings, 0 replies; 6+ messages in thread
From: WEEBER Bill @ 2009-01-23 11:28 UTC (permalink / raw)
  To: cygwin

 
Oops, Sent this to wrong mail list. Sorry:) 

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of WEEBER Bill
Sent: Friday, January 23, 2009 12:06 AM
To: cygwin@cygwin.com
Subject: RE: Nedit text plane inoperable.

Hello,

I've been successfully using Nedit on Cygwin for several years.  Today,
I did a fresh Cygwin install and Nedit no longer works properly.

Now Nedit starts up just like it always did in the past, but the text
plane is inoperable. I am able to read the document, and the document is
not in read only state.

When I click on the text plane, nothing happens. Normally a cursor would
appear. 

Menu items popup when I click on them, but I cannot type characters in
the dialog boxes.

When I swap my cygwin directory with a previous install, everything
works fine.

I'm using the following:
	Xming (6-9-0-31) as my X server
	Windows XP Professional SP2

Anyone else experiencing these problems?

Thanks,

   -Bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-23  5:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-22 16:57 environment problems mixing mintty and xterm Lester Ingber
2009-01-22 22:57 ` Andy Koppe
2009-01-23  5:12   ` Nedit text plane inoperable WEEBER Bill
     [not found]     ` <49794AE3.400@cygwin.com>
2009-01-23 10:10       ` WEEBER Bill
2009-01-23 10:18   ` WEEBER Bill
2009-01-23 11:28     ` WEEBER Bill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).