| Store | Cart

Re: New to python, do I need an IDE or is vim still good enough?

From: Tim Chase <pyth...@tim.thechases.com>
Fri, 04 Jan 2013 10:59:23 -0600
On 01/04/13 01:34, Anssi Saari wrote:
> Ben Finney <ben+...@benfinney.id.au> writes:>> And any decent Unix-alike (most OSen apart from Windows) comes with its>> own IDE: the shell, a good text editor (Vim or Emacs being the primary>> candidates), and a terminal multiplexor (such as ‘tmux’ or GNU Screen).>> Just curious since I read the same thing in a programming book recently> (21st century C). So what's the greatness that terminal multiplexors> offer over tabbed terminals? Especially for software development?>> For sure I use screen at the remote end of ssh connections where I don't> want the application like irssi to die if the connection goes down but> other than that?
The reattaching is a nice feature--especially since you can start 
some work in one location, then SSH into the box remotely and 
reattach, resuming where you left off.  Other nice things include

- if it's a remote machine, only connecting once.  This is more a 
factor if you need to enter a password, rather than using 
passwordless public/private key auth.  But even with passwordless 
key-pairs, you still have to type "ssh u...@host" rather than 
"{prefix key}c" to create a new connection on the same machine.

- the ability to monitor windows for activity/silence (at least GNU 
Screen offered this; I haven't dug for it yet in tmux which I'm 
learning).  This is nice for backgrounding a compile and being 
notified when it goes silent (usually means it's done) or watching a 
long-running quiet process to get notification when it finally has 
some output.  I used this feature a LOT back when I did C/C++ work.

- both offer the ability to do screen-sharing with other parties, as 
well as granting them various permissions (user X can watch but not 
interact with the session, while user Y can issue commands to the 
terminal as well) which is nice for remotely pair programming, or 
teaching somebody the ropes or troubleshooting.

- depending on your tabbed terminal windows, terminal multiplexors 
usually offer some split-screen abilities (last I checked, GNU 
Screen only offered horizontal splits; tmux had both vertical & 
horizontal splits).  As a Vim user (which doesn't have a way to 
include a terminal window inside Vim unless you rebuild it with 
unofficial patches), this allows me to have an editor in one 
{screen|tmux} window and a shell in the other and be able to see 
them together.  I don't use it much, but it's nice to have when I do 
need it.

- tmux offers the ability to transmit keyboard input to all 
linked/synchronized windows, so you can connect to multiple servers 
and then issue the same commands and they get run across all of 
them.  I believe Screen offers a similar ability to broadcast 
keystrokes to all windows, but with a clunkier interface.  Sort of a 
poor-man's "clusterssh".  I've not needed this one, but it's there 
in case you manage clusters or develop/deploy with them.


Those are just a few of the things that come to mind.  Some might be 
replicated by a tabbed terminal window; others less so.

-tkc



-- http://mail.python.org/mailman/listinfo/python-list
Recent Messages in this Thread
mogul Dec 27, 2012 08:01 pm
ian douglas Dec 27, 2012 08:13 pm
peter Dec 27, 2012 08:14 pm
Daniel Fetchinson Dec 27, 2012 08:16 pm
Alister Dec 27, 2012 08:23 pm
Terry Reedy Dec 27, 2012 08:57 pm
Walter Hurry Dec 27, 2012 09:16 pm
Tim Chase Dec 27, 2012 09:25 pm
Michael Torrie Dec 27, 2012 09:29 pm
Michael Torrie Dec 27, 2012 09:28 pm
Modulok Dec 27, 2012 11:30 pm
Cameron Simpson Dec 27, 2012 11:37 pm
Chris Angelico Dec 27, 2012 11:41 pm
TommyVee Dec 28, 2012 01:09 am
Roy Smith Dec 28, 2012 01:37 am
Steven DAprano Dec 28, 2012 04:15 am
Jamie Paul Griffin Dec 28, 2012 06:51 am
Andrew Berg Dec 28, 2012 09:52 am
Chris Angelico Dec 28, 2012 10:05 am
Yuvraj Sharma Dec 28, 2012 09:37 am
Jamie Paul Griffin Dec 30, 2012 02:15 pm
Neil Cerutti Jan 02, 2013 06:36 pm
Matty Sarro Jan 02, 2013 06:47 pm
Kwpolska Dec 28, 2012 10:27 am
gst Dec 28, 2012 12:08 pm
python培训 Dec 28, 2012 02:15 pm
Westley Martínez Dec 29, 2012 02:02 am
Chris Angelico Dec 29, 2012 06:40 am
Monte Milanuk Dec 29, 2012 05:44 pm
Chris Angelico Dec 29, 2012 06:07 pm
Mitya Sirenef Dec 29, 2012 07:00 pm
Steven DAprano Jan 01, 2013 03:46 am
Mitya Sirenef Jan 01, 2013 06:43 pm
Michael Torrie Jan 02, 2013 09:33 pm
Mitya Sirenef Jan 02, 2013 10:48 pm
Wayne Werner Jan 03, 2013 02:37 am
Gisle Vanem Jan 03, 2013 09:59 am
Roy Smith Jan 01, 2013 07:02 pm
Mitya Sirenef Jan 01, 2013 07:32 pm
Wayne Werner Jan 03, 2013 03:17 am
Mitya Sirenef Jan 03, 2013 03:48 am
Roy Smith Dec 29, 2012 07:52 pm
Monte Milanuk Dec 29, 2012 08:51 pm
Chris Angelico Dec 29, 2012 09:21 pm
Neil Cerutti Jan 02, 2013 06:43 pm
Roy Smith Dec 29, 2012 09:52 pm
Mitya Sirenef Dec 29, 2012 10:10 pm
Chris Angelico Dec 29, 2012 10:30 pm
Mitya Sirenef Dec 29, 2012 10:40 pm
Chris Angelico Dec 29, 2012 11:16 pm
Steven DAprano Jan 01, 2013 03:55 am
Chris Angelico Jan 01, 2013 04:20 am
Grant Edwards Dec 29, 2012 06:50 pm
Tim Johnson Dec 30, 2012 12:38 am
Chris Angelico Dec 30, 2012 12:54 am
Adam Tauno Williams Dec 31, 2012 11:57 am
jus...@zeusedit.com Jan 02, 2013 12:12 am
Ramchandra Apte Jan 02, 2013 05:10 am
Wayne Werner Jan 03, 2013 03:20 am
jrod...@gmail.com Jan 04, 2013 04:28 pm
xDog Walker Jan 01, 2013 12:13 am
Hans Mulder Dec 31, 2012 12:35 pm
Ben Finney Dec 31, 2012 10:46 pm
Chris Angelico Dec 31, 2012 10:54 pm
Anssi Saari Jan 04, 2013 07:34 am
Chris Angelico Jan 04, 2013 03:34 pm
Tim Chase Jan 04, 2013 04:59 pm
Messages in this thread