Re: scrotwm.conf setting custom xterm

2009-03-05 Thread Marco Peereboom
aha I have this for that: $ alias reboot='echo are you sure?' On Thu, Mar 05, 2009 at 12:27:33PM -0800, Bryan wrote: > On Thu, Mar 5, 2009 at 10:42 AM, Darrin Chandler > wrote: > > On Thu, Mar 05, 2009 at 10:36:39AM -0800, Bryan wrote: > >> On Thu, Mar 5, 2009 at 9:54 AM, Darrin Chandler > >> wr

Re: scrotwm.conf setting custom xterm

2009-03-05 Thread Bryan
On Thu, Mar 5, 2009 at 10:42 AM, Darrin Chandler wrote: > On Thu, Mar 05, 2009 at 10:36:39AM -0800, Bryan wrote: >> On Thu, Mar 5, 2009 at 9:54 AM, Darrin Chandler >> wrote: >> > >> > Making a non-login shell act as a login shell isn't the best way, >> > whether you're in an xterm or at console.

Re: scrotwm.conf setting custom xterm

2009-03-05 Thread Darrin Chandler
On Thu, Mar 05, 2009 at 10:36:39AM -0800, Bryan wrote: > On Thu, Mar 5, 2009 at 9:54 AM, Darrin Chandler > wrote: > > > > Making a non-login shell act as a login shell isn't the best way, > > whether you're in an xterm or at console. There are nicer ways to do > > what you're after. Ksh, for insta

Re: scrotwm.conf setting custom xterm

2009-03-05 Thread Bryan
On Thu, Mar 5, 2009 at 9:54 AM, Darrin Chandler wrote: > > Making a non-login shell act as a login shell isn't the best way, > whether you're in an xterm or at console. There are nicer ways to do > what you're after. Ksh, for instance, will process a file given in the > ENV environment variable fo

Re: scrotwm.conf setting custom xterm

2009-03-05 Thread Darrin Chandler
On Thu, Mar 05, 2009 at 04:57:47AM +, Bryan wrote: > Greetings, > > In my .profile I have the following: > > PS1="\...@\h \w \$ " > export PS1 > > On the console, I see: > > u...@host "pwd" $ > > I was looking at the man page for xterm(1), and I saw that by invoking > "xterm -ls", the terminal

Re: scrotwm.conf setting custom xterm

2009-03-05 Thread Marco Peereboom
Why not using Xdefaults? On Thu, Mar 05, 2009 at 04:57:47AM +, Bryan wrote: > Greetings, > > In my .profile I have the following: > > PS1="\...@\h \w \$ " > export PS1 > > On the console, I see: > > u...@host "pwd" $ > > I was looking at the man page for xterm(1), and I saw that by invoki

Re: scrotwm.conf setting custom xterm

2009-03-04 Thread Olivier Mehani
On Wed, Mar 04, 2009 at 10:28:43PM -0700, Matt Jibson wrote: > > I was looking at the man page for xterm(1), and I saw that by > > invoking "xterm -ls", the terminal should read .profile, and set the > > prompt. In an xterm, I was able to run "xterm -ls" and have just > > this exact thing happen.

Re: scrotwm.conf setting custom xterm

2009-03-04 Thread Matt Jibson
scrotwm uses newlines, spaces, tabs, and '=' as conf file delimiters. It thus does not recognize quoted strings, but breaks at the first delimiter it finds. To configure xterm, you need to use the .Xdefaults file, although that does not look like what you need. scrotwm may not be able to do what yo

scrotwm.conf setting custom xterm

2009-03-04 Thread Bryan
Greetings, In my .profile I have the following: PS1="\...@\h \w \$ " export PS1 On the console, I see: u...@host "pwd" $ I was looking at the man page for xterm(1), and I saw that by invoking "xterm -ls", the terminal should read .profile, and set the prompt. In an xterm, I was able to run "xt