Re: Terminal emulators can't read .profile

2012-12-13 Thread Feng Zhou
Yep, I understand the difference between terminal emulator and shell. Thanks for the clarification anyway. It was just easier to type than "with st*loginShell:true set in .Xdefault, st doesn't seem to be able to launch urxvt as login shell that reads .profile at start-up". On 13/12/2012, at 1

Re: Terminal emulators can't read .profile

2012-12-13 Thread Dustin Fechner
On 12/13/2012 01:14 PM, Feng Zhou wrote: > However, st doesn't seem to be able to read .profile [...] Just to be a bit more precise here: It's *not* the terminal emulator that reads '.profile'. The terminal emulator just invokes a shell and the shell parses its configuration files. Regarding '.pr

Re: Terminal emulators can't read .profile

2012-12-13 Thread Feng Zhou
I confirm that putting "URxvt.loginShell:true" into ~/.Xdefaults works for urxvt. Sorry I didn't get to reply earlier. I searched the FAQ after you mentioned it and it indeed is documented in section 8.16. But I didn't think of it and didn't know enough to know what keywords to search in the be

Re: Terminal emulators can't read .profile

2012-12-13 Thread Jamie Paul Griffin
* MERIGHI Marcus [2012-12-10 12:48:26 +0100]: > f...@zhou.es (Feng Zhou), 2012.12.10 (Mon) 12:02 (CET): > > I was trying out st and urxvt as a replacement for xterm, and it > > turned out that all the settings I put in ~/.profile are not > > recognised when I use either st or urxvt. > > > > Is

Re: Terminal emulators can't read .profile

2012-12-11 Thread Francisco Valladolid H.
Hi On Tue, Dec 11, 2012 at 11:40 PM, Sachidananda Urs wrote: > On 12/10/2012 04:32 PM, Feng Zhou wrote: > >> Hi, >> >> I was trying out st and urxvt as a replacement for xterm, and it turned >> out that all the settings I put in ~/.profile are not recognised when I use >> either st or urxvt. >> >

Re: Terminal emulators can't read .profile

2012-12-11 Thread Philip Guenther
On Tue, Dec 11, 2012 at 9:40 PM, Sachidananda Urs wrote: > Try putting them in .kshrc, this the file that is read by terminal > emulators. Nope. ~/.kshrc isn't special to the shell or to terminal emulators. It *is* a traditional value for the ENV environment variable, but for that to have any ef

Re: Terminal emulators can't read .profile

2012-12-11 Thread Sachidananda Urs
On 12/10/2012 04:32 PM, Feng Zhou wrote: Hi, I was trying out st and urxvt as a replacement for xterm, and it turned out that all the settings I put in ~/.profile are not recognised when I use either st or urxvt. Is this a bug or an expected behaviour that I need to do something about to use

Re: Terminal emulators can't read .profile

2012-12-10 Thread Dustin Fechner
On 12/10/2012 12:02 PM, Feng Zhou wrote: > I was trying out st and urxvt as a replacement for xterm, and it > turned out that all the settings I put in ~/.profile are not > recognised when I use either st or urxvt. Have you set up st/urxvt so that they start a login shell?

Re: Terminal emulators can't read .profile

2012-12-10 Thread MERIGHI Marcus
f...@zhou.es (Feng Zhou), 2012.12.10 (Mon) 12:02 (CET): > I was trying out st and urxvt as a replacement for xterm, and it > turned out that all the settings I put in ~/.profile are not > recognised when I use either st or urxvt. > > Is this a bug or an expected behaviour that I need to do someth

Terminal emulators can't read .profile

2012-12-10 Thread Feng Zhou
Hi, I was trying out st and urxvt as a replacement for xterm, and it turned out that all the settings I put in ~/.profile are not recognised when I use either st or urxvt. Is this a bug or an expected behaviour that I need to do something about to use other terminals? The shell was not change