Re: DD over Netcat

2008-06-26 Thread Mark J. Reed
://cygwin.com/faq/ -- Mark J. Reed [EMAIL PROTECTED] -- 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/

Re: un-indenting doesn't work with vim

2008-07-16 Thread Mark J. Reed
Put it another way: in vim (in insert mode), the tab key just inserts a tab (which it displays as the number of spaces needed to get to the next even value of whatever tabstop is set to). It has nothing to do with vim's idea of indentation, automatic or otherwise. The control-D (outdent or

Re: Freeze with the letter e

2008-07-16 Thread Mark J. Reed
.inputrc has never gotten more complicated than set editing-mode vi, so I'm admittedly pretty ignorant of the general realm of inputrc parameters, but seeing an example of one of the offending files might be educational. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml

Re: un-indenting doesn't work with vim

2008-07-17 Thread Mark J. Reed
It is only in Unix that often the backspace key does not perform the function of moving backward a space and deleting the previously character. I have never, I repeat never had backspace not do a back space except under Unix - have you? I've had such issues on many systems. VMS. MVS. NOS

Re: un-indenting doesn't work with vim

2008-07-18 Thread Mark J. Reed
I think you're missing the point. Out of the box, on a Linux system, the backspace key works as intended. Period. You had bogus configuration stuff in your .vimrc, which is not Linux's fault. So it sounds like you're complaining about the fact that it's possible to screw up something so

Re: configuring the backspace key, etc. (un-indenting doesn't work with vim)

2008-07-18 Thread Mark J. Reed
when I screw something up because I didn't know what I was doing... -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ

Re: bash load

2008-07-18 Thread Mark J. Reed
in a login shell, you need to source it explicitly inside your .bash_profile via something like this: . ${HOME}/.bashrc Also make sure that the .bash files are in your actual home directory, which is usually not /home but /home/YourUserName... -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe

Re: trouble running a script with a while loop from cron

2008-07-21 Thread Mark J. Reed
On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning [EMAIL PROTECTED] wrote: + sort -u -uThe system cannot find the file specified. That message is coming from the Windows SORT command, not the Cygwin one. Check cron's $PATH - it must have the Windows system dir near the front. -- Mark J. Reed

Re: trouble running a script with a while loop from cron

2008-07-21 Thread Mark J. Reed
On Mon, Jul 21, 2008 at 5:21 PM, Mark J. Reed wrote: On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning email address here wrote: Rats. Forgot to PC[M]MTNQREAI[M]R. Sorry. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: Strange things with cygdrive

2008-07-22 Thread Mark J. Reed
reasonable, but there are other reasonable choices. I suppose it could be set to some otherwise meaningful value like the build date.. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: Strange things with cygdrive

2008-07-22 Thread Mark J. Reed
, the time the last process was created or destroyed. -- Mark J. Reed [EMAIL PROTECTED] -- 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

Re: lpr works? FAQ in error?

2008-07-23 Thread Mark J. Reed
1; } $(cygpath -u $COMSPEC) /c start /wait notepad.exe /p $tmp_file rc=$? rm $tmp_file exit $rc -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

Re: lpr works? FAQ in error?

2008-07-23 Thread Mark J. Reed
On Wed, Jul 23, 2008 at 4:20 PM, I wrote: $(cygpath -u $COMSPEC) /c start /wait notepad.exe /p $tmp_file Whups, that's not going to work. Needs to convert the temp path to Windows form: $(cygpath -u $COMSPEC) /c start /wait notepad.exe /p $(cygpath -w $tmp_file) -- Mark J. Reed [EMAIL

Re: term bash shell with multiple tabs ? (without X)

2008-07-25 Thread Mark J. Reed
sequence to get a list of tabs (control-a w), but having gotten used to it I now actually prefer it to the various tabbed terminal solutions. Even on my Linux system with gnome-terminal, or my Mac with Terminal and iTerm, I stick with screen. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe

