I don't really understand a lot about the console, but I tried fixing
this issue by not allowing the exception to happen, and I did this by
checking if System.Console.CursorLeft == 0. 

Although this did avoid the resizing crashes, Melanie told me this could
hide bugs rather then fix them. Maybe she can explain better than I
can..

Just wanted to share this to see if anyone can come up with a better
solution, it's also been bugging me a lot. I've seen this happen without
any resizing a couple of times.

On Sat, 2009-07-11 at 13:22 +0200, Melanie wrote:
> No, it has nothing to with log4net.
> 
> Frisby, Adam wrote:
> > This sounds like a NLog bug actually -- all our console output is formatted 
> > by nlog (since it also does our logging, etc)
> > 
> > Adam
> > 
> >> -----Original Message-----
> >> From: [email protected] [mailto:opensim-dev-
> >> [email protected]] On Behalf Of Torrid Luna
> >> Sent: Friday, 10 July 2009 6:50 PM
> >> To: [email protected]
> >> Subject: Re: [Opensim-dev] mono *.exe crashes if screen is smaller than
> >> created...
> >> 
> >> Also sprach Mojito Sorbet ([email protected]):
> >> 
> >> > Why can't the consoles just use ReadLine and WriteLine?  That would
> >> make it
> >> > easier to interface with in a variety of ways?
> >> 
> >> +1
> >> Coming from Unix, I had these kind of problems only with Cisco
> >> Terminals, Windows Telnet emulations and Opensim so far. stdin/stdout
> >> is
> >> so much more convenient, and it would save a lot of screen sessions.
> >> 
> >> 
> >> Cheers,
> >> Torrid
> >> --
> >> Excerpts of "10000 Shell Scripts" -- today: monkeytypewriter
> >> $ cat /dev/random | strings | fmt | less
> >> 
> >> _______________________________________________
> >> Opensim-dev mailing list
> >> [email protected]
> >> https://lists.berlios.de/mailman/listinfo/opensim-dev
> > _______________________________________________
> > Opensim-dev mailing list
> > [email protected]
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> > 
> > 
> _______________________________________________
> Opensim-dev mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/opensim-dev

_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev

Reply via email to