public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* What is correct way to start xterm from .XWinrc?
@ 2009-10-28 16:17 Jim Reisert AD1C
  2009-12-30  1:08 ` Jim Reisert AD1C
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Reisert AD1C @ 2009-10-28 16:17 UTC (permalink / raw)
  To: cygwin-xfree

My .XWinrc file has this menu line:

        "xterm"      EXEC  "xterm -e tcsh"

Since my default shell in /etc/passwd is /bin/tcsh, why should I need
to specify it here also?  If I don't specify it, a new xterm doesn't
execute my ~/.cshrc file.  I do not have a ~/.login or ~/.profile
file.

What is the right way to do this?

Thanks - Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What is correct way to start xterm from .XWinrc?
  2009-10-28 16:17 What is correct way to start xterm from .XWinrc? Jim Reisert AD1C
@ 2009-12-30  1:08 ` Jim Reisert AD1C
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Reisert AD1C @ 2009-12-30  1:08 UTC (permalink / raw)
  To: cygwin-xfree

On Wed, Oct 28, 2009 at 9:17 AM, Jim Reisert AD1C
<jjreisert@alum.mit.edu> wrote:

> My .XWinrc file has this menu line:
>
>        "xterm"      EXEC  "xterm -e tcsh"
>
> Since my default shell in /etc/passwd is /bin/tcsh, why should I need
> to specify it here also?  If I don't specify it, a new xterm doesn't
> execute my ~/.cshrc file.  I do not have a ~/.login or ~/.profile
> file.
>
> What is the right way to do this?


Using the new startwin.exe in my Startup folder shortcut:

   C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

My .XWinrc now has simply:

  "xterm"      EXEC  "xterm"

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-30  1:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28 16:17 What is correct way to start xterm from .XWinrc? Jim Reisert AD1C
2009-12-30  1:08 ` Jim Reisert AD1C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).