Re: [ast-users] Problem with ksh read -n

2015-03-17 Thread Janis Papanagnou
Thanks for you explanations! - My notes below... Date: Tue, 17 Mar 2015 17:19:24 -0500 From: terrence.j.doyle+...@gmail.com There are two points, here. First, you're using an old version of ksh. Yes, I'm aware and noted that myself. I'd be happy if newer ksh's behaviour

Re: [ast-users] Problem with ksh read -n

2015-03-17 Thread Terrence J. Doyle
There are two points, here. First, you're using an old version of ksh. Second, ksh has a different spin from bash on reading fixed-length data. Read sees variables in two flavors, text and binary. When read puts characters into a textual variable newlines are always