* set HOME environment
@ 2000-09-11 13:22 Guansong Zhang
2000-09-11 14:42 ` Clear.exe location? Matt Minnis
0 siblings, 1 reply; 3+ messages in thread
From: Guansong Zhang @ 2000-09-11 13:22 UTC (permalink / raw)
To: cygwin
Hi,
I used to used the following line to set HOME and CYGWIN in bash.bat
set HOME=%USERPROFILE%
set CYGWIN=tty ntea
So I don't need to use mouse click to change env
I don't know when bash.bat is changed to use --login -i
but it will be a problem if my system dir is not C: it seems bash can not
set the HOME in this case.
I modify the bat to this, (in this case e: is my system drive)
@echo off
set HOME=%USERPROFILE%
set CYGWIN=tty ntea
rem e:
rem chdir \cygwin\bin
chdir /d %USERPROFILE%
e:\cygwin\bin\bash --login -i
I still get
[: too many arguments
bash: cd: /cygdrive/e/Documents: No such file or directory
As error message. but everything else seems OK. Hope no one need to do this
change next time.
Cheers,
Guansong
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Clear.exe location?
2000-09-11 13:22 set HOME environment Guansong Zhang
@ 2000-09-11 14:42 ` Matt Minnis
2000-09-11 15:47 ` DJ Delorie
0 siblings, 1 reply; 3+ messages in thread
From: Matt Minnis @ 2000-09-11 14:42 UTC (permalink / raw)
To: cygwin
Where is the location of the code that gets built & becomes 'clear.exe'?
I got the CVS of cygwin, and I am willing to track down the beast that
doesn't clear the screen buffer under NT in cmd.exe.
I just can't locate this part. Can someone who is familiar with the source
tell me where to find it, or at least where to look?
Thanks,
Matt Minnis
Cthulhu for President. Why settle for a lesser evil?
=========================================================
Preferred Resources (314) 567-7600 phone
701 Emerson rd. (314) 993-6699 fax
Suite 475 mminnis@prefres.com
St. Louis, MO
63141
=========================================================
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Clear.exe location?
2000-09-11 14:42 ` Clear.exe location? Matt Minnis
@ 2000-09-11 15:47 ` DJ Delorie
0 siblings, 0 replies; 3+ messages in thread
From: DJ Delorie @ 2000-09-11 15:47 UTC (permalink / raw)
To: mminnis; +Cc: cygwin
> Where is the location of the code that gets built & becomes 'clear.exe'?
Get clear-1.0-src.tar.gz and you'll see that the entire archive
consists of this simple program:
main()
{
write (1, "\033[1;1H\033[2J", 10);
return 0;
}
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-09-11 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-11 13:22 set HOME environment Guansong Zhang
2000-09-11 14:42 ` Clear.exe location? Matt Minnis
2000-09-11 15:47 ` DJ Delorie
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).