[GRASSLIST:9166] Re: major data loss bug with i.points!

Glynn Clements glynn at gclements.plus.com
Mon Nov 21 06:32:21 EST 2005


Hamish wrote:

> > Carriage returns yielded the same behavior.  I decided things looked a
> > little screwy, so I typed exit.  Grass seemed to quit in a normal way 
> > (D.m disappeared along with the terminal).
> 
> I have found that this same kind of terminal corruption has happened to
> me from time to time over a ssh connection to another machine on the
> network. If a lot of random crap gets sent to the display (e.g. "cat
> binaryfile"), one of the million monkey strings gets interpreted as a
> command for the terminal program to do something and things get weird.
> Closing the terminal (or leaving it open with just "logout" from the
> remote machine) gets rid of the problem. This is not a GRASS specific
> error, but rather input handling issue in the terminal program (unless
> of course a GRASS program spews out binary data to stdout).

Problems with the state of the terminal itself (e.g. selecting the
line-graphics character set) can usually be fixed with the "reset"
command.

Problems with the kernel's terminal driver (e.g. CR/LF handling,
echoing etc) can often be fixed with "stty sane".

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list