Re: .kshrc Definitions under X

2015-04-11 Thread Eckehard Berns
On Fri, Apr 10, 2015 at 09:03:26PM -0300, Henrique Lengler wrote: On Sun, Apr 05, 2015 at 09:22:03PM -0700, Philip Guenther wrote: If you start X with xdm, then you need to either A) manually set ENV (or source your entire .profile) from your .xsession that xdm invokes, OR

Re: .kshrc Definitions under X

2015-04-11 Thread Henrique Lengler
On Sat, Apr 11, 2015 at 10:24:47AM +0200, Eckehard Berns wrote: On Fri, Apr 10, 2015 at 09:03:26PM -0300, Henrique Lengler wrote: On Sun, Apr 05, 2015 at 09:22:03PM -0700, Philip Guenther wrote: If you start X with xdm, then you need to either A) manually set ENV (or source

Re: .kshrc Definitions under X

2015-04-10 Thread Henrique Lengler
On Fri, Apr 10, 2015 at 12:22:45AM -0400, dan mclaughlin wrote: On Thu, 9 Apr 2015 16:58:29 -0300 Henrique Lengler henriquel...@opmbx.org wrote: On Sun, Apr 05, 2015 at 09:22:03PM -0700, Philip Guenther wrote: On Sun, Apr 5, 2015 at 9:12 PM, Andrew Fresh and...@afresh1.com wrote: On

Re: .kshrc Definitions under X

2015-04-10 Thread Henrique Lengler
On Fri, Apr 10, 2015 at 01:05:13PM +0200, Benny Lofgren wrote: On 2015-04-10 04:21, Henrique Lengler wrote: Very strange. I can manually set a alias running: alias clr=clear # an then run the clr command will work. But If I try running the .kshrc file it don't work:

Re: .kshrc Definitions under X

2015-04-10 Thread dan mclaughlin
On Fri, 10 Apr 2015 18:49:02 -0300 Henrique Lengler henriquel...@opmbx.org wrote: On Fri, Apr 10, 2015 at 12:22:45AM -0400, dan mclaughlin wrote: On Thu, 9 Apr 2015 16:58:29 -0300 Henrique Lengler henriquel...@opmbx.org wrote: On Sun, Apr 05, 2015 at 09:22:03PM -0700, Philip Guenther

Re: .kshrc Definitions under X

2015-04-10 Thread Henrique Lengler
On Fri, Apr 10, 2015 at 07:51:01PM -0400, dan mclaughlin wrote: On Fri, 10 Apr 2015 18:49:02 -0300 Henrique Lengler henriquel...@opmbx.org wrote: On Fri, Apr 10, 2015 at 12:22:45AM -0400, dan mclaughlin wrote: On Thu, 9 Apr 2015 16:58:29 -0300 Henrique Lengler henriquel...@opmbx.org

Re: .kshrc Definitions under X

2015-04-10 Thread John Merriam
On 4/10/2015 8:03 PM, Henrique Lengler wrote: On Fri, Apr 10, 2015 at 07:51:01PM -0400, dan mclaughlin wrote: you should see an '-ls' option at the end as above. if not, that is your problem (it's not invoking a login shell), and this should work: I know that xterm isn't being started with

Re: .kshrc Definitions under X

2015-04-10 Thread dan mclaughlin
sorry to Henrique for the duplicate. On Fri, 10 Apr 2015 21:03:26 -0300 Henrique Lengler henriquel...@opmbx.org wrote: On Fri, Apr 10, 2015 at 07:51:01PM -0400, dan mclaughlin wrote: On Fri, 10 Apr 2015 18:49:02 -0300 Henrique Lengler henriquel...@opmbx.org wrote: On Fri, Apr 10, 2015

Re: .kshrc Definitions under X

2015-04-10 Thread dan mclaughlin
On Fri, 10 Apr 2015 20:48:39 -0400 John Merriam j...@johnmerriam.net wrote: On 4/10/2015 8:03 PM, Henrique Lengler wrote: On Fri, Apr 10, 2015 at 07:51:01PM -0400, dan mclaughlin wrote: you should see an '-ls' option at the end as above. if not, that is your problem (it's not invoking a

Re: .kshrc Definitions under X

2015-04-09 Thread Dutch Ingraham
Still not able to do this. My /home/henri/.profile have this: export ENV=$HOME/.kshrc export LC_CTYPE=en_US.UTF-8 export GOPATH=$HOME/go PATH=$PATH:$HOME/Scripts My .kshrc - export PS1='$PWD $ ' alias quit=exit alias

Re: .kshrc Definitions under X

2015-04-09 Thread Henrique Lengler
On Sun, Apr 05, 2015 at 09:22:03PM -0700, Philip Guenther wrote: On Sun, Apr 5, 2015 at 9:12 PM, Andrew Fresh and...@afresh1.com wrote: On Sun, Apr 05, 2015 at 10:50:47PM -0300, Henrique Lengler wrote: And it is called in ~.profile with this: . /home/henri/.kshrc The problem is that

Re: .kshrc Definitions under X

2015-04-09 Thread Henrique Lengler
On Thu, Apr 09, 2015 at 10:28:02PM +0200, Jan Vlach wrote: Hi Henrique, I can see that both .kshrc and .profile are applied in printenv. Are you missing aliases? What is the output of alias command? /home/henri $ alias autoload='typeset -fu' functions='typeset -f' hash='alias -t' history='fc

Re: .kshrc Definitions under X

2015-04-09 Thread Henrique Lengler
On Thu, Apr 09, 2015 at 04:47:38PM -0400, Dutch Ingraham wrote: Still not able to do this. My /home/henri/.profile have this: export ENV=$HOME/.kshrc export LC_CTYPE=en_US.UTF-8 export GOPATH=$HOME/go PATH=$PATH:$HOME/Scripts

Re: .kshrc Definitions under X

2015-04-06 Thread Joseph Oficre
Hi, does the tips here help? http://www.openbsd.org/faq/faq8.html#ksh 2015-04-06 7:22 GMT+03:00 Philip Guenther guent...@gmail.com: On Sun, Apr 5, 2015 at 9:12 PM, Andrew Fresh and...@afresh1.com wrote: On Sun, Apr 05, 2015 at 10:50:47PM -0300, Henrique Lengler wrote: And it is called in

Re: .kshrc Definitions under X

2015-04-05 Thread Andrew Fresh
On Sun, Apr 05, 2015 at 10:50:47PM -0300, Henrique Lengler wrote: And it is called in ~.profile with this: . /home/henri/.kshrc The problem is that these definitions work out of X, in the console, logged as the same user (henri) but don't work under X. I open a xterm window and and type

Re: .kshrc Definitions under X

2015-04-05 Thread Philip Guenther
On Sun, Apr 5, 2015 at 9:12 PM, Andrew Fresh and...@afresh1.com wrote: On Sun, Apr 05, 2015 at 10:50:47PM -0300, Henrique Lengler wrote: And it is called in ~.profile with this: . /home/henri/.kshrc The problem is that these definitions work out of X, in the console, logged as the same user

.kshrc Definitions under X

2015-04-05 Thread Henrique Lengler
Hi, I set somethings in my ~.kshrc file, it have: export PS1='$PWD $ ' alias ls='ls -p' alias clr=clear alias df='df -h' And it is called in ~.profile with this: . /home/henri/.kshrc The problem is that these definitions work out of X, in the console, logged as the same user (henri) but don't