Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching from Run... does not produce a stand-alone login shell #47

Closed
GoogleCodeExporter opened this issue May 6, 2016 · 8 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open the Run... dialog
2. Enter C:\cygwin\bin\mintty.exe
3. Hit OK

What is the expected output? What do you see instead?
I expect a stand-alone login shell similar to executing mintty from a Bash
prompt.  Instead is a confused environment.

What version of the product are you using? On what operating system?
0.3.5.  Win2K

Please provide any additional information below.
Here is the output of the new window:
c:\Program Files\AdminTools\Resource Kit\sed.exe: can't read
/etc/bash_completion: No such file or directory
bash-3.2$

Ultimately, I'd like to be able to bind mintty to a key in Windows for
quick launching.  Presently I need to start a Cygwin shell, then run mintty
from inside that.  And then the parent Bash shell does not close its Window
on exit -- I need to manually close the window with [X] button.

Providing a -l or --login flag (or something similar) would be helpful to
provide the desired behavior.

Original issue reported on code.google.com by b.k.ox...@gmail.com on 29 Jan 2009 at 1:43

@GoogleCodeExporter
Copy link
Author

Perhaps this is an enhancement rather than a defect.

Original comment by b.k.ox...@gmail.com on 29 Jan 2009 at 1:44

@GoogleCodeExporter
Copy link
Author

Invoke mintty with '-' (a single minus sign) as argument to invoke your default 
shell
as a login shell. Alternatively, '/bin/bash -l' would do too. See 'mintty 
--help' for
other command line options.

Original comment by andy.koppe on 29 Jan 2009 at 6:35

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

Please change this to a documentation complaint.  The dash argument works 
great.  But
I did not easily find this in the documentation when I first searched for yet 
(before
filing this report).  You are right that I did not see the description in the 
--help
text.  I did look, though.  If the "Options:" list included the "-" flag in the 
list,
that would have aided me.

Original comment by b.k.ox...@gmail.com on 30 Jan 2009 at 3:51

@GoogleCodeExporter
Copy link
Author

Fair points. A manpage is in the works for 0.3.6.

How about including the dash like this in the help output? (It isn't an option 
as
such, because it has to be the last argument.)

  Usage: mintty [OPTION]... [- | COMMAND [ARGS]...]

Original comment by andy.koppe on 30 Jan 2009 at 6:33

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Changed usage message in r149 on 0.3 branch.

Original comment by andy.koppe on 7 Feb 2009 at 10:59

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by andy.koppe on 14 Mar 2009 at 2:53

  • Changed state: Verified

@GoogleCodeExporter
Copy link
Author

Much improved -- thanks!

Original comment by b.k.ox...@gmail.com on 17 Mar 2009 at 1:53

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

No branches or pull requests

1 participant