Re: ls output still truncated

2007-02-20 Thread Gary Johnson
, so there may be some reason it isn't as useful under Cygwin as it is under, say, Linux. In that case, you could add a few printfs to see what's happening. Just my $0.02, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division

Re: [Testcase] Memory returned by malloc not always zeroed.

2007-03-06 Thread Gary Johnson
than size and alignment, the contents of that memory is not specified. If you want a block of memory initialized to zero, use calloc(). Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane

Re: Tab Completion and Typical Behavior

2007-03-19 Thread Gary Johnson
and then sh myscTab should work. For more on this, see the bash(1) man page, search for the section on SHELL BUILTIN COMMANDS and search from there for complete. HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division

Re: Tab Completion and Typical Behavior

2007-03-20 Thread Gary Johnson
On 2007-03-20, robert_neville310 AT yahoo DOT com wrote: On Mon, 19 Mar 2007 15:20:33 -0700, Gary Johnson [EMAIL PROTECTED] wrote: Including someone's address in your reply is frowned upon in this list. http://cygwin.com/acronyms/#PCYMTNQREAIYR I personally don't

Re: Pass-through filter with logging

2007-03-21 Thread Gary Johnson
performant since the file is not needed to be read. The question is: Does such command (log_pass_through) exist by default in Cygwin? Yes. It's called 'tee'. See the tee(1) man page. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband

Re: grep will not work with a variable?

2007-03-29 Thread Gary Johnson
if you execute echo '|'$CLIENT'|' I just put those '|' there to more clearly delimit the value of CLIENT. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane, Washington, USA -- Unsubscribe

Re: grep will not work with a variable?

2007-03-29 Thread Gary Johnson
On 2007-03-29, Kevin Markle wrote: Gary Johnson used his keyboard to write : On 2007-03-29, Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed

Re: grep and exact matches help..

2007-04-03 Thread Gary Johnson
that its stdout is not a tty and delivers single-column output automatically. Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane, Washington, USA -- Unsubscribe info: http://cygwin.com

Can't use ioctl() to set baud rate on /dev/ttyS0

2007-04-23 Thread Gary Johnson
the output of cygcheck -s -r -v cygcheck.out. Does anyone see what I'm doing wrong or know why ioctl() is not setting the baud rate? Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane

Re: Can't use ioctl() to set baud rate on /dev/ttyS0

2007-04-24 Thread Gary Johnson
On 2007-04-23, Christopher Faylor wrote: On Mon, Apr 23, 2007 at 06:34:45PM -0700, Gary Johnson wrote: I've been working on porting a simple terminal emulator application from HP-UX 10.20 to Cygwin. All it does is make a few termio settings on stdin, stdout and the specified serial port

Re: Attn: Yaakov - gvim (Was: [ANNOUNCEMENT] Updated: vim-7.1-1)

2007-05-15 Thread Gary Johnson
of urgency...) What breaks? As far as I know, 7.1 contains only bug fixes. Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane, Washington, USA -- Unsubscribe info: http://cygwin.com

Re: Attn: Yaakov - gvim (Was: [ANNOUNCEMENT] Updated: vim-7.1-1)

2007-05-15 Thread Gary Johnson
On 2007-05-15, Igor Peshansky wrote: On Tue, 15 May 2007, Gary Johnson wrote: On 2007-05-15, Michael Schaap wrote: On 14-May-2007 17:05, Corinna Vinschen wrote: I have updated the version of vim on cygwin.com to 7.1-1. Yaakov, if possible, could you perhaps release

Re: 1.7.0 Cannot use any command

2007-05-24 Thread Gary Johnson
that (bash-3.2$), it appears that you are running bash without the --login option. That is, it appears that you did not execute cygwin.bat. What did you do to get the console with the bash-3.2$ prompt? Did you double-click the Cygwin icon on your desktop? Regards, Gary -- Gary Johnson

Re: [ANNOUNCEMENT] New package: brltty 3.8

2007-06-07 Thread Gary Johnson
mechanism, one piece of code, to access the local machine as well as remote machines. Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane, Washington, USA -- Unsubscribe info: http

Re: using chere

2007-06-22 Thread Gary Johnson
. run_bash_here.bat - @echo off REM Batch file to run a bash shell in the directory given by the batchfile REM argument, %1. REM REM Gary Johnson REM 2006-10-17 REM Save the current value of CYGWIN and add the 'noglob' option to allow us REM to pass the %1 argument to a bash command

