[Pkg-tcltk-devel] Bug#364176: wish8.4 sends extra CR's to terminal

jidanni at jidanni.org jidanni at jidanni.org
Sun Aug 31 19:48:43 UTC 2008


SG> This convention is only for files, isn't it? For terminals it's always
SG> safer to put CR LF if you want to make sure that you'll start from the
SG> beginning of the next line. Have you ever seen a 'stairs' after
SG> crashing a curses application (which sets terminal into a mode where
SG> single LF just shifts cursor down and doesn't return the carriage).

Yes, correct, agreed.

>> sending, and how it will be interpreted in some environments.

SG> Could you provide an example where putting CR CR and CR to a terminal
SG> will be interpreted differently

$ script -c wish #then type some commands and exit
$ less typescript
See here how less shows the one extra ^M. One is enough, please. One
could say "well just use more(1). Wontfix!", but it would be better to
fix it.
$ script -c your_favorite_other_command
doesn't have this problem.





More information about the Pkg-tcltk-devel mailing list