The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
71 views

MSYS2 home folder: show ~

I've just installed MSYS2, and to have it use my Windows user folder as $HOME, I put this in /etc/bash.bashrc: HOME=$USERPROFILE And that works fine when I just run cd, except the prompt doesn't ...
2
votes
1answer
54 views

Add “Open MSYS terminal here” in the Windows right click context menu?

In Windows file explorer,if I hold shift + right-click on a folder (in a folder too) I can choose to Open command window here. I'd really like to add an Open MSYS terminal window here to the popup ...
1
vote
0answers
37 views

Why do MinGW and MSYS have separate versions of gcc?

This is my understanding of the relationship between MinGW and MSYS. When installing MinGW and its gcc toolchain, installing MSYS is optional. With MSYS installed, you get bash and a few other tools ...
0
votes
1answer
23 views

Print Windows mapping of root path in MSYS Bash

In MSYS Bash I get: $ cd ~ $ pwd /c/Users/antonio but: $ cd / $ pwd / Can I get the full Windows absolute path from Bash?
0
votes
0answers
40 views

running programs from MSYS with quotes

I'm trying to execute non-MSYS program from within MSYS. But MSYS (bash) doesn't work as expected. I'm running commands and see what procmon has to say about command line passed: >cmd /c ""cmd" /c ...
0
votes
1answer
32 views

Running hstart from MSYS

I'm trying to automate some things on my computer. And here's what I ran into. I'm running this command from MSYS prompt: hstart /elevate "cmd /k netstat -anb" First a message box with title ...
1
vote
1answer
41 views

Modifying msys privileges on windows 7

How do I run a cmd.exe command in msys as a superuser? I am the only user on my laptop and have full administrative privileges once I login. I assumed I did when I fired up an msys shell, but ...
1
vote
2answers
548 views

MinGW MSYS ssh error: Could not create directory '/home/<username>/.ssh'

I have just installed a fresh MinGW installation on Windows 7 64bit using the Graphical User Interface Installer (the recommended approach) following the instructions given here and keeping the ...
1
vote
1answer
198 views

my msys2 home has moved from a linux like one to a windows like one. How to restore it?

I have installed MSYS2. First, I had my HOME in /home/Laurent, / being c:/msys64 in Windows. Then I made different thinks, install Mingw, CMake, and especially msysgit, which has its own MSYS setup. ...
0
votes
1answer
300 views

git clone fails with “bad object” under msys2 in a VM

When I try to git clone a github project under my Windows 7 - MSYS2 VirtualBox VM, it fails: laurent@Win7 ~/Dev $ LANG="en" GIT_TRACE="1" git clone git://github.com/nanomsg/nanomsg.git trace: ...
0
votes
2answers
179 views

rsync on Windows not transferring large files

I'm noticing a strange issue where rsync isn't transferring large (approx >3GB) files. I'm running MSYS rsync and I'm transferring on my LAN from my Windows box to my Linux based NAS over ssh. Most of ...
1
vote
0answers
169 views

PATH variable - System vs User - why is it dangerous to modify System PATH on Windows?

While installing MinGW, the users are warned about making changes to the System PATH variable: You should not alter the system path variable in any manner, or you will cause all sorts of problems ...
0
votes
1answer
88 views

Restricting MSYS (Bash) auto-completion to current directory

I'm using MSYS on Windows 7 and I really enjoy the TAB auto-completion feature of the bash console. However it appears that this feature queries all directories in Windows' $PATH variable, requiring ...
0
votes
0answers
30 views

Mount c: on /C:/ possible?

My problem is that a java build tool 'play' (a derivation of sbt) can't resolve its configuration files with msys. > play ...
1
vote
0answers
225 views

Using the msysgit shell in Emacs for windows

