View previous topic :: View next topic |
Author |
Message |
tiktak n00b
Joined: 07 Sep 2002 Posts: 50 Location: varies.
|
Posted: Sat Sep 07, 2002 7:21 pm Post subject: bash / libreadline / curses problems !!!! HELP. |
|
|
Strange behavior in bash, independent from terminal (console, xterm, gnometerm).
When typing long lines, wrapping around the right screen edge to the next line does not work (wraps to the same line). Also, conversely, backspace across the left margin fails and produces a more-or-less garbled line of input (display only, the actual string produced after Newline is ok).
First thought it was TERM-related crap, but i tried everything, copying terminfos from other machines, compiling an unmodified bash myself... nothing worked.
My guess now is that it is a libncurses or more likely a libreadline problem.... very strange.
I use:
bash 2.05a-r3
readline 4.1-r4
ncurses 5.2-r6
(... which are listed as most recent unmasked packages after sync.)
The package.mask blabbers something about more recent readlines being blocked because of lacking bash compatibility - Well, I have not messed with the mask, so why are there incompatibilities with the approved packages??
Quite unsurprisingly, there are no such problems when configuring bash --disable-readline. But without readline support, bash is not very cool.
(Moreover, the Ctrl+PgUp/PgDn feature (complete from history matching already typed portion) fails under X, although it works under console.)
PLEASE help me, I NEED a perfectly working bash!
Perhaps tell me a working combination of versions? ( Or better, tell me I am stupid because I have forgotten to activate some option in some file, deep in /etc !? )
Note: 2 friends got abso-100%-lutely the same problem. What are we all doing wrong? |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Sep 07, 2002 7:41 pm Post subject: |
|
|
Do you have a fancy prompt setting? What is your PS1 variable set to? |
|
Back to top |
|
|
tiktak n00b
Joined: 07 Sep 2002 Posts: 50 Location: varies.
|
Posted: Sat Sep 07, 2002 9:22 pm Post subject: |
|
|
Oh! Thanks for the great hint! That's why Gentoo used those strange \( \) around the ANSI color sequences, I guess.... well, I had removed them in my PS1, used to work well back under SuSE..
Now fixed thanks to you! KUDOS!!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|