bugMIT/GNU Scheme - Bugs: bug #56649, I can't use right or left arrow...

 
 

bug #56649: I can't use right or left arrow keys on interpreter

Submitted by:  None
Submitted on:  Fri 19 Jul 2019 11:04:18 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Originator Email:  -email is unavailable- Open/Closed:  Open
Keywords: 

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 23 Jul 2019 10:44:51 PM UTC, comment #2: 

I would love to do the work but I am a beginner of this, I need to learn more about this. For now, I will use Emacs run-scheme. This work is something I would like to do

Umut Ă–zdemir <umutozdemir>
Sat 20 Jul 2019 01:19:52 AM UTC, comment #1: 

This is not something that can be fixed easily.

When Scheme reads input from a terminal, it uses the operating system's default mechanism, called the terminal "cooked mode". This mode provides almost no editing capabilities other than backspace.

Modern shells like bash provide editing by using a sophisticated editor like GNU readline instead of relying on the operating system's support. We have considered modifying Scheme to use readline but it is quite a bit of work and no one has cared enough to do that work.

Most of us just use Emacs or Edwin as the front end to Scheme, which gives an even more powerful editing solution.

Anyway, if you care about this maybe you'd like to do the work?

Chris Hanson <cph>
Project Administrator
Fri 19 Jul 2019 11:04:18 PM UTC, original submission:  

When I press left arrow key or 4 (when num-lock is disabled) I see this appear at the end of my text on interpreter: ^[[D

If I press right or press 4 (when num-lock is disabled) I see this thing added to the end of the console input: ^[[C

They look like this in general: (When pressed two right and two left keys)

1 ]=> ^[[D

Also when I use CTRL + BACKSPACE:

1 ]=> ^H

I see these things only in this program. Here is my version:

Image saved on Tuesday February 6, 2018 at 6:31:25 PM
  Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/x86-64 4.118 || Edwin 3.116

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by umutozdemir (Posted a comment)
  • -email is unavailable- added by cph (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5