Re: term bash shell with multiple tabs ? (without X)

2008-07-27 Thread Mark J. Reed
On Sun, Jul 27, 2008 at 1:20 AM, Andrew Schulman [EMAIL PROTECTED] wrote: Actually, with a little setup in your .screenrc, that's not true. I have mine set up to always show the list of tabs on the bottom line, with the current tab highlighted. Good tip! Thanks! -- Mark J. Reed [EMAIL

Re: Can't use special characters \n or \r

2008-07-30 Thread Mark J. Reed
t . \n 020 -- Mark J. Reed [EMAIL PROTECTED] -- 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/

Re: Can't use special characters \n or \r

2008-07-30 Thread Mark J. Reed
with carriage returns, the main thing the OP was trying to do works fine. Although, as y'all noted, d2u would be the simpler way to do it. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: OLoCA

2008-07-30 Thread Mark J. Reed
as rude. Which you might or might not care about. Just something to consider. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ

Re: Cygwin installation breaks ALL telnet clients

2008-08-12 Thread Mark J. Reed
chance this is a virtual network between VM's (or between host and VM)? -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ

Re: Magic disappearing e

2008-08-26 Thread Mark J. Reed
Christopher said, that sounds like a corrupted .inputrc to me. FL = Francis Litterio FL This seems similar to the behavior when you are SSH'ed into a remote FL host It's precisely the behavior you would see if you typed ssh -ee hostname, in fact. -- Mark J. Reed -- Unsubscribe info: http

Re: Where is the 1.7 download?

2008-08-28 Thread Mark J. Reed
! You've doomed us all! -- Mark J. Reed -- 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/

Re: Text selected when I do double click in it

2008-08-30 Thread Mark J. Reed
behavior for selecting text. -- Mark J. Reed [EMAIL PROTECTED] -- 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/

Re: Help on dos2unix

2008-09-09 Thread Mark J. Reed
On Tue, Sep 9, 2008 at 10:48 AM, Heude Pascal (LTS) wrote: I am using the command dos2unix to convert file from DOS to UNIX in a makefile. If that's the Cygwin version of dos2unix.exe, then I assume you are also using the Cygwin version of make, which you are in turn running from a Cygwin

Re: SSH publickey problem, password works (Win 2003, OpenSSH_5.1p1, Cygwin DLL1.5.25 )

2008-09-09 Thread Mark J. Reed
On Tue, Sep 9, 2008 at 5:24 AM, Just Me wrote: I've been fighting with SSH for a week now, I've read everything I can google, it's finally time to ask for help. I can ssh to any account using a password, no problem. It bombs with a cannot seteuid error in the event log when I use a keypair.

Re: Help on dos2unix

2008-09-12 Thread Mark J. Reed
in /bin. It seems that there are identical (at least same name and same size). I believe that /usr/bin and /bin in Cygwin refer to the same directory. Does the make command work, despite the exit code? Are the carriage returns gone from the file? -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe

Re: Cygwin bash

2008-10-07 Thread Mark J. Reed
From John Emmas: When I double click the 'Cygwin' icon on my Windows desktop, a DOS-like window opens which I'm led to believe is Cygwin's bash terminal. However, with every version of Linux that I've used, the bash terminal had menus allowing me to do certain things like (for example)

Re: [OT] RE: Cygwin bash

2008-10-07 Thread Mark J. Reed
J. Reed [EMAIL PROTECTED] -- 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/

Re: Cygwin bash

2008-10-07 Thread Mark J. Reed
-Insert. -- Mark J. Reed [EMAIL PROTECTED] -- 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/

Re: recently introduced egrep problem

2008-10-14 Thread Mark J. Reed
, it works on RHEL5, which comes with 2.5.1, but not in, say, Ubuntu 8.04LTS, which comes with 2.5.3. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

Re: cygwin shell scripting - how to pass values from command line to ssh remote command

