Cygwin with ScrollWheel Mouse on Win XP

2003-01-14 Thread Robert Mark Bram
Howdy all! I have just installed Cygwin on my new XP system after being very happy with Cygwin on Win2k. My problem at the moment is that my scrolling on my scroll wheel mouse is not working - I have tried both bash and sh. Is there a specific package I need to install to support scrolling? Thank

RE: Cygwin with ScrollWheel Mouse on Win XP

2003-01-15 Thread Robert Mark Bram
Howdy Abe, Thanks for the advice. I checked this. I am running Microsoft IntelliPoint driver for a standard Wheel Mouse. Wheel button is assigned to AutoScroll, though I cannot find an option for "Use MS Office Compatible Scroll Only". I event tried to add bash.exe and cygstart.exe to a list of

RE: Cygwin with ScrollWheel Mouse on Win XP

2003-01-15 Thread Robert Mark Bram
Wow - I found the solution! Properties for the Cygwin window.. open the Options tab.. make sure QuickEdit Mode and Insert Mode is selected. That's all I needed to allow the mouse wheel to scroll in Cygwin under Windows XP! Rob :) > -Original Message- > From: Robert Mark B

PS1 color codes?

2003-01-23 Thread Robert Mark Bram
Howdy all! Where can I find a list of the ansi color codes that can be used in PS1? Rob :) :-> :-} -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: htt

cygpath question

2003-01-23 Thread Robert Mark Bram
Howdy all! I am trying to write a little script that will allow me to "cd" to any directory in Cygwin by pasting in the Windows path.. Here is a screen dump of my work so far: $ function cdd () { >cd "`cygpath --unix "$*"`" > } $ pwd / $ cdd C:\My Music $ pwd /cygdr

RE: PS1 color codes?

2003-01-24 Thread Robert Mark Bram
Excellent - thank you Gareth! Rob :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

RE: cygpath question

2003-01-24 Thread Robert Mark Bram
Howdy Randall, > >$ cdd C:\Rob\mcd3060\Tri32002\a2 > >bash: cd: C:Robmcd3060Tri32002a2: No such file or directory > In this case, the unquoted backslashes > essentially just disappear, since in > each case the character they precede > is not special. Thank you very much for your reply. I

RE: cygpath question

2003-01-24 Thread Robert Mark Bram
Howdy Randall, Click and drag method == > Actually, on my system, dropping on RXVT from Windows Explorer, whether > file or directory, with or without spaces, nothing happens at all. OK - I found this too (I have never used rxvt before, so I am not aware of any advantages

RE: cygpath question - Command Prompt Here

2003-01-24 Thread Robert Mark Bram
Howdy all! Command Prompt Here == I got CommandPromptHere from this url: http://koeln.convey.de/cywgin/CygwinPromptHere/ I then followed these steps: $ tar xvzf CygwinPromptHere-20020528.tar.gz $ cd CygwinPromptHere $ ./install Below is the result of my install. I am no

RE: cygpath question - Command Prompt Here

2003-01-24 Thread Robert Mark Bram
Howdy all! For the record, these are two reg files I found that worked for me on XP: http://sources.redhat.com/ml/cygwin/2002-05/msg01685.html http://sources.redhat.com/ml/cygwin/2002-05/msg01648.html Rob :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

RE: wordexp function

2003-01-25 Thread Robert Mark Bram
Howdy Arno! > Thanks for the helpful answer! > So, if this search does not give any results, it means I cannot compile > sources which use wordexp.h? If worst comes to worst, here is an index that includes wordexp.h: http://handhelds.org/download/intimate/release/usr/include/ Rob :) -- Unsubs

Suppress newline under cygwin bash

2003-01-27 Thread Robert Mark Bram
Howdy all! I have noticed that the two ways I have read about to suppress newline characters in the echo command do not seem to be working. Here is what I have tried: $ echo "hi there\c" hi there\c $ echo "...using -n." ...using -n. $ Quoted or unquoted, the result is the same. I tried doing a

installing pinfo

2003-02-01 Thread Robert Mark Bram
Howdy all! I downloaded pinfo recently because I have heard it is a better help program than man. I ran the cygwin setup program, selected pinfo and thought it ran through ok. However, when I type "pinfo", the command is not known: $ pinfo bash: pinfo: command not found $ I went and had a loo

RE: installing pinfo

2003-02-02 Thread Robert Mark Bram
Howdy Max! > Run: > > $ ls -l /bin/pinfo > $ cygcheck -c pinfo > > Post the output of those 2 commands here, and we'll try to help. $ ls -l /bin/pinfo ls: /bin/pinfo: No such file or directory $ cygcheck -c pinfo Cygwin Package Information Package Version pinfo 0.6.6

RE: installing pinfo

2003-02-02 Thread Robert Mark Bram
Howdy Elfyn and Igor, > > As far as setup (cygcheck) is concerned you have pinfo > installed but it's > > not working (corrupt, unknown?).Double check your path (PATH > env. variable) > > is set-up correctly, just a thought before you re-install. If > cygwin (your > > PATH env. variable) is set-up

nmake for cygwin?

2003-11-19 Thread Robert Mark Bram
Howdy All! Is there an nmake for cygwin? I looked it up in setup.exe under the development category but could not find one. Would there be a reason to use nmake over make anyway? (I have a makefile that failed under 'make' and the readme said to use nmake..) Rob :) -- Robert Mark B

