Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow keys not working with Python 2.6rc1 #48119

Closed
Chewie mannequin opened this issue Sep 14, 2008 · 5 comments
Closed

Arrow keys not working with Python 2.6rc1 #48119

Chewie mannequin opened this issue Sep 14, 2008 · 5 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@Chewie
Copy link
Mannequin

Chewie mannequin commented Sep 14, 2008

BPO 3869
Nosy @gpshead, @benjaminp

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2008-09-14.20:55:19.160>
created_at = <Date 2008-09-14.16:25:15.822>
labels = ['type-bug', 'invalid']
title = 'Arrow keys not working with Python 2.6rc1'
updated_at = <Date 2008-09-14.20:55:19.159>
user = 'https://bugs.python.org/Chewie'

bugs.python.org fields:

activity = <Date 2008-09-14.20:55:19.159>
actor = 'benjamin.peterson'
assignee = 'none'
closed = True
closed_date = <Date 2008-09-14.20:55:19.160>
closer = 'benjamin.peterson'
components = []
creation = <Date 2008-09-14.16:25:15.822>
creator = 'Chewie'
dependencies = []
files = []
hgrepos = []
issue_num = 3869
keywords = []
message_count = 5.0
messages = ['73229', '73230', '73233', '73234', '73236']
nosy_count = 3.0
nosy_names = ['gregory.p.smith', 'benjamin.peterson', 'Chewie']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue3869'
versions = ['Python 2.6']

@Chewie
Copy link
Mannequin Author

Chewie mannequin commented Sep 14, 2008

On Xubuntu 8.04. In Python2.5 arrow keys allowed you to scroll through
previous lines typed but with 2.6rc1 this stopped working and it's now
just typing the ^[[A^[[B^[[D^[[C characters.

@Chewie Chewie mannequin added the type-bug An unexpected behavior, bug, or error label Sep 14, 2008
@benjaminp
Copy link
Contributor

This probably has something to do with your readline build? Did you
compile Python yourself?

@Chewie
Copy link
Mannequin Author

Chewie mannequin commented Sep 14, 2008

Yes I did the configure / compile myself.

After reading about readline in setup I am still unable to enable it but
I guess it is not a bug in Python but more a user problem.

I am quite puzzled as to why something like this would stop being
enabled by defualt tho, pretty sure I don't know anyone who doesn't use
input history.

@gpshead
Copy link
Member

gpshead commented Sep 14, 2008

ubuntu? make sure you have the libreadline5-dev package installed.
then make distclean && ./configure && make

@Chewie
Copy link
Mannequin Author

Chewie mannequin commented Sep 14, 2008

That was it.

Needed to install libreadline5-dev.

Then the default settings for readline in Modules/setup needs
uncommented (line 165 in the current version) and it works.

Thank you kindly.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants