Re: Changing the terminal title bar with Python

2013-10-18 Thread dickey
On Friday, October 18, 2013 12:46:19 PM UTC-4, Steven D'Aprano wrote: xterms used to have a feature where they would write the title back to standard input. Unfortunately, it has been disabled for security reasons, so I haven't been able to get this to work (not that I tried very hard...),

Re: ncurses getch unicode (was: decoding keyboard input when using curses)

2009-08-21 Thread Thomas Dickey
On Aug 20, 6:12 pm, Iñigo Serna inigose...@gmail.com wrote: Hi again, 2009/8/20 Iñigo Serna inigose...@gmail.com I have the same problem mentioned inhttp://groups.google.com/group/comp.lang.python/browse_thread/thread/...some months ago. Python 2.6 program which usesncursesmodule in

Re: ncurses getch unicode (was: decoding keyboard input when using curses)

2009-08-21 Thread Thomas Dickey
On Fri, 21 Aug 2009, Iñigo Serna wrote: 2009/8/21 Thomas Dickey dic...@his.com: On Aug 20, 6:12 pm, Iñigo Serna inigose...@gmail.com wrote:     c = win.getch() You're using getch, not get_wch (Python's ncurses binding may/may not have the latter). curses getch returns 8-bit values

Re: web page text extractor

2007-07-22 Thread Thomas Dickey
Miki [EMAIL PROTECTED] wrote: (You can find lynx at http://lynx.browser.org/) not exactly - The current version of lynx is 2.8.6 It's available at http://lynx.isc.org/lynx2.8.6/ 2.8.7 Development patches: http://lynx.isc.org/current/index.html -- Thomas E. Dickey http

Re: Curses and resizing windows

2007-02-28 Thread Thomas Dickey
': if len(sys.argv)==2 and sys.argv[1]==1: signal.signal(signal.SIGWINCH, sigwinch_handler) curses.wrapper(main) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: python+ncurses: I can't display accents

2007-01-27 Thread Thomas Dickey
patches to the configuration that I've seen mentioned in the bug reports to enable python to do this. Those are patches to python of course... (this was a topic of discussion on this newsgroup about a year ago). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http

Re: python+ncurses: I can't display accents

2007-01-26 Thread Thomas Dickey
of ncurses, but the limitation is definitely in the python configuration. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: curses problem reading cursor keys

2006-10-11 Thread Thomas Dickey
;-) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: need all python dialog equivalent

2006-06-22 Thread Thomas Dickey
package. dialog builds/works against either ncurses/ncursesw -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Need pixie dust for building Python 2.4 curses module on Solaris 8

2006-06-07 Thread Thomas Dickey
, both using default settings and using --with-shared. When the curses module is linked against for Solaris, you also should add --enable-rpath -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: Urwid 0.9.0 - Console UI library

2006-02-23 Thread Thomas Dickey
-8 for the past few years. You may perhaps mean default configuration, which has a different connotation. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing curses

2006-02-09 Thread Thomas Dickey
agains ncurses, not ncursesw... Interesting. It's probably using termcap (and the wide-character functions declared in wchar.h). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with curses and UTF-8

2006-02-08 Thread Thomas Dickey
per cell. To handle UTF-8, you need ncursesw. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing curses

2006-02-08 Thread Thomas Dickey
, rather than line noise) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with curses and UTF-8

2006-02-08 Thread Thomas Dickey
. that works -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with curses and UTF-8

2006-02-08 Thread Thomas Dickey
in uxterm I see the second line properly. But some more tinkering is needed to make python work properly. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing curses

2006-02-08 Thread Thomas Dickey
to show the code ;-) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing curses

2006-02-08 Thread Thomas Dickey
is resized - a way to query the terminal size ...and send UTF-8 text, keeping track of where you really are on the screen. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing curses

2006-02-08 Thread Thomas Dickey
Ian Ward [EMAIL PROTECTED] wrote: Thomas Dickey wrote: hmm - I've read Urwid, and most of the comments I've read in that regard reflect problems in Urwid. Perhaps it's time for you to do a little analysis. (looking forward to bug reports, rather than line noise) A fair request. My

Re: Is the Python binding for ncurses unicode capable?

2006-01-20 Thread Thomas Dickey
Martin v. Löwis [EMAIL PROTECTED] wrote: Thomas Dickey wrote: ncurses expects byte strings (although I'm uncertain as to what impact multi-byte encodings have in ncurses). It depends on whether python's curses binding is linked with the wide-character flavor (ncursesw) or the normal one

Re: Is the Python binding for ncurses unicode capable?

2006-01-19 Thread Thomas Dickey
with ncursesw, strings are interpreted according to the locale settings. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and curses

2005-12-16 Thread Thomas Dickey
E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Converting HTML to ASCII

2005-02-27 Thread Thomas Dickey
tables more/less as expected (though navigation in tables for links seems to be an afterthought). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- http://mail.python.org/mailman/listinfo/python-list