Continue command to new line

2002-03-12 Thread Robert Mark Bram
Howdy all! Is there a way to split up commands issued on the prompt so that they can be spread over more than one line? Thanks! Rob :) :-} ;-> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http:

Continue command to new line

2002-03-12 Thread Robert Mark Bram
Howdy all! Is there a way to split up commands issued on the prompt so that they can be spread over more than one line? Thanks! Rob :) :-} ;-> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://c

IO Redirection

2002-03-13 Thread Robert Mark Bram
Howdy all! I have a question about IO redirection. > file redirect standard output to file 2> file redirect error output to file &> file redirect error and standard output to file >> file append standard output to file How do I append error output

Re: IO Redirection

2002-03-13 Thread Robert Mark Bram
;>>file" appends both. > > Why is that not obvious ? This is why: Robert Mark Bram@DIJONG ~ $ ls errors script1 script2 temp Robert Mark Bram@DIJONG ~ $ ls &>> temp bash: syntax error near unexpected token `&>>' Robert Mark Bram@DIJONG ~ $

chmod on WIn 2K

2002-03-13 Thread Robert Mark Bram
Howdy all! I am using Cygwin on a Windows 2000 machine. It is the case that chmod should work like this because I am on a Windows machine? Robert Mark Bram@DIJONG ~/cpe3007/week2 $ ls -l total 7 -rw-r--r--1 Robert M None 64 Mar 13 22:19 days -rw-r--r--1 Robert M None

terminal is not fully functional

2002-03-17 Thread Robert Mark Bram
Hi all! I am using Windows 2K. A couple of days ago I changed start button | settings | control panel | passwords and users | clicked on my id | properties | changed my username from "Robert Mark Bram" to "RobertMarkBram". I noticed that when I rebooted and started

RE: terminal is not fully functional ***Rootdir problems***

2002-03-17 Thread Robert Mark Bram
Howdy all! I am running Cygwin on Win2K and I have also installed Rational Rose. When installed, Rational Rose changed my rootdir variable to this: ROOTDIR='C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT' I looked in that directory and it has quite a few files.. So what do I do? It seems that both Ros

RE: terminal is not fully functional ***Rootdir problems***

2002-03-18 Thread Robert Mark Bram
Howdy and thanks for the response! I have changed ROOTDIR so it is now "C:\cygwin" but I am still getting these problems: When I run Cygwin it is putting me in a home directory of "/cygdrive/c" (not my user directory) and some of my commands are not working. For example: Rob

RE: terminal is not fully functional ***Rootdir problems***

2002-03-18 Thread Robert Mark Bram
d no effect! >| When I run Cygwin it is putting me in a home directory of "/cygdrive/c" (not >| my user directory) and some of my commands are not working. For example: >| Robert Mark Bram@DIJONG ~ >| $ pwd >| /cygdrive/c > Check the cygwin.bat file, I think you will se

RE: terminal is not fully functional ***Rootdir problems***

2002-03-18 Thread Robert Mark Bram
ncurses6 5.2-8 >ncurses 5.2-8 I tried this, with the following output: Robert Mark Bram@DIJONG ~ $ cygcheck --check-setup | grep ncurses libncurses5 5.2-1 libncurses6 5.2-8 ncurses 5.2-8 Robert Mark Bram@DIJONG ~ $ What does ncurses do?? Creative error mes

RE: terminal is not fully functional ***Rootdir problems***

2002-03-18 Thread Robert Mark Bram
Perfect! Some massaging in the batch file and I can keep Rose happy too.. Thank you Andrew and Oleg for your advice! Rob :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html

