Re: CRLF when doing os.system("ls -l") while using curses !!!

2009-05-30 Thread Piet van Oostrum
> lsk040365 (l) wrote: >l> Can you provide me with some sort of example possibly--I have been >l> fighting this for a while and I wouldn't be using curses but I have >l> designed the program with the extended ascii characters thereby making >l> a nice UI...? Nice UI This is so 70's :=)

Re: CRLF when doing os.system("ls -l") while using curses !!!

2009-05-30 Thread lsk040365
On May 29, 6:35 pm, Piet van Oostrum wrote: > > lkenne...@gmail.com (l) wrote: > >l> Here is the code and as you can see for yourself, the output is not > >l> coming out on the screen with CRLF like it should.  How do I fix this? > > Don't use curses. > > Curses puts the terminal in raw mode (

Re: CRLF when doing os.system("ls -l") while using curses !!!

2009-05-29 Thread Piet van Oostrum
> lkenne...@gmail.com (l) wrote: >l> Here is the code and as you can see for yourself, the output is not >l> coming out on the screen with CRLF like it should. How do I fix this? Don't use curses. Curses puts the terminal in raw mode (more or less) which doesn't translate the newline charac

Re: CRLF when doing os.system("ls -l") while using curses !!!

2009-05-29 Thread Emile van Sebille
On 5/29/2009 1:34 PM lkenne...@gmail.com said... Here is the code and as you can see for yourself, the output is not coming out on the screen with CRLF like it should. Mine did: [r...@falcon]# python2 Python 2.3.3 (#1, May 11 2004, 14:44:08) [GCC 2.96 2731 (Red Hat Linux 7.1 2.96-85)] on

CRLF when doing os.system("ls -l") while using curses !!!

2009-05-29 Thread lkennedy5
Here is the code and as you can see for yourself, the output is not coming out on the screen with CRLF like it should. How do I fix this? import curses, os screen = curses.initscr() os.system("ls -l") curses.endwin() -- http://mail.python.org/mailman/listinfo/python-list