Re: Help compiling gcc 4.2.0

2007-06-22 Thread Gary Johnson
On 2007-06-22, Dave Korn wrote: On 21 June 2007 21:47, Lee Rhodes wrote: I am struggling with the infamous unix/dos end-of-line '\r\n' vs '\n' incompatibilities. It seems that no matter what shell I use (bash, sh, Cygwin, rxvt, dos) that the gnu make utility throws errors when it sees

Re: Accessing RS-232 serial port under Cygwin

2007-07-26 Thread Gary Johnson
On 2007-07-27, Mike Fahlbusch wrote: ask.teddy wrote: I want to write a C program which runs on a desktop computer and talks to a device over the RS-232 serial port. I'm using WinXP + Cygwin, and sometimes Ubuntu Linux. I hope this program can be ported to either OS with the least

Re: How do I make scripts my PC executable

2007-08-29 Thread Gary Johnson
On 2007-08-29, Dave Korn wrote: On 29 August 2007 17:59, zip184 wrote: I have some scripts I'd like to run without starting cygwin and typing in their paths. Is there a way to make windows recognize that a file is a bash/python script and run them like as if I ran them in cygwin? I'd

bash becomes orphaned when remote terminal killed

2007-09-16 Thread Gary Johnson
I've found this question in the archives, but not the answer. I login to a machine running Cygwin (call it mypc) from one running Linux with this command: xterm -e ssh mypc When I close the xterm on the Linux machine, the login bash process on the Cygwin machine becomes an orphan instead

Re: executing an executable

2007-09-16 Thread Gary Johnson
On 2007-09-16, Cole Radcliffe wrote: Cole Radcliffe wrote: I do an ls -la and I see I have an executable called executable.exe. I chmod to 777. Then I try to type execut and I press tab and it does not find it. When I type in the entire name and press enter, bash says the command is not

Re: packages

2008-07-18 Thread Gary Johnson
On 2008-07-18, r wrote: I'm new about cygwin, but I use from a lot SuSE and OpenSuSE can I install packages rpm from linux distributions on cygwin ? No. First off, Cygwin doesn't use Red Hat's package manager, it uses its own package manager, setup.exe. Secondly, binaries built for Linux

Re: packages

2008-07-22 Thread Gary Johnson
On 2008-07-22, Lee D. Rothstein wrote: Gary Johnson wrote: On 2008-07-18, r wrote: I'm new about cygwin, but I use from a lot SuSE and OpenSuSE can I install packages rpm from linux distributions on cygwin ? No. First off, Cygwin doesn't use Red Hat's package manager, it uses its

Problem opening new serial ports

2008-08-05 Thread Gary Johnson
I've been successfully using the original two serial ports on my Windows PC, COM1 and COM2, referring to them to Cygwin tools as /dev/ttyS0 and /dev/ttyS1, respectively. I needed two more serial ports, so I used a device that plugs into a USB port on a PC and provides two serial ports. The

Re: Problem opening new serial ports

2008-08-05 Thread Gary Johnson
On 2008-08-05, Gary Johnson wrote: I've been successfully using the original two serial ports on my Windows PC, COM1 and COM2, referring to them to Cygwin tools as /dev/ttyS0 and /dev/ttyS1, respectively. I needed two more serial ports, so I used a device that plugs into a USB port on a PC

Re: How to replace default bash window with rxvt / bash shell?

2008-08-08 Thread Gary Johnson
On 2008-08-08, Ren Berber wrote: CheapLisa wrote: Also when running the screen command I always get some text and then instructions to press the spacebar/or enter. That is very nice but how is this surpressed? Don't use screen (not recently anyway) but isn't it there a quiet option?

Re: How to replace default bash window with rxvt / bash shell?

2008-08-08 Thread Gary Johnson
On 2008-08-08, CheapLisa wrote: thanks for the help. It did launch bash so I am a little further along. I still need to get multiple tabs (integrate screen) into the command and believe I have it after some experimentation: rxvt -e screen /usr/bin/bash --login -i so rxvt executes both

Bug in grep when -i used with -o and/or --color=auto

2008-09-24 Thread Gary Johnson
Cygwin's grep appears to give incorrect results when given the -i option in combination with the --color=auto and/or -o options. For example, grep --color=auto You /etc/motd prints the line You are successfully logged in to this server!!! as expected, with You in red. However, while

Re: Bug in grep when -i used with -o and/or --color=auto

2008-09-25 Thread Gary Johnson
On 2008-09-25, Christopher Faylor wrote: On Wed, Sep 24, 2008 at 05:55:35PM -0600, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gary Johnson on 9/24/2008 5:17 PM: Cygwin's grep appears to give incorrect results when given the -i option in combination

setup.exe won't update

2008-10-03 Thread Gary Johnson
:\Program Files\PsTools c:\Program Files\QuickTime\QTSystem\ C:\cygwin\lib\lapack Output from C:\cygwin\bin\id.exe (nontsec) UID: 1009(Gary Johnson) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) 1005(Debugger Users) Output

Re: setup.exe won't update

2008-10-08 Thread Gary Johnson
On 2008-10-06, Larry Hall (Cygwin) wrote: Gary Johnson wrote: I have Cygwin installed on three PCs running Windows XP. I run setup.exe periodically on all of them to keep the packages up to date. When I did this last, a few days ago, setup.exe updated the openssl, grep and vim packages

Re: setup.exe won't update

2008-10-20 Thread Gary Johnson
On 2008-10-08, Larry Hall (Cygwin) wrote: Gary Johnson wrote: snip I did some searching for setup.exe debug hints and found out about /var/log/setup.log.full, so I've attached a copy of that. I also looked in /etc/setup for any clues that might be there. The installed.db file includes

Re: fetchmail pops up console windows

2009-01-12 Thread Gary Johnson
On 2008-02-22, Dr. Volker Zell wrote: Hi This still bugs me. fetchmail pops up console windows when delivering mails to procmail. It doesn't matter if I run fetchmail directly from the commandline (in my case in a rxvt window under X) or as a service. Any hint what could cause this popup

Re: fetchmail pops up console windows

2009-01-13 Thread Gary Johnson
On 2009-01-13, Jason Tishler wrote: Gary, On Mon, Jan 12, 2009 at 11:23:08PM -0800, Gary Johnson wrote: On 2008-02-22, Dr. Volker Zell wrote: This still bugs me. fetchmail pops up console windows when delivering mails to procmail. It doesn't matter if I run fetchmail directly from

Re: fetchmail pops up console windows

2009-01-13 Thread Gary Johnson
On 2009-01-13, Jason Tishler wrote: Gary, On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote: On 2009-01-13, Jason Tishler wrote: FWIW, I don't have this problem when running fetchmail as a service. I saw that in an earlier post and tried to follow the instructions

Re: fetchmail pops up console windows

2009-01-13 Thread Gary Johnson
On 2009-01-13, Dr. Volker Zell wrote: Gary Johnson writes: On 2008-02-22, Dr. Volker Zell wrote: Hi This still bugs me. fetchmail pops up console windows when delivering mails to procmail. It doesn't matter if I run fetchmail directly from the commandline

Re: fetchmail pops up console windows

2009-01-13 Thread Gary Johnson
On 2009-01-13, Larry Hall (Cygwin) wrote: Gary Johnson wrote: On 2009-01-13, Jason Tishler wrote: Gary, On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote: On 2009-01-13, Jason Tishler wrote: FWIW, I don't have this problem when running fetchmail as a service. I saw

Re: fetchmail pops up console windows

2009-01-14 Thread Gary Johnson
On 2009-01-14, Jason Tishler wrote: On Tue, Jan 13, 2009 at 02:04:27PM -0800, Gary Johnson wrote: So how does one set that right? Besides using editrights as suggested by Larry, you can also use the Local Security Settings MMC console on Windows 2000 or later: 1. start/Programs

Re: editing crontab using gvim

2009-01-26 Thread Gary Johnson
On 2009-01-27, Shai wrote: On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp wrote: On Tue, Jan 29 2008, Shai wrote: I have gvim installed and when I do: $ crontab -e gvim opens up my crontab. But, it opens it as readonly and saving it requires wq! but then when it exits, I

Updating failure

2009-02-04 Thread Gary Johnson
I had not updated my Cygwin installation for a couple of months, not since the major changes to Cygwin/X, because I was afraid of breaking X. I decided to bite the bullet today, so I shutdown all my Cygwin processes including cygrunsrv, ran setup.exe, selected my usual download site,

Re: Updating failure -- now success!

2009-02-05 Thread Gary Johnson
On 2009-02-05, Brian Keener wrote: Gary Johnson wrote: I also tried running setup.exe and selecting other mirrors, but all those I tried said that their something.ini was older than mine. Did you happen to notice the current vs new versions it was reporting as being updated

Re: Updating failure -- now success!

2009-02-05 Thread Gary Johnson
On 2009-02-05, Simon McQueen wrote: On 05/02/2009 18:39, Sam Kuper wrote: 2009/2/5 Gary Johnson garyj...@spocom.com: I tried again this morning, a little after 10 a.m. PST, from my usual mirror site cygwin.osuosl.org. Setup.exe spent a few minutes fetching quite a few files and installing

Re: Updating failure -- now success!

2009-02-05 Thread Gary Johnson
On 2009-02-05, Simon McQueen wrote: On 05/02/2009 19:38, Gary Johnson wrote: The setup.ini that I just fetched from ftp://cygwin.osuosl.org this morning seems to have all the requires: lines. For example, Sorry - I think you may have misread my post. I didn't say anything about 'requires

Re: bash

2009-02-14 Thread Gary Johnson
On 2009-02-14, przytula_guy wrote: I just installed latest version of cygwin on windows/xp on new machine copied an existing profile from another machine but with problems set -o vi : the -i option is not accepted whenever changing PS1, the cursor is positioned to the left and over writing

Re: Can not start UltraEdit using cygwin path

2006-10-16 Thread Gary Johnson
backslashes in file names will be interpreted as path separators or as quotes of the following characters. It doesn't understand cygwin paths, however, which is an advantage to using the Cygwin vim. I use both. Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL

Re: BashHere.reg Explorer add-on and long filenames

2006-10-18 Thread Gary Johnson
the quoting right in these situations, though, so you may have to play with that a bit. Some sort of quoting surrounding the argument to 'cd' is necessary so that paths containing spaces will appear to 'cd' as a single argument. HTH, Gary -- Gary Johnson | Agilent Technologies

Re: How do I kill a grandchild process from shell program?

2006-10-24 Thread Gary Johnson
or in a browser, go to http://cygwin.com/packages/ and Search Package List: for killall. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division | Spokane, Washington, USA -- Unsubscribe info: http://cygwin.com/ml

Problem passing Windows path names from batch file to bash script

2006-10-27 Thread Gary Johnson
from Windows to a bash script without losing any information? Thanks, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division | Spokane, Washington, USA -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Problem passing Windows path names from batch file to bash script

2006-10-28 Thread Gary Johnson
On 2006-10-28, Buchbinder, Barry (NIH/NIAID) [E] wrote: From: Gary Johnson; Sent: Friday, October 27, 2006 11:44 PM I am trying to pass Windows path names from a Windows batch file to a Cygwin bash script. I have found a solution using Windows environment variable substitution to replace

Re: Problem passing Windows path names from batch file to bash script

2006-10-30 Thread Gary Johnson
On 2006-10-28, Lev Bishop wrote: On 10/28/06, Gary Johnson wrote: On 2006-10-28, Buchbinder, Barry (NIH/NIAID) [E] wrote: From: Gary Johnson; Sent: Friday, October 27, 2006 11:44 PM I am trying to pass Windows path names from a Windows batch file to a Cygwin bash script. I have

Re: Resources not freed

2006-12-04 Thread Gary Johnson
On 2006-12-04, fergus wrote: PS Is there a switch I can add to find / so that /proc is not traversed? find / -path /proc -prune -o -name foo -print If you omit the final -print, /proc will be printed along with all occurrences of foo. See the find(1) man page. Regards, Gary -- Gary

Re: Missing Programs

2006-12-20 Thread Gary Johnson
, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division | Spokane, Washington, USA -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation

cygwin-1.5.23-2: /usr/include/ftw.h missing #include features.h

2007-01-27 Thread Gary Johnson
in Cygwin's implementation of /usr/include/ftw.h. Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division | Spokane, Washington, USA Cygwin Configuration Diagnostics Current System Time: Thu Jan 25 19:32:15 2007