Start up script

2002-03-18 Thread Robert Mark Bram
Hi all! Today I have spent a few hours debugging cygwin.bat which starts up Cygwin and runs DOS commands. How can I set up a starting script that will be run in Cygwin? Thanks! Rob :) :-} ;-> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cy

RE: Start up script

2002-03-18 Thread Robert Mark Bram
Andrew Markebo Sent: Tuesday, 19 March 2002 2:18 AM To: Robert Mark Bram Cc: Cygwin Subject: Re: Start up script | How can I set up a starting script that will be run in Cygwin? Eh exactly what do you want?? A starting script that will be run in cygwin, you mean you want to doubleclick a .sh

Not all mans available

2002-03-18 Thread Robert Mark Bram
Hi all! When I try "man read" or "man diff" I am told by Cygwin "No manual entry for read" or "No manual entry for diff". Was there a setup option with Cygwin I didn't include in order to get all the manuals? Is there a way for to download them? Thanks! Rob :) :-} ;-> -- Unsubscribe info:

RE: Not all mans available

2002-03-19 Thread Robert Mark Bram
Hi Mark! >So I guess that the right thing to do would be for the >postinstall script for each package that includes info files >to run install-info. Looks like many don't, including diff >which doesn't have any postinstall script. So as a work >around you'll have to build the dir file yourself.

Emacs for cygwin?

2002-03-20 Thread Robert Mark Bram
Hi all! I just visited the archives and cygwin.com and could not get any positive hit, but this seems like such an important utility. Is it true there is no emacs for Cygwin? Thanks! Rob :) :-} ;-> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http

RE: Emacs for cygwin?

2002-03-20 Thread Robert Mark Bram
I take that back - I have found references to Emacs, but can anyone point me in the right direction for a download site (hopefully with a few instructions)? Thanks! Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Mark Bram Sent: Wednesday

CC and GCC etc

2002-04-07 Thread Robert Mark Bram
Howdy all! I have been trying to make some files and encountered an error message indicating "cc" could not be found. Someone suggested to me that I should make sure that: (a) GCC is installed on your machine (b) make is installed on your machine (c) the development packages for libc, plus graph

RE: CC and GCC etc

2002-04-07 Thread Robert Mark Bram
Hi Lapo! >> I have been trying to make some files and encountered an error message >> indicating "cc" could not be found. Someone suggested to me that I should >> make sure that: >> >> (a) GCC is installed on your machine > >Well if you nistalled GCC then just use GCC and not CC... >Or else creat

RE: CC and GCC etc

2002-04-07 Thread Robert Mark Bram
Thankyou Lapo! I thought I had installed everything but you showed me up on that count. Slowly I learn.. Thank you again! Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lapo Luchini Sent: Monday, 8 April 2002 1:06 AM To: Mailing List: CygWin Subj

Math working on command line but not in script

2003-09-22 Thread Robert Mark Bram
Howdy All! I have a small script called maths.sh with the following code in it: #/usr/bin/bash count=0 echo $count count=$(( $count + 1 )) echo $count count=$(( $count + 1 )) echo $count count=$(( $count + 1 )) echo $count count=$(( $count + 1 )) echo $count When I run the instructions directly

RE: Math working on command line but not in script

2003-09-23 Thread Robert Mark Bram
Howdy Alexander! > You misspelled the first line, should be > #!/usr/bin/bash Well, now I feel plain silly! Thanks for the answer! Rob :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cyg

running cygwin bash scripts from apache

2006-08-05 Thread Robert Mark Bram
Hi All, I have Apache and Cygwin. I would like to run bash scripts from Apache, but am unsure as to how to do it. Do I need to configure Apache for this at all? I have seen some posts on the newsgroups that suggest I just need to have a script that references bash through the shebang line. This i

Re: running cygwin bash scripts from apache

2006-08-06 Thread Robert Mark Bram
Thank you Rene and Max for your replies. Rene's response did the trick: > Did you put the script in Apache's cgi-bin directory? Once I put it there, the script works ok. Much to my relief. Thanks for the tip that I can configure Apache to run scripts from other places to - that might come in h

No History!

2004-11-06 Thread Robert Mark Bram
for any advice! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy Student School of Network Computing Faculty of Information Technology Monash University Peninsula Campus McMahons

Re: No History!

2004-11-06 Thread Robert Mark Bram
solved - I had somehow removed my home directory.. All solved now. :) Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy Student School of Network Computing Faculty of

X desktop?

