I'm running redhat 9 with python 2.3.3 and when I'm in gnome-terminal
and inside the python interpreter I can't use the arrow keys anymore.
They simply show ^[[A, ^[[B, etc.
It doesn't appear to be gnome-terminal's settings as XTerm has the same
problem. If just at the command prompt they work fine, I'm able to hit
up/down/left/right and see previous/next shell commands or move around
to fix typos on the current line... however once I enter the python
interpreter it stops working.
I have found no options in gnome-terminal for switching anything I would
recognize as useful, such as to "VT100" or anything like that. The only
remotely similar setting was a character encoding of UTF-8 (unicode) and
that didn't seem applicable so I left it alone.
Technically this is probably a linux question not a python question but
since it only (to my knowledge) happens in the python interpreter I
thought you guys might know what I've done wrong.
Gabriel. 1 4325
Gabriel Cooper wrote: I'm running redhat 9 with python 2.3.3 and when I'm in gnome-terminal and inside the python interpreter I can't use the arrow keys anymore. They simply show ^[[A, ^[[B, etc.
This might indicate that Python was built without readline.
Also see: http://groups.google.nl/groups?hl=nl...sf%40pobox.com
HTH,
--
Vincent Wehren <vi*****@visual trans.de> http://www.visualtrans.de This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ranger West |
last post by:
Hello there,
Are there any out-of-the box handhelds that run Linux/Apache/MYSQL and
PHP? Does Redhat, Suse, or Gentoo support any handhelds?
I know the Zaurus comes close, but I've heard people have problems
running LAMP applications on it.
It would be cool to be able to run any LAMP application on sourceforge
on a handheld computer.
|
by: gnu |
last post by:
You can compile anything you want. Redistribute anything you want. You
can name the OS distribution your name burn CDs with it and make a
donation to 100 schools. You can make a distribution boot from a
memory stick. You can make your own filesystem, call it MyFS and be
forever happy. You can call yourself Chief Software Architect. You
don't have to sign NDA. It's called freedom. GNU Public License.
|
by: John Bailo |
last post by:
The war of the OSes was won a long time ago.
Unix has always been, and will continue to be, the Server OS in the form
of Linux.
Microsoft struggled mightily to win that battle -- creating a poor man's
DBMS, a broken email server and various other /application/ servers to
try and crack the Internet and IS markets.
In the case where they didn't spend their own money to get companies to
|
by: Thomas Casanova |
last post by:
Hi,
I am compiling a MSVC++ project on linux gcc 3.3.4.
gcc is whimsical about templates. It does understand the declaration
of the template type PointerList. It scream the error : 'PointerList'
is used as a type, but is not defined as a type. from this sources
code:
class TableFormat
|
by: Zorba.GR |
last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64
bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite
Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express
Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM
Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other
IBM Tivoli CDs, WEBSPHERE EVERYPLACE MOBILE PORTAL v5.0 - ALTIUM , other IBM WebSphere Business CDs...
| |
by: cranium.2003 |
last post by:
hi,
Here is my code
#include <iostream.h>
int main()
{
cout <<"HI";
return 0;
}
and using following command to compile a C++ program
g++ ex1.cpp -o ex1
|
by: smusunuri |
last post by:
Right now we have DB2 on Z/OS, collecting information on putting DB2 on
Linux zseries. So that our company can save money on Z/OS cpu cycles(or
MIPS).
On our mainframe we have OMEGAMON,CICS,RACF,TSO and PLATINUM tools are
accessing DB2 database. If we do migrate to DB2UDB on LINUX zseries,
then how does the above tools can communicate to newer DB2UDB. Do we
need any product like DB2 Connect ? was this do able ? any known
problems ? I am...
|
by: Nepomuk |
last post by:
In most modern distributions of Linux and Unix (at least ones with graphical environments like KDE, Gnome or XFCE), you get to mount your partitions easily from the desktop. In some cases however, it isn't that easy.
Note, that all of these commands have to be run in a terminal as root user. To open a terminal (sometimes called a console), either press ALT+F2 and type xterm (alternatives could be konsole or terminal) or press CRTL+ALT+F1 to...
|
by: Nepomuk |
last post by:
You might have heard about Linux, but you don't know what it is? Or you know a few things about it, but they terrify you? Well, then this article is for you. Don't be afraid - Everyone can use Linux!
Part 1: What is Linux and why should I use it?
Linux is an Operating System (short: OS). OK, so what is an OS? Let me explain:
Nearly everybody knows Windows. But what exactly does it actually do?
Windows is an example for a OS and one of it's...
|
by: james457 |
last post by:
Hi all,
I am writing a linux testbed for wireless sensor networks. The core objective is to test data transfer between any two nodes. The network runs using tree topology.
One node in the network is the "Driver". This node is connected using serial port to a linux PC. What I am trying to write is the software on this linux PC that will drive data transfer in the network.
The "Driver" node, taking commands from the software running on...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |