delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/09/17:38:32

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <470BF52D.5030505@columbus.rr.com>
Date: Tue, 09 Oct 2007 17:39:57 -0400
From: Paul McFerrin <pmcferrin AT columbus DOT rr DOT com>
Reply-To: pmcferrin AT columbus DOT rr DOT com
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Naming Cygwin Shells
References: <470BCCA5 DOT 6090507 AT columbus DOT rr DOT com> <20071009205851 DOT GA26502 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20071009205851.GA26502@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


Christopher Faylor wrote:
> On Tue, Oct 09, 2007 at 02:47:01PM -0400, Paul McFerrin wrote:
>   
>> In some initial cygwin window, execute the following command line:
>>
>> setpgrp rxvt --backspacekey ^H -sbt 15 -fg white -bg black -geometry +75+80 
>> -sr -title "SYSTEMxx" -tn ansi -sl 1500 -fn 'Lucida Console-12' -e ksh &
>>
>> and replace "SYSTEMxx" with what ever label you like.  This will create 
>> another window with a shell and place the label at the top of the new 
>> window.  You can then type in that window.  If you don't have a copy of 
>> "setprgp.exe", you can remove it.  However, an interrupt in ANY window will 
>> them them all off.  Or you can get a copy at: 
>> http://pmcferrin.homedns.org/setpgrp.exe  It is a simple program that 
>> executees the setpgrp(2) system call before executing the arguments.
>>     
>
> Isn't that what the "setsid.exe" program does?
>   
I came from 25+ years SVR3/SVR4 Bell Labs Unix background.  There was no 
such "setsid" so I wrote (quite trivial) setpgrp(1) to match the Syscall 
setpgrp(2).  I'm sure that GNU/Cygwin has much more to offer and as time 
go by, I'll become aware of them.  I thank you for bringing that to my 
attention.

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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019