2008-10-14 Thread Mark J. Reed
is to build a command string that includes literal quotation marks intermixed with the quoted expansion of local variables. Also note that if all you're looking to getting out of that ps |grep java line is the PID, you can just use $!. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info

Re: Compile time Local Cygwin vs. VMware session on same system

2008-10-20 Thread Mark J. Reed
with a native Windows build system that made efficient use of threads and CreateProcess() rather than going through a simulation of fork(). - Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation

Re: bash: Word splitting but when?

2008-10-22 Thread Mark J. Reed
2008/10/22 sbremal Hi All, Trying to get the right form of quoting and command substitution with output containing spaces. Given the following two lines in a bash script: x=$(echo '1 2 3 x') y=$(echo '1 2 3 x') Those are pretty much equivalent, but not because of when splitting

Re: A $ in my path...

2008-10-23 Thread Mark J. Reed
the privileges to do it, would be to make a $-less symbolic link and change your passwd entry to match. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

Re: A $ in my path...

2008-10-24 Thread Mark J. Reed
at Nabble.com. -- 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/ -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info

Re: canonicalize_file_name

2008-10-31 Thread Mark J. Reed
not assume that Cygwin does likewise, since it's a libc function and Cygwin doesn't use GNU libc. The safest course would be to declare or preallocate a buffer of size PATH_MAX and pass it to realpath(); that should work with any POSIX-compliant C library. -- Mark J. Reed [EMAIL PROTECTED

Re: canonicalize_file_name

2008-10-31 Thread Mark J. Reed
a destination buffer but no size parameter are just plain dangerous. -- Mark J. Reed [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Mark J. Reed
in the original UNIX shell, probably because it was most often used with files whose names start with .. It's the more common way to load a file into the current envionment, but source is probably the easier command to find in the doc and would have worked as well. -- Mark J. Reed [EMAIL

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Mark J. Reed
On Fri, Nov 21, 2008 at 10:58 AM, Ryan Stewart wrote: On Fri, Nov 21, 2008 at 9:52 AM, Mark J. Reed [EMAIL PROTECTED] wrote: ^^ There's a policy on this list of not including email addresses in the body of messages, so as to minimize spam exposure. So please don't include addresses

Re: find . -regex '.*js' -type f -exec md5sum '{}' \\; really slow!

2008-11-24 Thread Mark J. Reed
On Mon, Nov 24, 2008 at 11:09 AM, Bartolomeo Nicolotti wrote: Hi, but the command find . -type f | xargs md5sum has problems with blanks in the name of the files: This isn't a general help list for UNIX tools; they work the same on Cygwin as on UNIX. I recommend you search for tutorials

Re: Re: find . -regex '.*js' -type f -exec md5sum '{}' \\; really slow!

2008-11-24 Thread Mark J. Reed
symbolic links to files as matching -type f. -- Mark J. Reed [EMAIL PROTECTED] -- 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

Re: terminal window with tabs?

2008-11-25 Thread Mark J. Reed
of the terminal program. -- Mark J. Reed [EMAIL PROTECTED] -- 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/

Re: Rationale for line-ending recommendation?

2008-12-19 Thread Mark J. Reed
= 0.66? You're right - it's clearly not the 21st century yet, since you seem to be using one of the original floating-point-bugged Pentium chips. ;-) -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: Unusual environemtal variables

2008-12-22 Thread Mark J. Reed
, and Cygwin users such as Steve who wish to launch such programs from the Cygwin environment. The logical solution there is to do as Eric suggested and use env, although if it's a simple script (or one you consider worth the porting effort) you could also rewrite it in csh instead. -- Mark J. Reed

Re: Could I use backslash directly as path delimiter on cygwin?

2009-01-03 Thread Mark J. Reed
names, combine the single quotes with cygpath: oddcmd $( cygpath 'd:\dira\dirb' ) -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ

Re: rm seems to fail

2009-01-13 Thread Mark J. Reed
rm thinks that either it successfully deleted the file or it didn't exist in the first place. Is rm without -f able to remove goo/foo (after you confirm at the prompt)? If not, does it generate an error indication? -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com

Re: rm seems to fail

2009-01-13 Thread Mark J. Reed
where you're running these tests. If it really is the Cygwin rm, it sounds like the unlink(2) call is reporting success but not actually deleting the file. That's easy to check by calling unlink via a different route, e.g. perl -e 'unlink(goo/foo)' . -- Mark J. Reed markjr...@gmail.com

Re: rm seems to fail

2009-01-13 Thread Mark J. Reed
-jumping there. So at this point I'm at a loss. I'm running the same version of Cygwin (though on Vista, not XP) on the same type of filesystem (NTFS) and not seeing the issue. Is there any way this could be BLODA-induced? -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http

Re: First Pass at mintty documentation; etc.

2009-01-14 Thread Mark J. Reed
handy to be able to use the default bindings. -- Mark J. Reed markjr...@gmail.com -- 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/

Re: First Pass at mintty documentation; etc.

2009-01-15 Thread Mark J. Reed
explanation than claiming necessity. But if you're going to claim 25 years, you're going back to the first version of ksh, which has some differences in history functionality that might affect the percentages here. :) -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com

