On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson
<sierra_mtnv...@sbcglobal.net>wrote:

> Good. Thanks. Interesting that ls and pwd are used for Win, but that's
> fine. How do I copy parts of the window?  All I can do at the moment is
> sweep out a rectangular area with the mouse. It looks like I
> underestimated the need for  automagic.
>


Copy and paste from a Windows command shell is different that copy and paste
from *nix command shell.

Right-click in the command window
Choose Mark from the drop-down menu
Select the (rectangular) region of text you want to copy.
Hit Return.

That does a copy operation.  Then go to your other application, and paste
however you like.




>
> David Arnold wrote:
> > Depends on whether "automagic" is enabled or not. If automagic is OFF,
> > you  need to enter the %, as in %cd. If automagic is ON (the default),
> > then you don't need to enter the %, as in cd.
> >
> > automagic can be toggled on and off as follows:
> >
> > In [8]: automagic
> >
> > Automagic is OFF, % prefix IS needed for magic functions.
> >
> > In [9]: %automagic
> >
> > Automagic is ON, % prefix NOT needed for magic functions.
> >
> > On my mac, I can change to my "home" directory as follows:
> >
> > In [10]: cd
> > /Users/darnold
> >
> > I can list the files in this directory with:
> >
> > In [11]: ls
> > Desktop/        Movies/            context/
> > Documents/        Music/            java.log.344
> > Downloads/        NetBeansProjects/    java.log.415
> > Dropbox/        Pictures/        luatex-cache/
> > Library/        Public/            matlab_crash_dump.344
> > LizThesis/        Sites/            matlab_crash_dump.415
> >
> > I can cd into my Sites folder with:
> >
> > In [12]: cd Sites
> > /Users/darnold/Sites
> >
> > I can get the current directory with:
> >
> > In [13]: pwd
> > Out[13]: '/Users/darnold/Sites'
> >
> > I can move up a directory level with:
> >
> > In [14]: cd ..
> > /Users/darnold
> >
> >
> > Hope this helps.
> >
> > D.
> >
> >
> > On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote:
> >
> >> I've seen the tutorial, but need something more. How do I know what
> >> folder I'm in? How do I move from where I am to, for example,
> >> C:\abc\def? So far I've tried various combinations like this:
> >>
> >> cd ..
> >> cd C:\
> >> pwd (yes, I know it's not windows)
> >>
> >> I tried %cd .., and that may have moved me but I seem to get back to the
> >> same place.
> >>
> >> I seem to be in  C:\Documents and Settings\administrator. If I doa %cp
> >> ..\\ it looks like I get to C:\, but follwing that with pwd gets me back
> >> to where I started--C:\Documents and Settings\administrator.
> >>
> >> If I want to execute a program with %run, I need to be where abc.py is
> >> or, perhaps say something like %run C:\myPyPrograms\abc.py.
> >> Dir doesn't work and I haven't been able to even see what's in the
> >> folder.
> >>
> >>
> >> --
> >>           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
> >>
> >>             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
> >>              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet
> >>
> >>             "... humans'innate skills with numbers isn't much
> >>              better than that of rats and dolphins."
> >>                       -- Stanislas Dehaene, neurosurgeon
> >>
> >>                    Web Page: <www.speckledwithstars.net/>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >>
> >> Join us December 9, 2009 for the Red Hat Virtual Experience,
> >> a free event focused on virtualization and cloud computing.
> >> Attend in-depth sessions from your desk. Your couch. Anywhere.
> >> http://p.sf.net/sfu/redhat-sfdev2dev
> >> _______________________________________________
> >> Matplotlib-users mailing list
> >> Matplotlib-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
>
> --
>           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>
>             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
>              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet
>
>             "... humans'innate skills with numbers isn't much
>              better than that of rats and dolphins."
>                       -- Stanislas Dehaene, neurosurgeon
>
>                    Web Page: <www.speckledwithstars.net/>
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to