less doesn't recognize capabilities of remote terminal

2007-02-05 Thread Gary Johnson
created the attached output from cygcheck -s -v -r while remotely logged in and in the same environment I used while encountering the problems with less. Any thoughts on what might be wrong or what else I might look at? Regards, Gary -- Gary Johnson | Agilent Technologies

Re: less doesn't recognize capabilities of remote terminal

2007-02-05 Thread Gary Johnson
On 2007-02-05, Gary Johnson wrote: I recently got Cygwin's sshd running on my Windows XP machine. It seems to basically work fine, allowing me to login from any of several machines running various flavors of Unix. Cygwin's less command, however, doesn't seem to recognize the capabilities

Re: less doesn't recognize capabilities of remote terminal

2007-02-06 Thread Gary Johnson
On 2007-02-06, Lev Bishop wrote: On 2/5/07, Gary Johnson wrote: On 2007-02-05, Gary Johnson wrote: I recently got Cygwin's sshd running on my Windows XP machine. It seems to basically work fine, allowing me to login from any of several machines running various flavors of Unix

Re: pdftk and apropos - general questions

2009-03-04 Thread Gary Johnson
On 2009-03-04, Mike Marchywka wrote: Mike Marchywka wrote: I've had a persistent problem getting apropos to work as it never finds anything appropriate. Is there something I need to do to make this work? After each setup session, you need to run, /usr/sbin/makewhatis -u. Thanks

Re: Can't run Bash!