Re: Bash doesn't launch the applications directly.

2009-01-15 Thread Mark J. Reed
On Thu, Jan 15, 2009 at 8:59 PM, Lenik wrote: Is it possible to make cygstart as a bash built-in? I think you might misunderstand the relationship between Cygwin and bash. Bash is not a part of Cygwin. It is a standalone shell, written to run on any UNIX-like platform: Linux, Solaris, OS X,

Re: read file with windows filenames

2009-01-29 Thread Mark J. Reed
Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500 + attrib +S 'C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500' + read -r cLine + exit -- Mark J. Reed

Re: Setting Integer Variables in Bash

2009-01-29 Thread Mark J. Reed
, but there's no sense making the shell do extra work. :) -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: Finding either boot time or login time

2009-01-30 Thread Mark J. Reed
One-liner to display the boot time: $ perl -lane 'print ~~localtime(time-$F[0])' /proc/uptime Or format it however you want, e.g. for ISO8601: $ perl -MPOSIX -lane 'print strftime(%FT%T, localtime(time-$F[0]))' /proc/uptime -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Finding either boot time or login time

2009-02-02 Thread Mark J. Reed
to the effect of hibernation. :) -- Mark J. Reed markjr...@gmail.com -- 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/

Re: Re: date generates a \r

2009-02-03 Thread Mark J. Reed
, view source, or similar). This includes a link to any message it was sent as a reply to, and many clients organize messages according to this information. So if you're starting a new topic, compose a new message - don't use reply or reply-all. -- Mark J. Reed markjr...@gmail.com

Re: CygWine 1.0 Beta -- an new cygwin package manager

2009-02-12 Thread Mark J. Reed
is that it was a port of Wine to Cygwin, which would be tres silly. I had that exact same thought. If it can't be merged into the standard setup.exe, I would at least recommend a different name. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: subshell redirection (/dev/fd/x)

2009-02-17 Thread Mark J. Reed
On Tue, Feb 17, 2009 at 2:11 PM, Tim McDaniel wrote: I think that, out of the box, (...) doesn't work under Cygwin. We had to do ln -s /proc/self/fd /dev/fd FYI, I have that symlink in a vanilla Cygwin 1.5 install... -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http

Re: Your setting Return-Path to YOU in your cyg...@cygwin postings

2009-03-04 Thread Mark J. Reed
When the message arrived in Thunderbird, I hit reply; it correctly addressed the reply to 'from.address', not 'return.path'. So I don't think your MUA is the problem. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: proposing a new package: dash (shell)

