Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Jul 2014, 18:19
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Function keys don't work in text-mode apps (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Alienx


Joined: 06 May 2005
Posts: 141
Location: Rio de Janeiro - Brazil

PostPosted: Wed 14 Sep 2005, 08:44    Post subject:  Function keys don't work in text-mode apps (Solved)  

About Bash, MP and curses text-mode applications: I had a similar problem with MC, the functions keys dont work.

then I found the problem was in /root/.bashrc

this line must be deleted: . /etc/profile

and let only the last two:

export HISTFILESIZE=2000
export HISTCONTROL=ignoredups

the problem with MC has gone

_________________
Sorry, broken english above Smile
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 14 Sep 2005, 15:06    Post subject:  

yes, the reason sourcing /etc/profile causes this problem is the line:

TERM=linux

MC does not work properly unless TERM=xterm
and it causes the problem with the line-drawing chars that MP uses

so if you change it to TERM=xterm it works ok
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 14 Sep 2005, 21:55    Post subject:  

So, could leave that line in .bashrc:

Code:
 . /etc/profile
 export TERM=xterm
 export HISTFILESIZE=2000
 export HISTCONTROL=ignoredups


the inserted TERM line will override the one in profile, or so I think.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0395s ][ Queries: 11 (0.0027s) ][ GZIP on ]