Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Arrow keys in Singular terminal: [[A^[[B^[[D^[[C
Author Message
  Post subject:  Re: Arrow keys in Singular terminal: [[A^[[B^[[D^[[C  Reply with quote
It worked. Thank you!
Post Posted: Mon Nov 17, 2014 2:31 pm
  Post subject:  Re: Arrow keys in Singular terminal: [[A^[[B^[[D^[[C  Reply with quote
Just checked: the official binaries are built with readline.
For you it means that during the configure readline library or include files are not found:
please install them via
"yum install readline-devel -y"
and run ./configure and make again.
Post Posted: Mon Nov 10, 2014 3:40 pm
  Post subject:  Re: Arrow keys in Singular terminal: [[A^[[B^[[D^[[C  Reply with quote
Yes it is fgets:
Singular for x86_64-Linux version 4.0.1 (4011, 64 bit) Nov 4 2014 17:25:02 #e3881ef
with
GMP(5.1.2),NTL(6.1.0),FLINT(2.4.4),factory(@(#) factoryVersion = 4.0.1),
fgets,Plural,DBM,
dynamic modules,dynamic p_Procs,OM_NDEBUG,SING_NDEBUG,CC:OPTIMIZE,eigenvalues,Gauss-Manin system,random=1415450541
built-in modules: {}

I use fedora 3.14.7-200.fc20.x86_64.
Post Posted: Sat Nov 08, 2014 2:51 pm
  Post subject:  Re: Arrow keys in Singular terminal: [[A^[[B^[[D^[[C  Reply with quote
Please check the build option of your Singular version
(either by starting it as Singular -v or via system("with"); from within Singular).
In the 3rd line it should mention "static readline" and not "fgets":
If fgets is mentioned, please tell us the exact version and OS your are using:
Singular needs to be rebuild to fix it.
On the other side, if readline is mentioned, your terminal type is not recognized
(try system ("getenv","TERM");) - it depends on your OS/terminal etc.
Post Posted: Fri Nov 07, 2014 11:32 am
  Post subject:  Arrow keys in Singular terminal: [[A^[[B^[[D^[[C  Reply with quote
I have recently installed Singular 4.0.1. However now the arrow keys in terminal return [[A^[[B^[[D^[[C.
This only occurs in Singular 4.0.1 and not in Singular 3 - 1 -5 nor in the terminal when Singular 4.0.1 is running.
How can I fix this?
Post Posted: Thu Nov 06, 2014 11:41 am


It is currently Fri May 13, 2022 11:04 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group