473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Override on terminal

Hi there.

I'm computer science student at the end of my degree. I'm new about
python.

I've a question for all of you.

Do you know how to write, from python code, on a unix(linux) terminal
on specified coordinates?
And also: is it possible to override, from python code, something on a
unix(linux) terminal?

I would have a suggestion that won't use files.

I hope that i've been clear.

Thanks,

Mattia

Apr 11 '06 #1
4 1980
fivestars wrote:
Do you know how to write, from python code, on a unix(linux) terminal
on specified coordinates?
Search for the "curses" module.
And also: is it possible to override, from python code, something on a
unix(linux) terminal?
The word "override" is ambiguous here (actually it's just about entirely
meaningless). Can you describe what you want in more detail? Maybe
with an example?
I would have a suggestion that won't use files.
That also doesn't make sense, though perhaps it would if we understood
the question.
I hope that i've been clear.


Not very, but please try again. :-)

-Peter

Apr 11 '06 #2
"fivestars" <ma***********@gmail.com> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...
Hi there.

I'm computer science student at the end of my degree. I'm new about
python.

I've a question for all of you.

Do you know how to write, from python code, on a unix(linux) terminal
on specified coordinates?
Actually, there is no unix(linux) terminal. What you have are terminals, of
various flavors, that can be attached to a unix(linux) session.

Once you decide to stray from generic spaces and tab formatting, it is the
terminal that has fancy features such as positioning the cursor at arbitrary
coordinates. And every terminal type has a different command sequence to
achieve that. That said, there are standards such as the VT-100 terminal
that everything seems to emulate. You would need to have the VT-100 command
set in front of you and you would code this into your python routines.

Someone else has suggested the "curses" module. I haven't played with this
but it is probably just the ticket you are looking for. It no doubt encloses
cgoto commands, blink, highlight, clear screen, color command & yada yada
for various terminal types inside nice python functions

And I'll be surprised if it doesn't default to VT-100 ;-)
And also: is it possible to override, from python code, something on a
unix(linux) terminal?
I don't know what that means.
If you meant overwrite (rather than override!), then the answer would be
yes.

Thomas Bartkus
I would have a suggestion that won't use files.

I hope that i've been clear.

Thanks,

Mattia

Apr 11 '06 #3
On 2006-04-11, fivestars <ma***********@gmail.com> wrote:
Do you know how to write, from python code, on a unix(linux)
terminal on specified coordinates?
Yes, I do.
And also: is it possible to override, from python code,
something on a unix(linux) terminal?


What do you mean "override"?

--
Grant Edwards grante Yow! Was my SOY LOAF left
at out in th'RAIN? It tastes
visi.com REAL GOOD!!
Apr 11 '06 #4
ops..yes overwrite is what i would say!!

thanks to all!!

Apr 17 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: flamesrock | last post by:
First, I'm very new to gui programming, so please go lightly on me :) Ok, so far I've settled on wxPython, and what I'd like to do as a first leap is *convert* a text program into a gui program....
3
by: Josh Schmidt | last post by:
How can one set the terminal services profile and home directory path in AD using VB.NET? I can set the usual profile paths, but terminal services properties are not supported with ADSI. Any...
5
by: TPoise! | last post by:
Using: .NET 1.1, Visual Studio 2003, C#, Microsoft Windows 2000 Server (SP4 and all latest windows updates), Terminal Server running in application mode. I have a C# application that I've...
8
by: OHM | last post by:
Hi peoples, I dont know where to place this question, so as I know you guys are all resourceful experts, I thought I would try here. I am writing some code which will be run usingh remote...
6
by: Atley | last post by:
I have a Terminal Services server running Windows 2000 Server. I need to be able to identify, in my application on that server, which client computer is addressing that server and running that...
20
by: Joel Hedlund | last post by:
Hi all! I use python for writing terminal applications and I have been bothered by how hard it seems to be to determine the terminal size. What is the best way of doing this? At the end I've...
3
by: shawn | last post by:
In the past I have had SQL and Terminal server on the same PC. With SQL and Windows 2003 Terminal server, you can not have them on the same PC. How can I make this work with SQL and Terminal and...
7
by: mike | last post by:
We have numerous Access 97 apps that we run on our Terminal Server, but two apps in particular is giving us a problem. The problem we are running into is when you select a drop down menu, it errors...
16
by: =?Utf-8?B?RHdlZWJlcmVsbGE=?= | last post by:
I created an Access 2007 application for my customer. The application is shared by three employees on a server. It maintains a contact list including financial data and social security numbers. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.