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 Sat 30 Aug 2014, 18:52
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 Posts_count  
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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