Text based screens without ncurses

M

Mirat Can Bayrak

Hi, i'll try to write a editor in python, i want it run under terminal (no qt or gtk) but i dont want to use urwid or curses modules.

Can i write my curses like module in python? i googled to find metods that curses uses to write characters,colors etc. on screen but it did not make sense to me. Can u help me? any ideas? any suggestions?
 
S

Shawn Milochik

Sure. If you don't want to use the ncurses library, then you
could use something like slang (the Python package containing
slang is called newt).

Or you can use terminfo/termcap like this:

http://code.activestate.com/recipes/475116/


Probably not.


Well, I'd working on my spelling and typing skills and stop
using SMS-speak on Usenet.


I second that! This list has standards. Here are a few tips:

Capitalize the word "I" and "I'll" and the like.
The word "you" has three letters in it, not one.
Use spell-check.
Capitalize Google and its derivatives.

In general, present yourself as someone intelligent -- not a moron.
You'll get more respect, and more help.

While I'm ranting, here's more general stuff that doesn't necessarily
apply to this thread:

Do not type anything in all caps.
Make your e-mail subject meaningful. I don't bother to read anything
with no subject, or "help" or some other useless title.
If your code isn't working, post it when asking the group why it doesn't work.
When your output isn't what you wanted, post sample input, actual
output, and expected output.

Proofread what you write! Not only will you be able to fix bad
writing, but upon re-reading you may notice that you are being
ambiguous, leaving out important details, or that your wording just
doesn't make sense. Think about how many threads begin with a
question, then 10 responses asking for clarification. If you ask
properly the first time, you might just get the right answer in the
first reply!

ShawnMilo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top