I am relativley new to Emacs and am trying to setup emacs, to allow the following command to open the msysgit shell. M-x bash-shell I have added following snippet to my init.el. (defun bash-shell ...
1
vote
0answers
45 views

Msys cd .. command takes me to home directory instead of parent

I'm using Msys on Windows 7 with what I believe to be a Bash shell. I want to navigate the following directory structure: Drive (M:) +--- Coding +--- CPP +--- projects +--- ...
3
votes
3answers
246 views

How to escape files containing special characters like -, or spaces

The contents of a directory: $ ls -l total 122639 -rw-r--r-- 1 125578080 Aug 20 17:47 - Diana Krall, Stan Getz & Oscar Peterson.7z drwxr-xr-x 4 4096 Aug 20 18:02 Java I wish to use the ...
4
votes
2answers
790 views

Start MSYS in current folder

I have MinGW/MSYS on Windows, and can't figure how to start MSYS shell in folder I'm working in. For example, in Windows console I'm working in folder c:\temp and if I call MSYS (msys.bat) it opens ...
1
vote
1answer
120 views

Windows SymLink Questions: How do I tell if a file is symlinked /

I'm not exactely sure how to phrase my questions, I'll describe what I'm doing, perhaps my misconceptions will show. I'm on windows 7. I symlinked files that I'm working on in a project to a sandbox ...
0
votes
1answer
332 views

How to set history length for msys?

On my Debian VM I'm setting the $HISTSIZE and $HISTFILESIZE (and other history related environment variables) on system start / profile load: ~/.profile export HISTSIZE=100000 export ...
2
votes
0answers
119 views

msys-1.0's dd on windows

msys-1.0 (MinGW) has an implementation of dd usable on windows (dd.exe) but windows does not have file representations of drives to use with dd. Or does it? Afaik dd operates on files. Is there a way ...
2
votes
2answers
939 views

Can Mingw32/Msys run dos/cmd.exe executables without screwing up the arguments?

I'm trying to run growlnotify.exe from a Windows bash prompt. Recompiling it for mingw32 isn't a good option for me. growlnotify works if I use it from the cmd prompt, but it fails (mostly) from the ...
0
votes
1answer
131 views

MsysGit gets differend look&feel depending on, how it is called

When I start msysgit (C:\msysgit\msysgit\msys.bat) from its directory, it has an other visual settings, as when I start it over a shortcut in the Quick Launch. Why? How can I change it?
1
vote
1answer
802 views

Use mklink in msys

I understand that Windows later-than-or-equal-to* Vista provides the mklink shell command. I'd like to make use of this from the Msys terminal. Any idea how? When I enter mklink on the msys terminal, ...
4
votes
1answer
878 views

How to run internal cmd command from the msys shell?

The Windows CMD utility has a number of internal commands, such as mklink. How can they be used from the msys shell ? From CMD's documentation, the /c switch can be used to execute a command and ...
0
votes
1answer
1k views

Install mingw and msys to run c programs on windows

I installed MinGW by using mingw-get-inst-20111118.exe and it works but it is very slow! I don't want to install it online, I remember that I have previously installed MinGW and msys by using two ...
2
votes
1answer
122 views

Change colours on Msys

I like to use Msys for SSH (because Putty complicates matters with its non-standard ssh keys), but when I request a directory listing (ls) in an SSH session, subdirectories are listed in a blue colour ...
2
votes
2answers
119 views

Why doesn't MSYS grep take options from variable?

To set my default options for grep (from MSYS in Win7) to ignore object files and specific dirs, I exported GREP_OPTIONS to ~/.profile as follows: export GREP_OPTIONS='--exclude=*.{o,obj,pyc} ...
0
votes
1answer
164 views

MinGW interactive shell?

I see that MinGW shell launches with sh --login -i Another way to launch would be like this sh --login I know that -i is for interactive shell, but I am not seeing a difference between the two ...
1
vote
1answer
254 views

'unlink' command on msys

I'm executing a bootstrap on msys, but the process terminates with the message: ../bootstrap: line 199: unlink: command not found I am a bit surprised that the unlink command is not inherent in ...
6
votes
4answers
5k views

Making `#!/usr/bin/env python` work on Windows

I use Bash on Windows, provided by MSYS. I tried to run a Python file with a shebang of #!/usr/bin/env python, but I get this error message: /usr/bin/env: python: No such file or directory What ...
3
votes
2answers
664 views

Unicode-based POSIX tools (other than Cygwin) for Windows?

GNU Win32 and MSYS are awesome, but it seems like all of their tools use the ANSI version of the Windows API, rather than the Unicode versions. Obviously, those are meant for Windows 95 and 98, not ...
0
votes
2answers
780 views

mingw/msys with vi, ctags support?

I'm trying to run vim on win7 inside msys (which isnt entirely necessary, i know i can run gvim in windows, but i'd like to be able to use vi inside terminal) everything installs fine with mingw-get ...
1
vote
0answers
195 views

wget -nd (--no-directories) option not working as expected

I am using wget 1.12 (in msys if it makes a difference) and am trying to mirror a website with the -nd option, since the file and folder names on this site are very long. The docs state that ‘-nd’ ...
4
votes
1answer
761 views

How can I install GnuTLS in MinGW/MSYS?

I've installed MinGW and MSYS on my Windows XP machine and now I want to compile an application which requires the GnuTLS libraries. How do I install that package? I tried mingw-get install ...
2
votes
1answer
1k views

sh.exe and ls significantly slower than usual on MSYS bash and GIT

I use MSYS Git and have the MSYS shell installed. I run Windows XP. All of the sudden basic tasks like runnig ls take many many seconds (>7 seconds) in the Git Bash shell or in the MSYS shell. ...
1
vote
0answers
161 views

How to do a silent install of MSYS on WIndows XP

I have to install a set of development tools that includes MSYS 1.0.11 on a bunch of Windows XP boxes. Every other tool is built with MSI or can simply be untarred or unzipped to the relevant install ...
0
votes
2answers
721 views

MSYS: alias resets upon restarting MSYS console

Every time I reopen the MSYS console (not cmd.exe) I find that the aliases that I have added to the shell are cleared. How can I save my aliases so that I do not to reenter them on every use? For ...
9
votes
2answers
1k views

Is there a way to run git within Powershell?

Is there a way to run git within Powershell? I have a Windows 7 box with msysgit. I'd like to have a single shell to also run all my git commands as well as play around with Powershell scripting.
0
votes
2answers
415 views

How do I stop MSYS from transforming my compiler options?

Is there a way to stop MSYS/MinGW from transforming what it thinks are paths on my command lines? I have a project that's using nmake & Microsoft Visual Studio 2003 (yeecccch). I have the build ...
4
votes
1answer
1k views

Can't make nodejs mingw32: pkg-config can't find gnutils

I'm trying to compile nodejs using MSYS, mingw32 on Windows 7-64 Valentin Golev@VALYASNOTEBOOK /home/Valentin_Golev/nodejs $ ./configure Checking for program CL : ok C:\Program ...