Re: Mintty versus xterm colors in Vim

2010-08-13 Thread JOHNER Jean 066030
On 12 August 2010 19:56, Andy Koppe wrote: Looks like vim automatically enables 256-color mode in xterm. Invoke vim with TERM=xterm-256color to enable it in mintty too. (You can set that variable on the 'Output' page of mintty's options. Requires a restart of mintty to take effect.)

Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread JOHNER Jean 066030
Hello, Please do the following: 1/ Start a standard cmd console Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with vim -u NONE file1 Result: file1 opens with a block cursor. If insert mode is activated, the cursor changes to underscore (nice) 2/ Launch cygwin.bat Launch

Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread JOHNER Jean 066030
On 13 August 2010, Andy Koppe wrote: No, but I'm sure a patch implementing the DECSCUSR control sequence using SetConsoleCursorInfo() would be welcome. (Copyright assignment required.) I guess this patch is not in Vim code (which is able to do the job in a normal cmd console window) but

Mintty versus xterm colors in Vim

2010-08-12 Thread JOHNER Jean 066030
Hello, Consider a .vimrc containing only the following line: syntax on Consider the following test.f fortran file: __ c Version 1.0 *deck main c Following comments when not preceded by a blank line character

RE: How to launch an xterm using Monospace font

2010-08-10 Thread JOHNER Jean 066030
Brian Timares wrote: Jean, I think this is what you want. I have: XTerm*font: -*-courier-medium-r-*-*-*-100-*-*-*-*-*-* in my .Xdefaults Other than colors, here is my .Xdefaults (in my home directory, natch): XTerm*scrollBar: on XTerm*saveLines: 9 XTerm*font:

Re: Using konsole in Cygwin

2010-08-06 Thread JOHNER Jean 066030
On Thu, 5 Aug 2010, Thomas Dickey wrote: iirc, cygwin has xterm, rxvt and rxvt-unicode which are very nice tools. And also Mintty which is great. But console has also interesting features (multiple shells in the same window in different tabs for example). From your answer, I conclude that

Re: How to launch an xterm using Monospace font

2010-08-06 Thread JOHNER Jean 066030
On Thu, 5 Aug 2010, Thomas Dickey wrote: I would like to launch an xterm terminal using Monospace font. Monospace is the font used by default by gvim. I tried: xterm -fn Monospace xterm -fa Monospace is perhaps what you meant. Thank you for your quick answer. xterm -fa Monospace gives no

Re: How to launch an xterm using Monospace font

2010-08-06 Thread JOHNER Jean 066030
On Fri, 6 Aug 2010, Thomas Dickey wrote: If you try xterm -fa foobar you also get the same result, for any foobar string. That sounds as if the strings you're giving don't match the available font family names. If you have fc-list, it can give a list of names. fc-list results in many fonts

How to launch an xterm using Monospace font

2010-08-05 Thread JOHNER Jean 066030
Hello, I would like to launch an xterm terminal using Monospace font. Monospace is the font used by default by gvim. I tried: xterm -fn Monospace which gives an error message. Thank you for your help. Jean Johner -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Using konsole in Cygwin

2010-08-05 Thread JOHNER Jean 066030
Hello, I often connect to a KDE Linux server so that I am familiar with konsole. I tried the konsole command on Cygwin, which is unknown. Is there a way to use KDE console on Cygwin. Sorry if my questions look too much elementary. I am new to Cygwin. Do not hesitate to redirect me towards FAQs or

Re: About mouse selection in a cmd console

2010-08-05 Thread JOHNER Jean 066030
On 4 August 2010 18:46, Andy Koppe wrote: This flag ensures that mouse events, including right clicks, are placed into the console input buffer rather than triggering window actions. That's in case an application activates xterm-style mouse reporting. Yep, the Cygwin console driver does indded

Re: Is there a difference between bash --login and bash --login -i

2010-08-03 Thread JOHNER Jean 066030
1/ Thank you, Eric for your precisions. 2/ On Mon, Aug 2, 2010 at 23:25, Dave Hylands wrote: I've always just created a shortcut with a Target of C:\cygwin\bin\bash.exe --login -i and set Start in to be the directory I want to start things in. For me, the above method always starts in the

About mouse selection in a cmd console

2010-08-02 Thread JOHNER Jean 066030
On 29 July 2010 12:16, Andy Koppe wrote: Mouse selection works (it does not with DOS) Actually mouse selection does work in the console, but it is somewhat, erm, challenging ... . Try 'Mark' from the context menu. Enable 'Quick Edit' in the console properties to make it almost bearable.

How to inactivate CTRL-S hold in a Mintty bash session or ssh connection

2010-08-02 Thread JOHNER Jean 066030
Hello, Typing CTRL-S in a Mintty bash session has the effect of holding it until CTRL-Q is typed. It happens that CRTL-S is also the Windows standard for saving a file (NotePad, WordPad, Office ...) so that it is mapped to :w in my .vimrc. Is there a way to inactivate this CTRL-S hold in Mintty.

Re: How to inactivate CTRL-S hold in a Mintty bash session or ssh connection

2010-08-02 Thread JOHNER Jean 066030
On 08/02/2010 13:25, Eric Blake wrote: Hello, Typing CTRL-S in a Mintty bash session has the effect of holding it until CTRL-Q is typed. It happens that CRTL-S is also the Windows standard for saving a file (NotePad, WordPad, Office ...) so that it is mapped to :w in my .vimrc. Is there

Is there a difference between bash --login and bash --login -i

2010-08-02 Thread JOHNER Jean 066030
Hello, The default Cygwin.bat uses bash --login -I while the default  rxvt-native shortcut uses bash --login. I do not see any difference in the behaviour of the bash shell in either case. Is there any? If not, why keep -i in Cygwin.bat? Best regards, Jean Johner -- Problem reports:

Re: Request for a thicker line cursor in Mintty

2010-08-01 Thread JOHNER Jean 066030
On 1 August 2010 09:43, Andy Koppe wrote: Turns out there's a global Windows setting for the cursor width, at Control Panel - Accessibility Options - Display (that's where it is in XP anyway). Trouble is, mintty doesn't support it, but fixing that will address the issue without having to

