This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
Xwin an .bashrc
- To: "'cygwin-xfree at sources dot redhat dot com'" <cygwin-xfree at sources dot redhat dot com>
- Subject: Xwin an .bashrc
- From: "Bernard Revet" <bmrevet at igr dot fr>
- Date: Thu, 14 Dec 2000 11:18:29 +0100
As I indicated in my previous messages I still wonder why .bashrc or
.bash_profile
at whatever place in the directories / /bin /usr/X11R6/bin ~ are
not taken into
account in cygwin nor in Cygwin-Xfree when you launch these programs
using
cygwin.bat or startxwin.bat.
However .bash _history is created and does work.
I would deeply appreciate to have these points clarified
I join the 2 .bat files
cygwin.bat
@echo off
set COURBURE=/Courbure
D:
chdir \cygwin\bin
bash --login -i
In this case the variable COURBURE is taken into account, what you can
verify
doing echo $COURBURE
startxwin.bat
@echo off
SET DISPLAY=127.0.0.1:0.0
SET
PATH=%PATH%;d:\cygwin\bin;d:\cygwin\usr\X11R6\bin;d:\cygwin\usr\local\bin;\Courbure
SET HOME=/home/administrateur
SET COURBURE=/Courbure
start XWin -screen 0 1024x768x8 -whitepixel 255 -blackpixel 0
start /B xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
/home/administrateur/xmodm
start /B xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
/bin/bash
--login -i
start vtwm
In this last case the 2 variables are set and the program xmodm is
started. xmodm is
a running program which allows a modification of the keyboard
Best regards
Bernard