2009-03-04 Thread Mark J. Reed
are still created with bash as the login shell by default. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: Open a url by cygwin/bash script.

2009-03-07 Thread Mark J. Reed
On Sat, Mar 7, 2009 at 11:09 AM, Hongyi Zhao wrote: I want to opena url, say http://http://www.google.cn by the system's default explorer, such as IE,  from within a cygwin/bash script.  What should I write this code? cygstart http://www.google.cn; -- Mark J. Reed markjr...@gmail.com

Re: Can not see what is being typed and cursor does not move

2009-03-08 Thread Mark J. Reed
-prompting program on Cygwin not restoring echo; is there perhaps a bug in the latest version of ncurses or whatever it's using? -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: Re: Want to let variable pass to cygstart.

2009-03-11 Thread Mark J. Reed
substitution and also the non-variable-substitution metacharacters like . cygstart http://www3.interscience.wiley.com/cgi-bin/fulltext?ID=$MyWileyIDPLACEBO=IE.pdfmode=pdf; -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: What is your default ANSI codepage?

2009-03-20 Thread Mark J. Reed
On Fri, Mar 20, 2009 at 10:06 AM, Charles Wilson wrote: H:\codep ANSI codepage: 1252 Latin-1, ok... A minor nit: CP1252 is not Latin-1. Latin-1 refers to ISO 8859 part 1,which differs from Windows-1252 in that the latter has graphic(*) characters where the former has control characters. (*)

Re: What is your default ANSI codepage?

2009-03-20 Thread Mark J. Reed
is not really Latin-1, but the labels are too entrenched to do anything about. I was only objecting (and it really was a minor nitpick, as I said) to Charles's use of the unadorned Latin-1 for CP 1252, when that term should ideally be reserved for ISO 8859-1/CP 28591. -- Mark J. Reed markjr

Re: chere doesn't work anymore with MinTTY

2009-03-20 Thread Mark J. Reed
this title (-title/-T) are the only two examples that spring to mind. I just think it's important to think of it categorically rather than just -e. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: Fw: How to change the default outgoing port from 22 in cygwin/ssh

2009-03-30 Thread Mark J. Reed
for all outbound ssh connections to that server (see man ssh_config for how to do that). The latter would be the preferred option if you ever do anything besides rsync that involves ssh to that server. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Fwd: complex number

2009-04-01 Thread Mark J. Reed
calling hypot(a, b) directly yields the correct result. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: duplicate *.exe commands

2009-04-09 Thread Mark J. Reed
. ## cygwin only: commands that auto-complete with and without .exe suffix are annoying. [[ ${OSTYPE} == cygwin ]] { hash -f ; unhash -m '*.exe' } You probably want to unhash -m '*.dll', too. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Re: [1.7] Backslash incorrectly triggers DOS style path warning

2009-04-21 Thread Mark J. Reed
On Monday, April 20, 2009, Christopher Faylor wrote: It isn't really erroneous.  Something (awk) is trying to open a filename with that includes backslashes, so cygwin1.dll thinks that it is trying to open a DOS path. Except it looks like, from what's pasted above, that it's actually a

Re: [1.7] Backslash incorrectly triggers DOS style path warning

2009-04-21 Thread Mark J. Reed
argument. Got it. So the bug is not in Cygwin, but in some shell function in the completion setup, which is passing an awk program incorrectly, causing awk to treat the program text as a filename. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Re: Bash problem

2009-04-30 Thread Mark J. Reed
that the Linux system has the standalone time(1) command installed. As it happens, my Cygwin install also has a /bin/time. You can just move the assignment to after the 'time': eval time foo=bar env | grep foo real0m0.120s user0m0.000s sys 0m0.078s foo=bar -- Mark J. Reed markjr

Re: [1.5] v. [1.7] unison: version clash?

2009-05-01 Thread Mark J. Reed
, and they had the same filename, they were ipso facto the same package. Unless someone messed up somewhere. Here we have two packages with the same filename that are not in fact the same package. Ergo, someone messed up somewhere. :) -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http

Re: WARNING: terminal is not fully functional

2009-05-06 Thread Mark J. Reed
2009/5/6 Frédéric Bron: WARNING: terminal is not fully functional -  (press RETURN) So you have $TERM set to something that the system doesn't recognize. What does 'echo $TERM' return in each case (rxvt-x vs rxvt-native)? --Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http

Re: WARNING: terminal is not fully functional

2009-05-06 Thread Mark J. Reed
2009/5/6 Frédéric Bron: rxvt-x - TERM=rxvt-cygwin rxvt-native - TERM=rxvt-cygwin-native That's the problem. /etc/termcap has an entry for rxvt-cygwin-native, but not for rxvt-cygwin. What you want in that case is just TERM=rxvt. Not sure where the bug is. Either rxvt is setting TERM wrong,

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread Mark J. Reed
On May 13 02:29, IWAMURO Motonori wrote: Hi. I propose that the filename encoding in C locale uses UTF-8 instead of SO/UTF-8 What the heck is SO/UTF-8? -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread Mark J. Reed
for the portability of, say, tar archives created under Cygwin. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-18 Thread Mark J. Reed
On Mon, May 18, 2009 at 9:17 AM, Dave Korn wrote: Lenik wrote: On 2009-5-18 14:09, Christopher Faylor wrote: I think the main person you should be thanking isn't a guy. Ok. Thank you gods.  Hey Corinna?  Congrats!  You just got a promotion! All praise to the great Corinna! -- Mark J

Re: Why bash failed to match this pattern?

2009-06-04 Thread Mark J. Reed
. The quotes suppress the special meaning of ^ and make it try to match literally. Lose them: if [[ $target =~ ^a ]]; then ... -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: Re: Why bash failed to match this pattern?

2009-06-05 Thread Mark J. Reed
GNU bash, version 3.2.33(1)-release (i386-redhat-linux-gnu) Copyright (C) 2007 Free Software Foundation, Inc. Maybe some settings affect bash's behaviour. PRC -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: Why sh failed 'Process Substitution'?

2009-06-09 Thread Mark J. Reed
as bash. Or you can run it by typing bash ./scriptname. None of this, of course, is at all Cygwin-specific. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http

Re: Failed Dependencies: /bin/sh needed by rpm-name

2009-06-25 Thread Mark J. Reed
a better idea to create a setup.exe-compatible one (see http://cygwin.com/setup.html for how to do that). -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Mark J. Reed
to rebuild entire gcc. No, to fix that you have to convince the newlib developers to add wstring support to newlib. _GLIBCXX_USE_WCHAR_T is still not defined. Cygwin does not use glibc. -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ

Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Mark J. Reed
be the case for Cygwin 1.7 and gcc 4.x. Sorry, my mistake. I was thinking of the wchar_t C functions. I'll shut up now. -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

Re: bash: $'\r': command not found; also es nonfunctional and get deleted in bash window

2009-06-25 Thread Mark J. Reed
conversion step. Of course, both the Cygwin and native Windows versions of Vim, Emacs, and other cross-platform editors can do this. The better text editors for Windows can, too, but they tend to be commercial products, such as TextPad (~$30) and UltraEdit (~$50). -- Mark J. Reed markjr

Re: Launching CMD.EXE windows from cygwin bash

2009-06-25 Thread Mark J. Reed
/windows/system32/cmd.exe or, if you have that in your $PATH, just cygstart `which cmd` -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info

Re: Launching CMD.EXE windows from cygwin bash

2009-06-26 Thread Mark J. Reed
to cmd.exe. Will have to investigate that when I get home. Barry Buchbinder pointed out: cygstart has an option to set the working directory. An excellent point! cygstart -d /path/to/directory cmd should do the trick. -- Mark J. Reed markjr...@gmail.com -- Problem reports: http

Re: Problem with displaying ASCII table in mintty

2009-06-26 Thread Mark J. Reed
, or display gobbledygook, depending on its error handling design. -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com

Re: Problem with displaying ASCII table in mintty

2009-06-26 Thread Mark J. Reed
be adjusted for different locale settings: perl -Mencoding=utf8 -e '...' adding the control-sequence support (^x) is left as an exercise for the reader. :) -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq

