public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: "frederic bregier" <fbregier@webmails.com> To: cygwin-xfree@cygwin.com Subject: Re: Convenient script for starting an XFree86 xterm Date: Sat, 06 Mar 2004 10:21:00 -0000 [thread overview] Message-ID: <20040306103218.21007.qmail@webmails.com> (raw) I try a previously proposed set of scripts to launch xterm from an icon and I found some difficulties (mainly PATH set). I keep the same approach, just correct some problem I found (PATH related), in case any needs them. So here is my proposition to correct this : 1) Create a shorcut as said before to C:\cygwin\usr\X11R6\bin\run.exe /XFree86xterm.bat and set PATH for execution to C:\cygwin\bin and not to the default C:\cygwin\usr\X11R6\bin (not found cygwin1.dll except of course if your global PATH include this but not mandatory for Cygwin to run). 2) Create the bat shell XFree86xterm.bat in C:\cygwin\ -------- @echo off SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% set DISPLAY=localhost:0.0 ps -ef | grep /usr/X11R6/bin/XWin > nul if ERRORLEVEL 1 ( start XWin -multiwindow -clipboard -xkblayout fr -xkbmodel pc105 -unixkill -winkill ) xterm -fn 10x20 -sl 1000 -sb -leftbar -ms red -fg yellow -bg black -e /usr/bin/bash --login -i -------- I change here to set Cygwin_root and PATH since again this is not mandatory in Cygwin to set them globally, remove some options to start command (/B and /D) and replace full path by simply calling 'xterm'. Of course change '-xkblayout fr' options in XWin to your need, even remove it. The same for all options of XWin. Well, now, for me, without setting anything in global configuration (PATH in windows env), it works just fine. Frederic
next reply other threads:[~2004-03-06 10:21 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-06 10:21 frederic bregier [this message] -- strict thread matches above, loose matches on Subject: below -- 2004-03-02 18:42 ncokwqc02 2004-03-02 15:06 Thomas Chadwick [not found] <Pine.GSO.4.56.0402282039060.19703@slinky.cs.nyu.edu> 2004-03-02 6:38 ` ncokwqc02
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040306103218.21007.qmail@webmails.com \ --to=fbregier@webmails.com \ --cc=cygwin-xfree@cygwin.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).