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 Tue 25 Nov 2014, 17:12
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x » Bugs (5.x dev)
Who reads the comment line on /etc/profile ?
Moderators: BarryK, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 11 Jun 2009, 07:58    Post_subject:  Who reads the comment line on /etc/profile ?
Sub_title: '#LANG=' on the comment line on /etc/profile affects at some occasion
 

/etc/profile has the comment at line 88 (upup-476)
Code:
#LANG=en_US.utf8 w004 going back to non-utf8...

I am not sure but occasionally it is read and the locale is set to
Quote:
en_US.utf8 w004 going back to non-utf8...

what program is reading this comment line other than /usr/sbin/shooselocale
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 14 Jun 2009, 22:47    Post_subject: Re: Who reads the comment line on /etc/profile ?
Sub_title: '#LANG=' on the comment line on /etc/profile affects at some occasion
 

shinobar wrote:
what program is reading this comment line

Well... I found it out.
Code:
# diff /usr/bin/xwin.org /usr/bin/xwin
13a14
> # 15jun09 bugfix reading LANG envronment from the comment lines of /etc/profile
482c483
<   NEWLANG="`cat /etc/profile | grep "LANG=" | cut -f 2 -d '='`"
---
>   NEWLANG="`cat /etc/profile | grep '^[ ]*LANG=' | tail -n 1| cut -f 2 -d '='`"
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 » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x » Bugs (5.x dev)
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.0398s ][ Queries: 11 (0.0036s) ][ GZIP on ]