Re: bash: $'\r': command not found; also es nonfunctional and get deleted in bash window

2009-06-26 Thread Mark J. Reed
itself. That's fine for shell scripts, but you'll still have trouble with other programs and their text files (like readline and .inputrc). -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

Re: w32api funny

2009-07-01 Thread Mark J. Reed
On Wed, Jul 1, 2009 at 6:33 AM, Dave Korn wrote:  I noticed this when we added StrStrI to setup.exe, and I forgot to bootstrap the generated files; I got a bad exe that didn't work [...] So, not really funny ha-ha, then... too bad. I was hoping for an API knee-slapper. -- Mark J. Reed

Re: Best way to create Windows .ico file for Emacs?

2009-07-02 Thread Mark J. Reed
,        0x8000,0x,0x007E,0x1C01,0x8000,0x,0x0006,0x1C01, That's a Sun ICON file. It looks like ImageMagick doesn't support that, but PBMTools does: $ icontopbm emacs.icon | convert - emacs.ico -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ

Really dumb setup question.

2009-07-03 Thread Mark J. Reed
that's missing, just install the one package. Possible? -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml

Re: Why doesn't find .|grep aword work?

2009-07-06 Thread Mark J. Reed
| xargs -0 grep hello None of this is Cygwin-specific. It's just the way find and grep work, on all UNIXlike systems. -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com

Re: Really dumb setup question.

2009-07-06 Thread Mark J. Reed
should just work. Hm, I could swear I cycled around all the possible top-level choices and didn't see Keep. Maybe because I'd already selected something? Belated thanks for the advice. In the end I just let it update everything anyway... -- Mark J. Reed markjr...@gmail.com -- Problem reports

Re: OT: gmail quoting (was Re: [OT] Re: Virus on sed.exe)

2009-07-10 Thread Mark J. Reed
the email address after it pops up in the composer. More annoying is the GMail mobile application, which appends the reply with quoted email addresses etc no matter what you do... -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ

Re: Username hassles

2009-07-13 Thread Mark J. Reed
Correction: that should be chown, not chmod. If MEAD8998 and paul exist in your '/etc/passwd' file and share the same SID, use (1).  Otherwise, use (2). -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq

Re: wrong home directory

2009-07-13 Thread Mark J. Reed
list altogether. Then Cygwin will set it to whatever is in your /etc/passwd file. You should also make sure that your Windows Emacs still works. -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq

Re: Trouble creating crontab

2009-07-16 Thread Mark J. Reed
setting it locally in bash won't affect crontab. 2. Make sure VISUAL isn't set differently; it overrides EDITOR for some apps. -- Mark J. Reed markjr...@gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

Re: Trouble creating crontab

2009-07-16 Thread Mark J. Reed
On Thu, Jul 16, 2009 at 1:51 PM, Paul Mead wrote: Mark J. Reed ... writes: http://www.cygwin.com/acronyms/#PCYMTNQREAIYR So I've managed to falteringly edit my crontab using vim (doesn't feel right and I made loads of mistakes, so I've got to find out how to get emacs working instead

Re: AWK from a batch file

2009-07-29 Thread Mark J. Reed
be good, apart from the lack of execute permission. The second problem is that CMD's echo appends carraige returns. Add these commands to fix both that problem and the execute permission one: \cygwin\bin\d2u awk.s \cygwin\bin\chmod +x awk.s -- Mark J. Reed markjr...@gmail.com -- Problem

  1   2   3   >