2009-05-11 Thread Gary Johnson
On 2009-05-11, Yarin wrote: I'm trying to compile linux binaries on Windows. To do this, I've downloaded and installed Cygwin (along with it's GCC packages). But upon executing it, I'm confronted with this: bash-3.2$ _ Even though I've ran a linux prompt before, I have [I]not[/I] a clue

Re: Installing Cygwin without using setup

2009-05-13 Thread Gary Johnson
On 2009-05-13, Christopher Faylor wrote: On Wed, May 13, 2009 at 03:20:11AM -0700, breaks wrote: Hi. I was wondering would it possble to install cygwin without using the setup included with the download. I'd like to to just put it on the file system and then add it to a local path so that

Re: WMIC

2009-05-13 Thread Gary Johnson
On 2009-05-13, Christian Franke wrote: Dave Korn wrote: Bruno Galindro da Costa wrote: Christian, It Works perfectly for both! Can you explain why that commands works and not only wmic cpu list full? The wmic.exe file imports console functions like SetConsoleMode() and

Re: Cannot get 'Hello World' to compile

2009-08-28 Thread Gary Johnson
On 2009-08-28, Christopher Faylor wrote: I'm not seeing a whole-lot of cygwin-specific issues here. The cygwin list is not here to help people get up to speed on how to program or how to use UNIX. I've been hoping that I won't have to step in and be mean but I would appreciate it if you

Re: [ANNOUNCEMENT] Updated: astyle-1.24-1

2010-04-08 Thread Gary Johnson
On 2010-04-08, Chris Sutcliffe wrote: I've uploaded a new version astyle, 1.24-1, in keeping with the current upstream release. For a list of changes check out http://astyle.sourceforge.net/astyle_release_notes.html. I get error 404 from this URL. The Release Notes link from the main page

How do you enable the conceal feature?

2010-07-23 Thread Gary Johnson
I just updated to the latest Vim 7.3 changeset on my Linux system and after building it noticed that the conceal feature wasn't included. I tried to enable it using ./configure --enable-cscope --enable-conceal but got this warning: configure: WARNING: unrecognized options:

Re: How do you enable the conceal feature?

2010-07-23 Thread Gary Johnson
On 2010-07-23, Gary Johnson wrote: I just updated to the latest Vim 7.3 changeset on my Linux system and after building it noticed that the conceal feature wasn't included. I tried to enable it using ./configure --enable-cscope --enable-conceal but got this warning: configure

Re: vi and vim

2010-08-12 Thread Gary Johnson
On 2010-08-11, Larry Hall (Cygwin) wrote: On 8/11/2010 12:22 PM, Dave Robison wrote: Hello, At the risk of bringing down a cascade of derision, is there any way to use vi instead of vim in cygwin? I really prefer vi, but I can't seem to find a binary for it which isn't linked to one

Re: How to run bash in rxvt with both login shell and in a specific directory?

2009-09-09 Thread Gary Johnson
On 2009-09-09, KARR, DAVID (ATTCINW) wrote: I'd like to have a command line that will run bash inside rxvt, both as a login shell (so I get all my paths and profile) and in a specific directory. I know how to get it to a specific directory, and I know how to make it a login shell, but I can't

No CRs in :! command output from vim in rxvt

2009-10-05 Thread Gary Johnson
When I run vim in an rxvt terminal, and I execute a shell command such as :!ls there are no carriage returns in the output, only line feeds at the ends of the lines, so the lines stair-step across the terminal window. This has been a problem for as long as I've been using vim on Cygwin.

Re: No CRs in :! command output from vim in rxvt

2009-10-06 Thread Gary Johnson
On 2009-10-05, Gary Johnson wrote: When I run vim in an rxvt terminal, and I execute a shell command such as :!ls there are no carriage returns in the output, only line feeds at the ends of the lines, so the lines stair-step across the terminal window. [...] This looks to me like

Re: xterm_clipboard support vor VIM

2009-10-29 Thread Gary Johnson
On 2009-10-29, Ralf Holly wrote: Hi * I noticed that the Vim package does not support the '*' and '+' registers. Therefore, it is not possible to interact with the Windows clipboard. The fix would be to build Vim with the +xterm_clipboard option enabled. The X clipboard is not the Windows

Re: win7 specific probs; examples; and poor solutions

2009-11-20 Thread Gary Johnson
On 2009-11-20, Linda Walsh wrote: Andy Koppe wrote: 2009/11/20 Linda Walsh: I've had changes made to files disappear Again, vague hand-waving is no help here. --- No waiving of hands was necessary. But a concrete example (using find+file to look text files under /prog/vim (/Program

Re: vim setup (getting cygvim and winvim happy together)

2009-11-22 Thread Gary Johnson
On 2009-11-21, Linda Walsh wrote: Gary Johnson wrote: You could do that, or you could add the full path to the vim directory to your PATH. --- This is a very circuitous story -- with different effects developing over the years. Things might be different under cygwin 1.7, but I went

Re: grep --color=auto with -i option disables the matching text color

2009-11-23 Thread Gary Johnson
On 2009-11-23, Morten Kjærulff wrote: On Mon, Nov 23, 2009 at 4:51 PM, Alan Fay empty...@gmail.com wrote: Howdy! I was trying to enable colors on the matching text for grep, and can't get the formatting to work with the matching text. # Partial contents of .zshenv export

Re: grep --color=auto with -i option disables the matching text color

2009-11-24 Thread Gary Johnson
On 2009-11-24, Christopher Faylor wrote: On Tue, Nov 24, 2009 at 03:07:12PM +0100, Morten Kj?rulff wrote: On Tue, Nov 24, 2009 at 2:10 PM, Dave Korn wrote: ?Anyway, I can reproduce your problem (matching text colour disappears when '-i') in a bash shell in cygwin 1.5, but it works just fine

Re: how to get the windows PATH env in cygwin

2009-11-30 Thread Gary Johnson
On 2009-12-01, ??? wrote: $PATH returns the value of PATH. For example, to display the path, use echo $PATH. This is not Cygwin-specific though so further discussion is likely to be off-topic for this list. What i mean is that, how to only get the env path of windows, such

Re: [ANNOUNCEMENT] [1.7] Updated: grep-2.5.4-2

2009-12-04 Thread Gary Johnson
On 2009-11-25, Christopher Faylor wrote: I've made a new version of 'grep' (http://www.gnu.org/software/grep/) available for installation. This is the most recent version of grep available from ftp.gnu.org + a patch from the Mandrake project which seems to alleviate the problem mentioned

Re: How to print the full Windows path inside the sed command?

2009-12-09 Thread Gary Johnson
On 2009-12-09, Jeremy Bopp wrote: Chip Panarchy wrote: Then I ran the following command from command-prompt; find2 . -follow -type f | sed -e s|^\.|PATH| -e s|^|File:\t| Is there a command (from Cygwin/Linux: PATH) which I can use to print the full directory path? Please tell

Re: How to print the full Windows path inside the sed command?

2009-12-09 Thread Gary Johnson
On 2009-12-10, Chip Panarchy wrote: On Thu, Dec 10, 2009 at 10:47 AM, Gary Johnson garyj...@spocom.com wrote: On 2009-12-09, Jeremy Bopp wrote: Chip Panarchy wrote: Then I ran the following command from command-prompt; find2 . -follow -type f | sed -e s|^\.|PATH| -e s|^|File:\t

Re: BASH Shell - Configuration Problem?

2009-12-11 Thread Gary Johnson
On 2009-12-11, rgc3679 wrote: I haven't used cygwin or bash in 5 years, but I need to write a bash script for my ISP to test JavaMail. I can't get simple things to work, so I'm wondering if maybe I have a bash shell config issue. I did update cygwin to the latest. [...] Notice how the echo

Re: Looking for the 'stdout' of a Windows application

2009-12-13 Thread Gary Johnson
On 2009-12-13, Marc Girod wrote: Hello, I run a proprietary application, IBM Rational cleartool.exe from cygwin. In some usage scenarios which I am now interested in, it prompts the user for an interactive decision. I do not get this prompt under cygwin (either X --emacs shell or xterm-- or

Re: Looking for the 'stdout' of a Windows application

2009-12-13 Thread Gary Johnson
On 2009-12-13, Andy Koppe wrote: 2009/12/13 Marc Girod: I run a proprietary application, IBM Rational cleartool.exe from cygwin. In some usage scenarios which I am now interested in, it prompts the user for an interactive decision. I do not get this prompt under cygwin (either X --emacs

Re: can not enter password for SSH when running in another terminal (RXVT)

2009-12-15 Thread Gary Johnson
On 2009-12-15, Leo Lagos wrote: Hi... I've got the following problem, that I'll describe with the steps, so You can reproduce it... 1. open cygwin (normal black command prompt window) 2. run rxvt -e bash from there 3. on the rxvt terminal, execute an ssh to any host Now, what happens is

Re: highlight keywords

2010-01-20 Thread Gary Johnson
On 2010-01-20, indrek wrote: Hi I'm using make/gcc for compiling applications. It generates a lot of output. I need to highlight some keywords (show red text), in example error. Is it possible with Cygwin. My OS is Windows XP. make | grep --color=always -C error HTH, Gary --

Re: Missing xdvi

2010-01-22 Thread Gary Johnson
On 2010-01-22, Xianwen Chen wrote: Hello friends, I've installed all tetex-* packages, howver, I can't find xdvi. Should I compile it from source myself? Thank you in advance for any hint! Searching the Cygwin Package List (http://cygwin.com/packages/) for xdvi results in a number of hits

mintty colors

2010-03-02 Thread Gary Johnson
I have downloaded mintty-0.6-beta2-cygwin15.zip and read mintty-0.5.8.pdf, but I don't see a way to change the ANSI color palette other than to send escape sequences. I could echo the escape sequences in my ~/.bashrc, but mintty isn't the only terminal I use. I could wrap mintty in a shell

Re: mintty colors

2010-03-02 Thread Gary Johnson
On 2010-03-03, Reid Thompson wrote: On 3/2/2010 9:07 PM, Gary Johnson wrote: I have downloaded mintty-0.6-beta2-cygwin15.zip and read mintty-0.5.8.pdf, but I don't see a way to change the ANSI color palette other than to send escape sequences. I could echo the escape sequences in my

Re: mintty colors

2010-03-03 Thread Gary Johnson
On 2010-03-03, Andy Koppe wrote: Gary Johnson: I have downloaded mintty-0.6-beta2-cygwin15.zip and read mintty-0.5.8.pdf, but I don't see a way to change the ANSI color palette other than to send escape sequences. You're right, there isn't, as documented.  I could echo the escape

Odd behavior of mintty with screen

2010-03-04 Thread Gary Johnson
I've been using rxvt and rlogin (through a VPN) on a Windows laptop at home to connect to a computer running Linux at work. To help with that I have a shortcut on my Desktop that contains this Target: C:\cygwin\bin\run.exe /bin/rxvt --geometry =157x49+0+0 --backspacekey ^H -T lnxcomp1 -e

Re: Odd behavior of mintty with screen

2010-03-04 Thread Gary Johnson
On 2010-03-04, Andy Koppe wrote: Gary Johnson  When I execute screen, however, the mintty window immediately shrinks from 157x49 to 80x49.  This shrinking does not occur if I maximize the mintty window before executing screen. I've had a quick look, and with TERM=xterm-256color I find

Re: Cygwin Terminal Type

2010-03-17 Thread Gary Johnson
On 2010-03-17, Nick Calvert wrote: Hi all, This is a border line flame worthy question as I´m acting as a proxy for a developer. Please go easy... I have an elaborate, slightly dirty but fully functional system in place whereby Windows machines are automated via a Linux Ruby application

Re: Odd behavior of mintty with screen

2010-03-19 Thread Gary Johnson
On 2010-03-04, Andy Koppe wrote: Gary Johnson  When I execute screen, however, the mintty window immediately shrinks from 157x49 to 80x49.  This shrinking does not occur if I maximize the mintty window before executing screen. I've had a quick look, and with TERM=xterm-256color I find

Re: screen reattach not working?

2007-10-04 Thread Gary Johnson
On 2007-10-04, Damjan Lango wrote: Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it

Re: screen reattach not working?

2007-10-04 Thread Gary Johnson
On 2007-10-04, Gary Johnson wrote: On 2007-10-04, Damjan Lango wrote: Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under

Re: -exec on find(1) broken

2007-10-09 Thread Gary Johnson
On 2007-10-09, Paul McFerrin wrote: I think I'm going nuts. What am I doing wrong? Can't seem to get -exec to work. /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{\;\} | more find: missing argument to `-exec' /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{\} | more

Re: Users connected to my computer using Cygwin

2007-10-09 Thread Gary Johnson
On 2007-10-10, Daniel Noll wrote: On Tuesday 09 October 2007 17:56:03 Corinna Vinschen wrote: On Oct 8 12:40, dzapffe19 wrote: I want to see who is connected to my machine at a particular time to ensure that I am the only one able to access my computer. Is it possible to log all

Re: How to remotely log in and execute a program

2007-10-13 Thread Gary Johnson
On 2007-10-13, ppmoore wrote: Hello again, Just to say that I found a partial solution, by copying the ssh login keys generated on Cygwin on the Windows box to the .ssh directory on the remote Linux box, and then executing from a local Cygwin xterm: DISPLAY=localhost:0.0 ssh -Y -C -q

Re: Problem in compiling the insight.

2007-10-31 Thread Gary Johnson
On 2007-10-31, Ramesh C Satyavaram wrote: Hi , I am new to cygwin. I am facing problem in compiling the Insight6.6. I am getting libtermcap library not found error. I installed the latest ncurse and ncurse-demo. But still I am getting the problem I searched the mailing list but I did not

Re: end of file characters

2007-12-03 Thread Gary Johnson
On 2007-12-02, Peter Klavins wrote: Another question... When I'm editing a file that has the ^Ms do I leave them alone, or delete them? Will I be able to go back and forth and use vi via cygwin, and notepad/textpad via windows without harming the file? In general, you don't

Re: end of file characters

2007-12-03 Thread Gary Johnson
On 2007-12-03, Ren Berber wrote: Gary Johnson wrote: [snip] Except that WordPad always writes CR-LF at the ends of lines, even if the original file had only LF line endings.[snip] always is not true, WordPad distinguishes between text and DOS text as anybody can see in the file types

Re: need help with bash -c command with cygpath

2008-01-14 Thread Gary Johnson
On 2008-01-11, Jay wrote: Thanks everyone for the help. Since i'm getting the path from the registry i can't add in the extra backslashes without using sed. I ended up with this registy key which seems to work for local drives as well as network drives (UNCs) (haven't tested files with

Re: Cannot install cscope in cygwin

2008-01-15 Thread Gary Johnson
On 2008-01-15, Pham D. Loc wrote: Hi - I started using cygwin and trying to install cscope on WinXP but i couldn't get pass the first step running configure. The cscope I've download is version 15.6. When I tried to run configure, I get the following error messages: [EMAIL

Initiate a Dial-up Connection from the command line?

2008-02-28 Thread Gary Johnson
I'm running some tests of a radio modem where I need to bring up the Windows Connect Dial-up Connection dialog (Start - Settings [- Control Panel] - Network Connections - Dial-up Connection) and click the Dial button on a Windows box that's inconvenient to get to. It would be much easier if I

  1   2   3   >