Re: Window shortcut to launch a Mintty login bash on a given directory

2010-08-01 Thread JOHNER Jean 066030
On 31 July 2010 15:00, Andy Koppe wrote: The window title is changed to the working directory as part of the shell prompt, i.e. the PS1 variable, which is set in /etc/profile. It's the initial part of it that does it: \[\e]0;\w\a\] So you could change PS1 to something more to your liking

Re: Window shortcut to launch a Mintty login bash on a given directory

2010-07-31 Thread JOHNER Jean 066030
On 29 July 2010 08:49, Andy Koppe wrote: I also tried to add C:\cygwin\home\User_name\foobar in the Start in box of the windows shortcut. With no effect. That was the right idea. The reason it didn't work is that /etc/profile changes back to your home directory, unless the variable

Re: Request for a thicker line cursor in Mintty

2010-07-31 Thread JOHNER Jean 066030
On 29 July 2010 21:33, Andy Koppe wrote: I use Mintty with the following options: Background: white, Foreground: black, Text: Fixedsys 9 pts, Cursor: line. With such options, vim with default unix .vimrc colors looks great in insert mode. However the cursor appears to be a little too thin in

RE: How to launch an rxvt terminal window with Monospace font

2010-07-29 Thread JOHNER Jean 066030
juillet 2010 16:13 À : cygwin@cygwin.com Objet : Re: How to launch an rxvt terminal window with Monospace font On 7/27/2010 9:04 AM, JOHNER Jean 066030 wrote: Hello, I am new to this mailing list. Sorry if my mail does not conform strickly to your standards. The default command to launch an rxvt

Window shortcut to launch a Mintty login bash on a given directory

2010-07-29 Thread JOHNER Jean 066030
Hello, Putting the following command line in a Windows shortcut opens a login bash in the /home/User_name directory (~): C:\cygwin\bin\mintty.exe -e bash --login Now I would like to do the same in the /home/User_name/foobar directory. I tried: C:\cygwin\bin\mintty.exe -e bash --login -c cd

RE: Window shortcut to launch a Mintty login bash on a given directory

2010-07-29 Thread JOHNER Jean 066030
a specified .rc file? Best regards Jean Johner -Message d'origine- De : JOHNER Jean 066030 Envoyé : jeudi 29 juillet 2010 09:50 À : 'cygwin@cygwin.com' Objet : Window shortcut to launch a Mintty login bash on a given directory Hello, Putting the following command line in a Windows shortcut

Re: Should mintty's copy-on-select option be on by default?

2010-07-29 Thread JOHNER Jean 066030
Cygwin is a Linux-like environment for Windows. All the Linux terminals (KDE konsole, Gnome terminal) use copy-on-select by default. So ... Jean JOHNER -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Request for a thicker line cursor in Mintty

2010-07-29 Thread JOHNER Jean 066030
Hello, I use Mintty with the following options: Background: white, Foreground: black, Text: Fixedsys 9 pts, Cursor: line. With such options, vim with default unix .vimrc colors looks great in insert mode. However the cursor appears to be a little too thin in my opinion (sometimes difficult to

How to launch an rxvt terminal window with Monospace font

2010-07-27 Thread JOHNER Jean 066030
Hello, I am new to this mailing list. Sorry if my mail does not conform strickly to your standards. The default command to launch an rxvt terminal is the following: C:\cygwin\bin\rxvt.exe -display :0 -fn Lucida Console-14 -tn rxvt-cygwin-native -e /bin/bash --login I would like to use

RE: How to launch an rxvt terminal window with Monospace font

2010-07-27 Thread JOHNER Jean 066030
@cygwin.com Objet : Re: How to launch an rxvt terminal window with Monospace font On 7/27/2010 9:04 AM, JOHNER Jean 066030 wrote: Hello, I am new to this mailing list. Sorry if my mail does not conform strickly to your standards. The default command to launch an rxvt terminal is the following