Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.perl.misc > #8581

Re: I'd like to try Perl...

Newsgroups comp.lang.perl.misc
Subject Re: I'd like to try Perl...
References <kndaie$j7q$1@news.albasani.net> <d9ac9117-18c9-4114-ad7a-612c23ba1dd5@dk8g2000vbb.googlegroups.com> <MPG.2c057fe1b0af9e4b989779@news.eternal-september.org> <kr02ei$bv7$1@reader2.panix.com>
From Ben Morrow <ben@morrow.me.uk>
Organization morrow.me.uk
Date 2013-07-03 11:48 +0100
Message-ID <n4cdaa-jjs1.ln1@anubis.morrow.me.uk> (permalink)

Show all headers | View raw


This is completely OT, but...

Quoth dkcombs@panix.com (David Combs):
> 
> Sorry, I use cygwin (via *shell* in emacs), but I don't know
> what this "cygwin terminal" is.  I probably would benefit
> from it!

I believe it's just a cmd window running a Cygwin shell.

> One problem I have is getting the *cygwin* shell stuff to work:
> (this is from some time ago, so I might have forgotten
> a bit of what I did):
> 
>   I (thought I) found that if I wanted to use pipes, variables,
>   etc within a cygwin shell (sh, tcsh (I believe), etc), then
>   I was required to use that horrible windows "cmd" black-and-white
>   window, which was really, really gross.

This is expected on Windows. Because Windows doesn't have ptys, and
makes some distinction between 'console' and 'gui' applications, and for
other reasons I can't remember, it's never worth using any sort of
terminal emulator other than cmd.exe. They just never work properly.

(And cmd isn't *that* bad, at least if you make the font a bit bigger.
It's not what I'd call pleasant, but it's not unusable.)

>   One problem I had was that I could not prepare IN EMACS a command
>   to execute there, and paste that command into that
>   horrible cmd window.  Could only type it in there by hand,
>   character by character. 
> 
>   Likewise, I think I recall, it was difficult or impossible
>   to "copy" text from within that window (for pasting elsewhere);
>   copying and pasting simply didn't work in cmd windows.

Copy and paste in cmd.exe are found on the right-click menu on the icon
in the top-left of the window. (Yes, this is weird.) Copying is a
two-step process: first choose right-click/Edit/Mark, then select the
text you want to copy, then right-click/Edit/Copy. IIRC you can't copy
more than one (visible) screenful at a time.

> And, generally, how do people run the cygwin shells?
>   In what environment?

I stay as far away from Cygwin as possible. IME it has all the bugs of
Windows plus a whole lot more of its own.

> Question: how do they get the full features of one
>   of those shells to work, within emacs?  Within, say,
>   *shell* or *eshell*?

They don't. It can't be done on Windows, since there aren't any ptys.

Ben

Back to comp.lang.perl.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

I'd like to try Perl... Peter Percival <peterxpercival@hotmail.com> - 2013-05-20 15:04 +0100
  Re: I'd like to try Perl... "Dr.Ruud" <rvtol+usenet@xs4all.nl> - 2013-05-20 16:50 +0200
  Re: I'd like to try Perl... Marc Girod <marc.girod@gmail.com> - 2013-05-20 12:44 -0700
    Re: I'd like to try Perl... Peter Percival <peterxpercival@hotmail.com> - 2013-05-20 21:02 +0100
    Re: I'd like to try Perl... John Black <jblack@nospam.com> - 2013-05-21 13:58 -0500
      Re: I'd like to try Perl... dkcombs@panix.com (David Combs) - 2013-07-03 02:31 +0000
        Re: I'd like to try Perl... Ben Morrow <ben@morrow.me.uk> - 2013-07-03 11:48 +0100
          Re: I'd like to try Perl... pepa <papa.pearl@suomi24.fi> - 2013-07-03 18:10 +0300
            Re: I'd like to try Perl... Ben Morrow <ben@morrow.me.uk> - 2013-07-03 17:45 +0100
              Re: I'd like to try Perl... pepa <papa.pearl@suomi24.fi> - 2013-07-03 23:30 +0300
              Re: I'd like to try Perl... tmcd@panix.com (Tim McDaniel) - 2013-07-12 02:04 +0000
                Re: I'd like to try Perl... Ben Morrow <ben@morrow.me.uk> - 2013-07-12 14:47 +0100
                Re: I'd like to try Perl... tmcd@panix.com (Tim McDaniel) - 2013-07-12 15:57 +0000
          Re: I'd like to try Perl... Jürgen Exner <jurgenex@hotmail.com> - 2013-07-03 08:16 -0700
          Re: I'd like to try Perl... John Black <jblack@nospam.com> - 2013-07-04 22:12 -0500
        Re: I'd like to try Perl... John Black <jblack@nospam.com> - 2013-07-04 22:10 -0500
    Re: I'd like to try Perl... Peter Percival <peterxpercival@hotmail.com> - 2013-05-22 12:21 +0100
  Re: I'd like to try Perl... Ben Morrow <ben@morrow.me.uk> - 2013-05-21 01:23 +0100
  Re: I'd like to try Perl... Peter Percival <peterxpercival@hotmail.com> - 2013-05-24 18:52 +0100
    Re: I'd like to try Perl... Ben Morrow <ben@morrow.me.uk> - 2013-05-24 19:34 +0100
    Re: I'd like to try Perl... Jürgen Exner <jurgenex@hotmail.com> - 2013-05-24 12:11 -0700
      Re: I'd like to try Perl... Peter Percival <peterxpercival@hotmail.com> - 2013-05-24 20:16 +0100
        Re: I'd like to try Perl... Ben Morrow <ben@morrow.me.uk> - 2013-05-24 22:06 +0100
  Re: I'd like to try Perl... johannes falcone <visphatesjava@gmail.com> - 2013-06-07 11:03 -0700

csiph-web