Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BABBE00.7000709@home.com> Date: Fri, 21 Sep 2001 18:24:00 -0400 From: "David A. Cobb" Organization: Excite/AtHome User on Cox Cable User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: en-us MIME-Version: 1.0 To: belg4mit AT MIT DOT EDU CC: cygwin AT cygwin DOT com Subject: Re: Running tcsh in rxvt References: <200109131822 DOT OAA21315 AT cab-calloway DOT mit DOT edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Jerrad Pierce wrote: > What's the best way to do this? > If you do rxvt -e tcsh (say from a shortcut). > The user's dotfile is not parsed (seemingly because home etc. don't get > correctly set from passwd), plus tab completion and history don't work. > > I've got: > bash --login -i -c "/bin/rxvt -e tcsh" & > > But it seems like there really ought to be a way to avoid the seemingly > unnecessary invocation of bash and having it hanging around afterwards... > > Of course: > rxvt -e bash --login -i #from the rxvt documentation > doesn't work properly when invoking from outside of the cygwin environment > either; i.e. not from an exiisting bash --login -i session. > > PS> I'm not on the list yet so pleace (b)cc me any replies, Thanks! > I know, I know, I've said this before! And it's only my personal preference. But I've had good results with [Windows Shortcut]runs: rxvt [displayparams] -e /usr/bin/login MyUserName. This way the initial shell is selected from /etc/passwd, and all the user-associations are happy. -- David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy. New PGP key 09/13/2001: : : Fingerprint=0x{E7C6_4EE2_6B75_5BA3_C52E__77FA_63C3_9366_DCFB_229B} "By God's Grace I am a Christian man, by my actions a great sinner." --The Way of a Pilgrim, R. M. French [tr.] Potentially Viral Software is any software for which you are not allowed to examine the source. Do not buy or use Potentially Viral Software! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/