public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Keith Christian <keith1christian@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygwin console software
Date: Tue, 07 Mar 2017 14:11:00 -0000	[thread overview]
Message-ID: <CAFWoy7Evnj4WDk+=i9xBr3qSrq0AX4PMhV2jWudBjdOTkSSSkg@mail.gmail.com> (raw)
In-Reply-To: <20170227064131.GA27699@phoenix>

Until a few months ago, I used PuttyCyg.  It worked really well, and
still does, and I used it for perhaps 10 years.

In the past few months, I've been using Tera Term, which has a Cygwin
mode that works just like MinTTY and PuttyCyg with the few differences
I've noticed:

1--------PuttyCyg and other terminals allow copying text by holding
down the SHIFT key and selecting with the left mouse button.  Tera
Term does not.  The workaround is to click File / View Log from the
Tera Term Cygwin terminal window, which loads the scrollback buffer
into an editor, and then cut/paste from there.

The editor to use for (File / View log) is configured in this section
of /cygdrive/c/Program Files (x86)/teraterm/TERATERM.INI file:

        ; Viewlog Editor path
        ; ViewlogEditor=C:\Program Files (x86)\Vim\vim74\gvim.exe
        ViewlogEditor=C:\Program Files\jEdit\jedit.exe

I settled on Jedit for this.  While Gvim is a great editor, it is not
quite so convenient to copy/paste from as the other Windows editors
(unless you use MSWin mode.)  Notepad, Notepad++, Microsoft Word, or
other text editors work too in the ViewlogEditor field.

2--------Tera Term Cygwin can log to disk as PuttyCyg and MinTTY do,
but it can add timestamps to the logs, making it easy to see how long
a process runs or a procedure takes.  On *nix there is the "time"
command of course, but, this gives a timeline of a whole session.

3--------Tera Term Cygwin strips EOL markers from pasted text so if
you're pasting at a prompt, the command won't run away from you until
you press RETURN.  It also pops up a window with the clipboard
contents as a quick verification that you're about to paste what you
THINK you're about to paste.  How many of us have been surprised when
we pasted 10 to 20 lines at the command prompt unexpectedly when we
THOUGHT we'd copied a single word or line?  (Setup / Additional
Settings.)

There are differences in other emulators and Tera Term Cygwin,  but
these are the ones I consider most important, it's been a good
performer for the past few months for me.


Keith

On Sun, Feb 26, 2017 at 11:41 PM, Gary Johnson <garyjohn@spocom.com> wrote:
> On 2017-02-27, Goodman Leung wrote:
>> Hi list
>>
>> Minty is go hard to copy ,
>>
>> Is there any other console software for Cygwin ?
>
> Do you mean that it is hard to copy and paste text to and from
> mintty?  I have no trouble at all using it.  I don't think there is
> anything better--or as good--for Cygwin.
>
> Can you describe the problem you're having in more detail?  Maybe we
> can find a solution.
>
> Regards,
> Gary
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

      reply	other threads:[~2017-03-07 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27  1:53 Goodman Leung
2017-02-27  6:42 ` Gary Johnson
2017-03-07 14:11   ` Keith Christian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFWoy7Evnj4WDk+=i9xBr3qSrq0AX4PMhV2jWudBjdOTkSSSkg@mail.gmail.com' \
    --to=keith1christian@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).