#1765 What I think is an improvement to msys.bat

MSYS
assigned
Cesar Strauss
msys.bat (3)
Task
none
Unknown
True
2013-02-13
2003-08-10
Russell Creel
No

Locates the starting drive, and directory, and switches
to it so that the shortcut does not have to start in the
msys directory. Also allows you to fire off msys from a
command line without passing the starting directory.

The improvement only works for windows_nt.

This was not as easy as I thought, since windows does
not provide variable expansion for all variables in all
cases. :(

Discussion

  • Russell Creel
    Russell Creel
    2003-08-10

    My idea of an improvement

     
    Attachments
  • Earnie Boyd
    Earnie Boyd
    2003-08-10

    Logged In: YES
    user_id=15438

    This isn't a patch file. Please use ``diff -u3p orig new''
    to supply the differences. Please also add a change entry
    at the bottom of the file.

    Have you tested on W9x?

    Earnie.

     
  • Earnie Boyd
    Earnie Boyd
    2003-08-10

    • status: open --> pending-invalid
     
  • Russell Creel
    Russell Creel
    2003-08-15

    • status: pending-invalid --> open-invalid
     
  • Russell Creel
    Russell Creel
    2003-08-15

    Logged In: YES
    user_id=841741

    Sorry I am new to this, I only wanted to email this update to
    someone at the MSYS website, but all contact links led here
    only so I posted my idea here. I wasn't so presumptions to
    think it was really so important to need to be posted like this.

    No I did not test it on win9x, as I don't have access to a
    win9x system. However, (unless I made an error) the
    changes should not be activated for Win9x as they are in the
    Windows_Nt section.

    Thanks for the info on Diff .. I'ld no idea that is how you
    create a patch file. The --help for diff wasn't elaborative
    enough for me to have found that out myself.

    I have attached the requested patch file.

     
  • Russell Creel
    Russell Creel
    2003-08-15

     
    Attachments
  • Earnie Boyd
    Earnie Boyd
    2013-02-13

    Ticket moved from /p/mingw/patches/161/

     
  • Earnie Boyd
    Earnie Boyd
    2013-02-13

    • labels: contributions --> msys.bat
    • status: open-invalid --> assigned
    • assigned_to: Cesar Strauss
    • milestone: --> MSYS
    • type: --> Task
    • resolution: --> none
    • category: --> Unknown
    • patch_attached: --> True
     
  • Earnie Boyd
    Earnie Boyd
    2013-02-13

    Cesar, is this still relevant?