2004-11-06 Thread Robert Mark Bram
ui apps I have remotely that are very useful. Thanks for any advice! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy Student School of Network Computing Faculty of Information T

X desktop?

2004-11-07 Thread Robert Mark Bram
some gui apps I have remotely that are very useful. Thanks for any advice! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy Student School of Network Computing Faculty of In

Grep for tab character

2005-02-19 Thread Robert Mark Bram
Hi All! I cannot seem to use grep for tabs. Here is what I have tried.. This shows that there are tabs in the file test.txt: Robert Mark Bram - /tmp $cat test.txt | sed s/[\\t]/tab/g tabdr tabHow tabHow tabHow tabHow How How And these lines show how I am trying to grep for tab, but with no luck

Re: Grep for tab character

2005-02-19 Thread Robert Mark Bram
t idea for scripts either - it can be difficult to visually discriminate a tab from a space character, which can too easily lead to errors. Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor o

Error on make expat-1.95.8

2005-03-05 Thread Robert Mark Bram
/xmlparse.lo' is not a valid libtool object make: *** [libexpat.la] Error 1 Does anyone have any clues about this? Kind regards, Rob -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy St

Re: Error on make expat-1.95.8

2005-03-06 Thread Robert Mark Bram
g --run automake-1 .9 --gnu Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] [-l dir] [--localdir=dir] [--version] [template-file] automake-1.9: autoconf failed with exit status: 1 make: *** [Makefile.in] Error 1 11:55 PM /cygdrive/f/_oginals/textAdventures/zoom/zoom-1

Apache (for win) running bash script: ls

2006-08-07 Thread Robert Mark Bram
Hi All, When running a bash script under Apache 2.0.55 for Windows, are there any restrictions about accessing the file system? My first test is to do an ls and report the results: echo -e "Content-type: text/html\n\n" echo "" echo "" echo "" echo "pwd: `pwd`" echo "ls: `ls`" echo "ls .: `ls .`"

Re: How to resolve 'Your group is currently "mkpasswd"' message

2009-07-21 Thread Robert Mark Bram
Hi David, > Never mind. The strategy of using "-ldu" on mkpasswd along with "-ld" > on mkgroup is useful. We have 8 zillion users, but a much smaller > number of groups. The "mkgroup -ld" completed in just a few minutes. In a corporate environment (with domains), I run this: mkpasswd -l -c > /

install from install files?

2009-07-28 Thread Robert Mark Bram
Hi All, If I install Cygwin from the internet and copy the cygwin files to my USB, can I later install Cygwin on another machine from those files? Rob :) General Blog: http://robertmarkbram.blogspot.com/ Technical Blog: http://robertmarkbramprogrammer.blogspot.com/ Profile: http://www.google.com

Re: install from install files?

2009-07-28 Thread Robert Mark Bram
Thanks Dave, >> If I install Cygwin from the internet and copy the cygwin files to my >> USB, can I later install Cygwin on another machine from those files? > > As long as by "Copy the cygwin files", you mean the local package directory, > rather than the cygwin install tree, then yes. Just run

Re: install from install files?

2009-08-01 Thread Robert Mark Bram
> > Is there some way I can re-create one big setup.ini file from my current > > computer, and just have setup use that on the new computer ? > >  Yes.  The information about which packages you actually have installed lives > in /etc/setup/installed.db.  If you copy over the installed.db from the o

Re: Backgroud program uanble to go back

2009-08-01 Thread Robert Mark Bram
Hi Huang, > Cygwin 1.7.52 to 1.7.54 > After I use Ctrl+D to make a working vim background, the process will > not comeback with fg command. > I havn't test if other programs are the same. Feel free to slap me with a fresh sea bass if this is a new feature to 1.7, which I have not tried.. but isn'

!! results in -bash: syntax error near unexpected token `newline'

2009-08-02 Thread Robert Mark Bram
Hi All, Running "!!" or "!" gives me this: -bash: syntax error near unexpected token `newline' Any ideas what I can do about it? Thank you for any assistance! Rob :) General Blog: http://robertmarkbram.blogspot.com/ Technical Blog: http://robertmarkbramprogrammer.blogspot.com/ Profile: http:/

Re: !! results in -bash: syntax error near unexpected token `newline'

2009-08-03 Thread Robert Mark Bram
Hi Mark, >> Running "!!" or "!" gives me this: >> -bash: syntax error near unexpected token `newline' > > I'm assuming that the previous command you're trying to repeat worked > the first time with no such syntax error... Yeah, sorry - you are right. I tricked myself there! After a while I found