On 2/7/2012 10:42 AM, marco atzeri wrote:
On 2/7/2012 5:13 PM, carolus wrote:
On 2/6/2012 5:05 PM, Yaakov (Cygwin/X) wrote:
The -mno-cygwin flag is still handled by gcc3, but that is deprecated
and may be removed at any time. The officially supported way to
build such apps is to use the
Is there an easy way to find the association of a given /dev/sd? with
the corresponding /cygdrive/?. Is there a good way to verify the
association before writing to the device with dd?
Larry Hall wrote:
you can certainly use the information from Disk Management to figure
What is the best way to find or predict the association of a given
/dev/sd? with the corresponding /cygdrive/?. Is there a good way to
verify the assignment before writing to the device with dd?
--
Problem reports: http://cygwin.com/problems.html
FAQ:
On 8/25/2010 2:49 PM, Charles D. Russell wrote:
What is the best way to find or predict the association of a given
/dev/sd?
with the corresponding /cygdrive/?. Is there a good way to verify the
assignment before writing to the device with dd?
I think this link should help
Maybe it won't always work, but with debian mount I get the
following line of output, which tells me what I want to know (and more):
/dev/sda1 on /live/image type vfat
(rw,noatime,fmask=0022,dmask=0022,allow_utime=17,codepage=cp437,iocharset=utf8)
I infer from the replies that in Cygwin
On 3/2/2010 3:15 AM, Larry Hall (Cygwin) wrote:
Does http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids
answer your question?
Is there a short answer, one that does not require understanding how it
all works? One thing I like about Cygwin is that I don't have to learn
anything about
On 3/2/2010 6:16 PM, Larry Hall (Cygwin) wrote:
information that would help to clarify and resolve the actual problem.
Any chance you could file a problem report that might help in that regard?
Sorry, the original poster will have to answer that one. I don't have
the problem; I'm just a
On 3/2/2010 8:22 PM, Dave Korn wrote:
Cygwin can't override the permissions enforced by the OS. It attempts to
/use/ those permissions to model the posix user/group/world model, but if a
file was created outside cygwin (i.e. in windows itself) there's no guarantee
the permissions set on it
Corinna Vinschen wrote:
I dislike FAT32 a lot, so I usually
never test on it.
But there is no alternative for external storage that is to be readable
on Windows, Linux, and Mac OSX. And I use Cygwin scripts for all my
backups and housekeeping.
--
Problem reports:
Dave Korn wrote:
You have just discovered why -mno-cygwin is a kludgey hack that we are
removing from future versions of the compiler!
Kludgey perhaps, but handy for me. If I want to give a copy of one of
my fortran console apps to a colleague, I can simply recompile it with
Dave Korn wrote:
Charles D. Russell wrote:
Dave Korn wrote:
You have just discovered why -mno-cygwin is a kludgey hack that we are
removing from future versions of the compiler!
Kludgey perhaps, but handy for me. If I want to give a copy of one of
my fortran console apps to a colleague, I
Can this be done? I can't redirect program output (from ncurses) into
an rxvt window using the tty command in gdb. Googling gdb+tty+cygwin
shows that there have been problems in the past, but I didn't find
anything recent.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Kevin M wrote:
Hello,
A while ago Pierre gave me a poor mans mailer and I have lost he email
that contained the instructions. Sorry about that. I recall setting up a
MAILTO= something or another in the crontab file and after that I can't
remember. Forgive me for losing the information can
Larry Hall (Cygwin) wrote:
sunny wrote:
when logged as a user, i want to switch to a different user. how can i
do that?
Install and use ssh.
how can i add a new user in cygwin?
You can't. Use the Windows 'net' command.
Apropos of ssh: I can't login remotely to another account than my
Brian Dessent wrote:
sroberts82 wrote:
Can someone help me understand this, its probably really straightforward but
I can't find an answer for this.
Why is it when I build the most basic helloworld.exe and try and run it I
get told of a dependancy on cygwin1.dll? Why do I need this dll, and
After reinstalling cygwin from scratch on computer A, I simply used tar
-p to transfer $HOME/.ssh/* and /etc/ssh* (with their privileges) from
the old installation to the new. However, I can no no longer ssh from A
to computer B, though I can still ssh from B to A. The error message is
Why does ssh work but not sftp? What is wrong with my configuration?
sftp works OK in the other direction, from sony06 to dell03.
[EMAIL PROTECTED] ~/cygarc
$ sftp sony06
Connecting to sony06...
Received message too long 1920298606
[EMAIL PROTECTED] ~/cygarc
$ ssh sony06
Last login: Wed Sep
Igor Peshansky wrote:
On Wed, 26 Sep 2007, Charles D. Russell wrote:
Why does ssh work but not sftp? What is wrong with my configuration?
sftp works OK in the other direction, from sony06 to dell03.
[EMAIL PROTECTED] ~/cygarc
$ sftp sony06
Connecting to sony06...
Received message too long
Larry Hall (Cygwin) wrote:
You
could check your network settings under Windows to see if it properly
points to your router for DNS.
Can this advice be reduced to a simple instruction for someone who
doesn't understand what he is doing? One reason I use Cygwin is to
avoid having to learn
Dave Korn wrote:
You already answered your own question. Set up sshd. It's the Cygwin
way. :-)
When ssh and sshd are installed and configured by means of the scripts
supplied in the cygwin documentation, are static IP addresses required,
or is DHCP supported?
--
Unsubscribe info:
Dave Korn wrote:
Sshd does not care about the IP of the machine it's running on. All it
does is listen on a port.
Ssh stores the hostname/IP in ~/.ssh/known_hosts. If the IP changes, ssh
may prompt you to accept the host keys again (although this mostly happens
if using raw IPs to
RE: Accessing remote PC (ssh?)
* /From/: zzapper david at tvis dot co dot uk
* /To/: cygwin at cygwin dot com
* /Date/: Thu, 15 Mar 2007 15:20:02 + (UTC)
* /Subject/: RE: Accessing remote PC (ssh?)
* /References/: [EMAIL PROTECTED]
*Dave Korn wrote:
On 15 March 2007 16:50, Charles D. Russell wrote:
Dave Korn wrote:
Sshd does not care about the IP of the machine it's running on. All it
does is listen on a port.
Like hell I did
* /From/: Dave Korn
It may be relevant that that is the windows native version of ping rather
than the cygwin one, although I don't see why a name lookup would work for
'doze and not for cygwin. Very odd.
Perhaps we should take a look at your overall system status: please run
cygcheck
Dave Korn wrote:
**as an attachment please**
__
I tried, really. Before sending, I looked through the Thunderbird options to see if there was an option to send attachments in-line, and couldn't
//
Larry Hall wrote
what does your known_hosts file look like for sony06?
.ssh/known_hosts on dell03 contains explicit IP addresses for both
dell03 and sony06 that are no longer current.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Dave Korn wrote:
Yow, it's starting to sound like you have a not-entirely-dead-simple
network
setup. Hmmm, if you have a wireless router maybe you need to switch on dns
proxying or something like that.
___
A $50 Linksys router and two XP machines. But as I said at the
*Larry Hall wrote:
.ssh/known_hosts on dell03 contains explicit IP addresses for both
dell03 and sony06 that are no longer current.
Move this file out of the way and try ssh again.
__
Success! That's all it took.
I suppose I'll have to repeat
Christopher Layne wrote:
BTW: I've had the funky SSH issues before where nothing at all works. My
solution was pretty much voodoo based:
1. Delete every single ssh, ssh_server, ssh-related user manually. Delete
these users from /etc/passwd as well as the windows side of the things.
2. Delete
* //Larry Hall (Cygwin) wrote:
David Bear wrote:
I would like to have used something like
cd $USERPROFILE
in a bash script but since windows insists on putting spaces in names, this
seems impossible.
I did
Charles Russell wrote:
OK from the system prompt, but I've never found a way to quote this in a
shell script. So I make symlinks to $HOME/my/docs/, my/pics/, my/mus to
avoid those infernal microsoft spaces.
__
Pardon the idiocy. But the symlinks do simplify things.
--
* Brian Keener wrote:
http://cygwin.com/ml/cygwin/2007-02/msg00225.html
-
Brian D wrote:
?Is there any way that I can d/l Cygwin, with the packages that I
need, at my workplace, then write a CD-R and take it home for
installation??? ?Comments or advice???
Sure
the makefile at one point where it should
follow $(CXX).
The only other change I found necessary was the modification of
charconv.h suggested below by the author.
_
Marc R. Schoolderman wrote:
Charles D. Russell wrote:
I can successfully build id3 v0.78 under cygwin
Windows event log shows only information events (id 0) from sshd, but
/var /log/sshd.log showed:
/var/empty must be owned by root and not group or world-writable
Presumably that is my problem, since ls shows:
drwxr-xr-x+ 2 cdr None 0 Jan 6 13:48 empty/
The simple hack of disabling
After a clean reinstall of cygwin from the web and copying my old HOME
directory to the new installation, I can no longer start sshd. Messages
are as follows:
$ net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started.
The service did not report an
After a clean reinstall of cygwin from the web and copying my old HOME
directory to the new installation, I can no longer start sshd.
_
Never mind. I must have previously selected the nondefault value of
no for allow privilege separation? in ssh-host-config, without
recording that
After a clean reinstall of cygwin from the web and copying my old HOME
directory to the new installation, I can no longer start sshd.
_
Never mind. I must have previously selected the nondefault value of
no for allow privilege separation? in ssh-host-config, without
recording that
I can't get scp to transfer files between two Windows computers on a
home WLAN. A log of scp -v is attached. There are no error messages
recognizable to me, but the log correctly reports that 0 bytes were
transferred. ssh seems to be working ok, at least to log in remotely
and to run pwd
* /From/: René Berber
Charles D. Russell wrote:
I can't get scp to transfer files between two Windows computers on a
home WLAN.
When you test ssh, do you get some messages after successful log in?
I think
After installing the cygwin guile package, attempting to run guile
leads to the message that it cannot find guile.init. I find no
reference to guile.init in either info guile nor in the cygwin guile
README.
I had previously gotten a working guile by installing cygwin guile on
top of a
Charles D. Russell [EMAIL PROTECTED] writes:
After installing the cygwin guile package, attempting to run guile
leads to the message that it cannot find guile.init.
How odd. Guile.init is not a part of guile-1.8.1. You probably have
have leftovers from a previous installation, eg
* From: Brian Dessent brian at dessent dot net
Charles D. Russell wrote:
What is the easiest way to get rcp or scp working on a simple home
wireless LAN?
I have set up /etc/hosts, .rhosts, and .ssh/authorized_keys. Is
there something else to configure?
Yes, of course. Make
What is the easiest way to get rcp or scp working on a simple home
wireless LAN? I get:
$ scp arctime [EMAIL PROTECTED]:testfile
ssh: connect to host sony06 port 22: Connection refused
$ rcp arctime [EMAIL PROTECTED]:testfile
sony06:Connection refused
I have set up /etc/hosts, .rhosts,
-emacs.exe.stackdump, for example) file in human-readable
informations.
__
The following advice worked for me:
__
Re: how to read stackdump
From: Igor Pechtchanski pechtcha at cs dot nyu dot edu
To: Charles D. Russell
Cc: cygwin at cygwin dot com
Date
Problem solved. The installation instructions give two options: 1)
.\configure; make install or
2) installer.tcl. It says that make simply calls installer.tcl, so it
would seem unlikely that it would make a difference. However option 2)
works and option 1) does not.
tcllib is pretty big
Simply running the install routine for tcllib (from sourceforge) ran
without error messages but the library routines are still not accessible
using a package require command. Note to package maintainer: is there
some reason tcllib is not routinely included with cygwin tcltk? The
cygwin ruby
Thanks. You provided several solutions to my problem.
Try searching for bin/script\b on the Cygwin package
search page
Is the syntax for the Cygwin package search described somewhere?
I don't know the meaning of \b.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
When ftp is opened in rxvt, some of the incoming text that should
be written to the screen is lost. Simplest example: at shell prompt,
enter ftp. One does not get the ftp prompt, but one is indeed running
ftp, since if one next types help you get the header for the help
screen, with the
Charles Wilson wrote:
Do you really think that every cygwin package compiles out-of-box with
no changes?
_
Not every package, but I would have thought that zip could be written in
code that would work on any unix system, and that the standard cygwin
installation would
Gary van Sickle wrote
To the OP (sic!): Old != Well Tested. You should be testing
whatever program
you're using to do backups, GNU, Cygwin, or otherwise.
_
No testing that I could do is as comprehensive as the trial by thousands
of users that any new version of
Charles Wilson wrote:
Updated versions of these packages should hit the mirrors soon. Although
they are minor releases, I'd like some testing by other-than-me, because
these are basically new ports...
Some of my old patches were re-implemented upsteam. There were other new
changes affecting
Is there somewhere I can download the *.2 manpages for functions
available in cygwin? I couldn't find them using the setup package
search. I have an old printed unix manual, but it would be nice not to
have to carry it around.
--
Unsubscribe info:
According to Charles D. Russell on 5/2/2006 6:55 AM:
Is there somewhere I can download the *.2 manpages for functions
available in cygwin?
Eric Blake wrote:
Not all the functions have man pages in cygwin - volunteers are welcome to
help write some. Having said that, the web is your friend
Is there any utility that will index the contents of cygwin files
(.tar.gz, etc.) for rapid search, like the Google personal search
software for Windows files? I would not expect that the Google tool
for Windows would include Linux compression and archiving formats.
--
Unsubscribe info:
://sources.redhat.com/ml/cygwin/2005-05/msg01325.html
Mark Hadfield wrote:
Charles D. Russell wrote:
The new cygwin1.dll (1.5.17-1) now lets me run fortran programs with
large
static arrays that occupy most of the available
The new cygwin1.dll (1.5.17-1) now lets me run fortran programs with large
static arrays that occupy most of the available memory, but it is no longer
possible to run Windows programs (MSWord or even Windows Explorer)
in the foreground while a big math problem is chugging along in the
background.
The new cygwin1.dll (1.5.17-1) now lets me run fortran programs with large
static arrays that occupy most of the available memory, but it is no longer
possible to run Windows programs (MSWord or even Windows Explorer)
in the foreground while a big math problem is chugging along in the
background.
Eric Blake wrote:
What version of coreutils are you using? Attach the output of `cygcheck
-svr' as described in cygwin.com/problems.html, then consider upgrading.
__
I am attaching cygcheck in case you can find something obvious.
However,I am reluctant to upgrade because the
Eric Blake wrote:
mv -v $f ` echo $f | tr A-Z a-z `
EVIL - you are moving FOO to foo (Windows strips trailing spaces,
but not leading spaces, so it is really moving to foo). YOU ARE
ADDING SPACES to the filename. Fix your script so that there are no
spaces between ` and `.
_
The following seems important enough to fortran users to be indexed by
an appropriate subject header.
I am reluctant to upgrade because the use of large static fortran
arrays with cygwin/g77 seems to be a fragile issue and my current
installation is now working (but only with -mno-cygwin).
ls finds file1 but ls file1 does not. How can this happen?
The following example occurred just after I had renamed some *.htm files
to *.html using
an ash shell script. No such problem occurred, however, when I used DOS
rename to make
the same change. (Windows XP Pro SP 2)
Does Windows have
Response to Eric Blake:
Thanks. I forgot that unix had separate permissions for directories.
However, I have
now given myself all the permissions I know of and I still have the same
problem.
EXAMPLE:
$ ls ass*
ls: ass*: No such file or directory --BUT IT IS THERE
$ ls -l
total 722
Response 2 to Eric Blake:
Thanks. I forgot that unix had separate permissions for directories.
However, I have
now given myself all the permissions I know of and I still have the same
problem.
EXAMPLE:
$ ls ass*
ls: ass*: No such file or directory --BUT IT IS THERE
$ ls -l
Original Message
From: Charles D. Russell
ls finds file1 but ls file1 does not. How can this happen?
The following example occurred just after I had renamed some *.htm files
to *.html using
an ash shell script. No such problem occurred, however, when I used DOS
rename to make
Ross Boulet wrote:
ls is acting like the -F option is specified which would
cause the '*' to be displayed at the end of any file name
which is executable (as one prior message shows these files
are).? Under what shell is ls being run and is there an
alias for ls that is causing this option to be
Eric Blake wrote:
So next, check:
$ type ls
$ alias ls
___
$ type ls
ls is aliased to `ls -aF'
$ alias ls
alias ls='ls -aF'
__
Maybe you have an alias/function for ls that includes the --hide='*.htm'
option, so that ls is doing the filtering (and not bash, like I
Jim McDonald wrote:
I read your message about this g77 limit in the cygwin mail archives.
I just installed cygwin-1.5.13-1 today and ran into the 160-MByte
limit on memory for static variables under g77. I used
g77 -mno-cygwin maxarray.f -o maxarray
to compile
program maxarray
real*8
I wrote:
Using a version of cygwin installed around April of '03 I could increase
the stack size with gcc flag -Wl,--stack to 256 Mb, but now, on the
same machine (512 Mb RAM, Windows XP Pro) I can get only 150 Mb using a
recent cygwin download. What has changed in memory usage since April
Using a version of cygwin installed around April of '03 I could increase
the stack size with gcc flag -Wl,--stack to 256 Mb, but now, on the
same machine (512 Mb RAM, Windows XP Pro) I can get only 150 Mb using a
recent cygwin download. What has changed in memory usage since April '03?
In
It has always seemed strange to me that vim was not included in the
development package, since vi is a normal component of linux/unix.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
On Sat, 20 Mar 2004, Charles D. Russell wrote:
It has always seemed strange to me that vim was not included in the
development package, since vi is a normal component of linux/unix.
Igor Pechtchanski wrote:
Again, there is no development package in Cygwin. There are individual
packages
The default directory is not in your path by default unless you put it
there, for example in your .profile file. I put it in mine
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
Since the unix script command is missing from cygwin, is there any easy
way to record a transcript of a console application (both the input and
output)?.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation:
What I have gleaned from watching this subject is:
1) setup.exe is really designed to work best for direct installation from
the web, so do that first on some computer with an internet connection.
2) when you install from the web, copies of all the downloaded files -
including setup.exe - are
On Thu, 13 Mar 2003, Charles D. Russell wrote:
What I have gleaned from watching this subject is:
1) setup.exe is really designed to work best for direct installation from
the web, so do that first on some computer with an internet connection.
2) when you install from the web, copies of all
Is the following statement correct?
Installing from web, rather than downloading to disk, eliminates the risks
of !) having to download the same file twice and 2) having duplicate files
(from different mirrors) retained in the cache.
--
Unsubscribe info:
In order to ensure that I could reinstall a working cygwin version if
necessary, I have in the past used the download from internet option in
setup, then burned the installation files to a CD. However, it looks like
the same files are downloaded and retained if one selects install from
internet.
In order to ensure that I could reinstall a working cygwin version if
necessary, I have in the past used the download from internet option in
setup, then burned the installation files to a CD. However, it looks like
the same files are downloaded and retained if one selects install from
internet.
Larry Hall wrote: Just install from the internet and then make a CD of
the local directory that gets created in the process. Does this provide
the answer you're looking for?
Yes, thanks. Just wanted to make sure I got all the files needed to
reinstall a duplicate
from scratch
--
Unsubscribe
Is there some limit on the size of one-dimensional static arrays in
cygwin/gcc short of available memory and 2**32 address space? Is there some
place I should be looking this up?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:
(Response to Max Bowsher):
Thanks, but my question was whether there is any OTHER limit than memory.
Any compiler or system limit?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation:
I have two systems, one with 64 Mb of physical memory and standard cygwin
installation that I have used happily for over a year, and a newer one with
512 Mb of physical memory. On the new one, I have used regtool to set 1024
Mb. The max_memory program listed in the users guide now verifies
:Danny Smith wrote
By default stack reserve is set to 2MB by ld.exe. Try setting stack reserve
higher, eg,
-Wl,--stack=0x200
will get you 32MB stack reserve
-
Thanks. That was a revelation. I thought stack was for pointers and
automatic variables, and
There is still a problem with big fortran arrays even after resetting
heap_chunk_in_mb 1024. The subsequent test program exits with no output and
no error message. When run in gdb, a segmentation fault is reported.
Following a suggestion from comp.lang.fortran, I increased the stack size
using
I tried the procedure cited in the user manual, but the test program fails
with message shell returned 128 when I try to add a second matrix of the
same size. Initially, max_memory indicated insufficient memory so, I
increased the virtual memory limits (Windows XP Pro) to initial 1536, max
2048.
85 matches
Mail list logo