tup screws up coloring on windows #87

Closed
ariovistus opened this Issue Nov 23, 2012 · 6 comments

Comments

Projects
None yet
2 participants
@ariovistus

in cmd, if the background color is changed from default or in powershell, well the default isn't black, after running tup upd subsequent text is printed on black background.

@gittup

This comment has been minimized.

Show comment
Hide comment
@gittup

gittup Nov 29, 2012

Owner

On Thu, Nov 22, 2012 at 9:06 PM, mylodon notifications@github.com wrote:

in cmd, if the background color is changed from default or in powershell,
well the default isn't black, after running tup upd subsequent text is
printed on black background.


Reply to this email directly or view it on GitHubhttps://github.com/gittup/tup/issues/87.

I changed it to restore the previous console settings before quitting. Tup
itself still uses a black background, but it shouldn't leave it that way
afterward. Does that work for you?

-Mike

Owner

gittup commented Nov 29, 2012

On Thu, Nov 22, 2012 at 9:06 PM, mylodon notifications@github.com wrote:

in cmd, if the background color is changed from default or in powershell,
well the default isn't black, after running tup upd subsequent text is
printed on black background.


Reply to this email directly or view it on GitHubhttps://github.com/gittup/tup/issues/87.

I changed it to restore the previous console settings before quitting. Tup
itself still uses a black background, but it shouldn't leave it that way
afterward. Does that work for you?

-Mike

@ariovistus

This comment has been minimized.

Show comment
Hide comment
@ariovistus

ariovistus Nov 30, 2012

don't know. on build it says it is missing win32.tup.

don't know. on build it says it is missing win32.tup.

@gittup

This comment has been minimized.

Show comment
Hide comment
@gittup

gittup Dec 1, 2012

Owner

On Thu, Nov 29, 2012 at 8:02 PM, mylodon notifications@github.com wrote:

don't know. on build it says it is missing win32.tup.


Reply to this email directly or view it on GitHubhttps://github.com/gittup/tup/issues/87#issuecomment-10874011.

Tup doesn't build natively on Windows - you should just be able to grab the
latest zip from the website: http://gittup.org/tup/win32/tup-latest.zip

-Mike

Owner

gittup commented Dec 1, 2012

On Thu, Nov 29, 2012 at 8:02 PM, mylodon notifications@github.com wrote:

don't know. on build it says it is missing win32.tup.


Reply to this email directly or view it on GitHubhttps://github.com/gittup/tup/issues/87#issuecomment-10874011.

Tup doesn't build natively on Windows - you should just be able to grab the
latest zip from the website: http://gittup.org/tup/win32/tup-latest.zip

-Mike

@ariovistus

This comment has been minimized.

Show comment
Hide comment
@ariovistus

ariovistus Dec 1, 2012

your fix works for me.

But I'd really like to be able to build tup myself. Are there instructions anywhere?

Also, is it possible to run the |> in here |> commands in powershell instead of cmd?

your fix works for me.

But I'd really like to be able to build tup myself. Are there instructions anywhere?

Also, is it possible to run the |> in here |> commands in powershell instead of cmd?

@gittup

This comment has been minimized.

Show comment
Hide comment
@gittup

gittup Dec 14, 2012

Owner

On Sat, Dec 1, 2012 at 3:00 PM, mylodon notifications@github.com wrote:

your fix works for me.

But I'd really like to be able to build tup myself. Are there instructions
anywhere?

Also, is it possible to run the |> in here |> commands in powershell
instead of cmd?


Reply to this email directly or view it on GitHubhttps://github.com/gittup/tup/issues/87#issuecomment-10921382.

Building locally on Windows hasn't been a priority for me. I build it on
linux by setting this in tup.config:

CONFIG_TUP_MINGW=i586-mingw32msvc

Then in addition to the tup Linux executable, it also generates tup.exe and
tup-dllinject.dll for Windows using i586-mingw32-msvc-gcc.

What is the benefit to running in powershell? You might be able to do it
explicitly if you list powershell in the command:

: |> powershell run.bat |>

(maybe there are some flags involved - tup uses CMD.EXE /Q /C, for example).

There was some talk of allowing the shell to be more configurable in
Windows, since right now it uses a heuristic to determine whether to just
spawn the process, run in cmd.exe, or run in the bourne shell. I don't
think that ever became a concrete plan, though, and I'm not sure how to
best approach it myself.

-Mike

Owner

gittup commented Dec 14, 2012

On Sat, Dec 1, 2012 at 3:00 PM, mylodon notifications@github.com wrote:

your fix works for me.

But I'd really like to be able to build tup myself. Are there instructions
anywhere?

Also, is it possible to run the |> in here |> commands in powershell
instead of cmd?


Reply to this email directly or view it on GitHubhttps://github.com/gittup/tup/issues/87#issuecomment-10921382.

Building locally on Windows hasn't been a priority for me. I build it on
linux by setting this in tup.config:

CONFIG_TUP_MINGW=i586-mingw32msvc

Then in addition to the tup Linux executable, it also generates tup.exe and
tup-dllinject.dll for Windows using i586-mingw32-msvc-gcc.

What is the benefit to running in powershell? You might be able to do it
explicitly if you list powershell in the command:

: |> powershell run.bat |>

(maybe there are some flags involved - tup uses CMD.EXE /Q /C, for example).

There was some talk of allowing the shell to be more configurable in
Windows, since right now it uses a heuristic to determine whether to just
spawn the process, run in cmd.exe, or run in the bourne shell. I don't
think that ever became a concrete plan, though, and I'm not sure how to
best approach it myself.

-Mike

@ariovistus

This comment has been minimized.

Show comment
Hide comment
@ariovistus

ariovistus Dec 14, 2012

Then in addition to the tup Linux executable, it also generates tup.exe and tup-dllinject.dll for Windows using i586-mingw32-msvc-gcc.

Great, that should be easy enough.

What is the benefit to running in powershell?

idk, more commands available in general, aliases mirroring linux commands built in

Then in addition to the tup Linux executable, it also generates tup.exe and tup-dllinject.dll for Windows using i586-mingw32-msvc-gcc.

Great, that should be easy enough.

What is the benefit to running in powershell?

idk, more commands available in general, aliases mirroring linux commands built in

@gittup gittup closed this Sep 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment