Re: [dev] Why do you use tmux/screen?
On Tue, Jul 01, 2014 at 03:11:19PM +0200, Teodoro Santoni wrote: It's easier and takes less ram than using tabbed+st+dvtm+abduco (or a grouping wm+st+dvtm+abduco) Can you back this up with some actual numbers or is it just speculation on your part? The most memory demanding component in the above setup is probably dvtm's scrollback buffer whose size you can control via the -h command line option. Marc -- Marc André Tanner http://www.brain-dump.org/ GPG key: CF7D56C0
Re: [dev] Why do you use tmux/screen?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Ok, thank you guys! :) I will test it. Now that I'm thinking of it, detach may be very useful. -BEGIN PGP SIGNATURE- Version: APG v1.1.1 iQJCBAEBCgAsBQJTsk7qJRxEaW1pdHJpcyBaZXJ2YXMgPGR6ZXJ2YXNAZHplcnZh cy5ncj4ACgkQ+77hPkfJypadZxAAiK868ywu19zb8KkhY89uaf3zXUKt9Apm42d5 GrlTEfwsSWPHGuGpfWrey5bzuxq/4cyMilzECRb6DubZYj/VPBGIGFejsMmAI29H ICzJmUP0bz+8U/FAiR+c7atPW5H79MbfRRDYQ7IyBv8AGC8dq+jMcelgxvnXMAJ5 VorL0voZqSHVLp6DOsh7Q+cUzITfQFob8Ik8tckRGl8vAab6zo/5cfJGuWSO8z8I CUCCZy8aG7cNL4EilxR/MOgZO/snJKZqhHGa5QzUPHxqvdk+0N2wIfhjo+70g3zU YAKDOKggQr1fEsfaQWtpp4dzwzBUq4ZM0iCMjYi6U8aPF/oj1MM2t2yMMG1W4BZB phzYAxviS951/Qtk+mNUPwDUooMX1yrpsueL/ZmyZVWUHoiDjWpR2Cdu02hdCbFw j0SCLm2rNhgl9jJ24Ut17ZTrRR/+K8bqN8TO3zcSN3ve29i1MolUY6+25gEplMFe qGIyipidM5g2MfsWhQfrOib4xj4Ysqc30hnvJzyExQYkeKrwMgFwfJv6sqXKtwyS Mam2tcTxjEI7HBisDiECsIQuOuhUIbruTi1nouE8UZlEw3Tm9se4/3nAMO8bXDYn C5FdXxw7kRYkiuEKgOC6kqmt4QdAX3vTrNY+7MjcNaqEt/ZdASAe801JVwR0T/JD hAlVFTw= =VaKx -END PGP SIGNATURE-
Re: [dev] Why do you use tmux/screen?
Hello On Tue, Jul 01, 2014 at 03:48:48AM +0300, Dimitris Zervas wrote: After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). Why is that? For the tabs? Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? Apart from that, if it is really useful, how does it work? I searched a bit the web and I only found some keybindings, but not how the thing works. I use tmux in two cases: 1. At work, because I have to work on Windows, and it does not provide any reasonable window management, so I spend most of my time in tmux in cygwin. 2. When ssh-ing in my home box, to get multiple panes and a session that does not depend on the ssh connection lifetime. Cheers, Maxime.
Re: [dev] Why do you use tmux/screen?
tmux is useful for detach, tabs, scrolling and copy/paste. On Tue, Jul 1, 2014 at 10:45 AM, Maxime Coste frrr...@gmail.com wrote: Hello On Tue, Jul 01, 2014 at 03:48:48AM +0300, Dimitris Zervas wrote: After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). Why is that? For the tabs? Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? Apart from that, if it is really useful, how does it work? I searched a bit the web and I only found some keybindings, but not how the thing works. I use tmux in two cases: 1. At work, because I have to work on Windows, and it does not provide any reasonable window management, so I spend most of my time in tmux in cygwin. 2. When ssh-ing in my home box, to get multiple panes and a session that does not depend on the ssh connection lifetime. Cheers, Maxime.
Re: [dev] Why do you use tmux/screen?
I'd rather have the window manager manage all those persistent shell sessions. But tmux is such a beast that most people use is as their window manager in a window manager as well. It's a bit kafkaesque to run a seperate tmux for each shell you open, but those other detach alternatives don't seem to work as reliable as tmux. I have a weird annoying mix here: I also use tmux with multiple windows inside, but e.g. my irc client is in a single screen session
Re: [dev] Why do you use tmux/screen?
On 1 July 2014 12:44, hiro 23h...@gmail.com wrote: I'd rather have the window manager manage all those persistent shell sessions. But tmux is such a beast that most people use is as their window manager in a window manager as well. At some point, I use to run a vim inside a tmux inside a window. It turned out to be super annoying because all the shortcuts to move the windows, splits, and views ended up being very similar and got mixed up from time to time. It was ridiculous. Really. It's a bit kafkaesque to run a seperate tmux for each shell you open, but those other detach alternatives don't seem to work as reliable as tmux. I now use dtach for persistent sessions (mostly irc and torrent clients) and don't encounter any problems. It does not provide scroll back nor copypaste but I don't generally need those. I use a window manager (and sometime, yes, several terminals, each with a remote shell). When I really need scrollback or copy-paste, I use dvtm. (Or when I run on a machine that is so bad that all I want is a full-screen terminal and nothing else.) Cheers, -- __ Raphaël Proust
Re: [dev] Why do you use tmux/screen?
* hiro 2014-07-01 13:45 I'd rather have the window manager manage all those persistent shell sessions. But tmux is such a beast that most people use is as their window manager in a window manager as well. tmux (or dvtm, or tabbed, or other multiplexer) run locally inside wm make sense for logically (according to one's logic) or technically connected windows. For me, an irc session is such case -- runs in (what would be in dwm) bottom layout in dvtm+dtach: sic in one window, log tail in the other. The gain of persistent sessions as with tmux and dvtm+dtach is obvious but is another story. --s_
Re: [dev] Why do you use tmux/screen?
On Tue, Jul 01, 2014 at 03:48:48AM +0300, Dimitris Zervas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). Why is that? For the tabs? Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? I'm using tmux for trivial things (torrent console daemon) I don't want to have in my window list, or when I'm experimenting things in shell and console applications. Tmux helps me in avoid thinking where things are opened and thinking on the task I'm performing. Being an avid mouse user, it's very straightforward to use even without sessions. It's easier and takes less ram than using tabbed+st+dvtm+abduco (or a grouping wm+st+dvtm+abduco), ps -ef and job control (?) to know where and what I've opened inside the environment (the last time I checked it was like so. Probably now this assertion may be not true)... I can't say but probably takes less ram than urxvt with tabs, too. I sometime need to automate the environment, and tmux is able to send commands in vim -remote, elinks -remote and something else -remote fashion directly from a shell, it's easier than take note of every external pipe of every dvtm or make shellscripts to be launched by every instance of st i should need when I launch the whole thing... Even if I don't usually have nothing of important to do, even requiring to switch between console wins, it's not a good reason to rebuild tmux or screen as a clash of shellscripts. Apart from that, if it is really useful, how does it work? I searched a bit the web and I only found some keybindings, but not how the thing works. A standard tmux should present you to a classic terminal emulator window but with a status line at the bottom. There you can read the hour and have every tab of tmux remembered (with mouse enabled you can use these labels for the tabs like every tab selector in this world). The classic control keybind is ^B. It works like the apps you loved in your Lisp Machine: ^something (Ctrl + something), then something else. ^B and c spawns another tab, ^B and ? takes you to a page of all the keybinds configured in tmux, ^B and : is like typing : in vi under normal mode (verbose commands to be sent to tmux), ^B and x closes a tile or a tab, asking if you're sure about that, ^B and splits vertically the window, ^B and % splits horizontally the window. If you wish to, I can spam you with some links for tips in configuring tmux, to know how that thing works type man tmux after installation or search on youtube for screencasts of tmux. -BEGIN PGP SIGNATURE- Version: APG v1.1.1 iQJCBAEBCgAsBQJTsgVvJRxEaW1pdHJpcyBaZXJ2YXMgPGR6ZXJ2YXNAZHplcnZh cy5ncj4ACgkQ+77hPkfJypYmsQ//b4bpI0DsfF6zXWHJzV737733N8AtbBQE50/A bfu0WVXfGNT3NEFCI7rJeH5B7byNqQDOl2dI26OYaHqev5UQ5LfvYtLdZ0Ig+W/c qjwhxiUx55+m9vPXv+RmKbQP44zMUMUkEDRRAygwWPqV+Re9LnM+EQAEdXhBhYeq 9a8atZPXHw6FVn5hZnieV7Q4eyvWCjuUKZSlp9IqYwQ2Rn1cUOYazenG4mVmQ7mW 2BZSluUt47Wo+deSfxuUewWtjVIfbRliE3LErq3Eg/DuykVq1u8lFFkxXDS3NXU7 9m/MgewgUKZVRvF8SWYj8JbtgcG7J/qRj3qBGyRyYlpt+b+e77L4TmfOSsBkJcLy H0MleTEiJezTmIEoWhHU9JzuBPzh2VDH/HQ6ydR/lj8cR8trFRNiAb2nqfzI0xfx Vdqtogy5fTj9B+G7fHuhqsHAgujUz045WNwKx7R3iJ0IJRbUBOOOtrmE8miagA9f nB2CE0MuPTek7oDlH+E5PsrqT5RqH868+8p3vqJn77cqgEET3BQ6iE0qwBewaw4i zYuG8RjA0t2cwnWpesraxlHhcaW6ejECFms+L/CJPYBEmW6Sfr9M5QgQlaKd+Wr8 C6xzLJiszYI8XYCh0/c27/Cee1hGncCMynuLL6oT6Em3TPnHqYYvmwl0kn5ZpOeR J7K0Cxs= =ajDv -END PGP SIGNATURE- -- Teodoro Santoni Tel. 3312457594 asbras...@gmail.com IT consultant (Software, HW, Networking)
Re: [dev] Why do you use tmux/screen?
On Tue, 01 Jul 2014 08:42:03 +0530 Weldon Goree wel...@langurwallah.org wrote: Lemma: does anybody know of a good environment-managing program[0]? This is not a lemma. I know a good program. It's called .. Check it out! Cheers FRIGN -- FRIGN d...@frign.de
Re: [dev] Why do you use tmux/screen?
On 07/01/2014 07:21 PM, FRIGN wrote: This is not a lemma. I know a good program. It's called .. Check it out! Pretty sure it's a lemma. Dot is great. It also doesn't do what I'm looking for, and isn't even a program in most sense of the word. Cheers, Weldon
Re: [dev] Why do you use tmux/screen?
On Tue, 01 Jul 2014 19:24:09 +0530 Weldon Goree wel...@langurwallah.org wrote: Pretty sure it's a lemma. I'm sure it's not, given I deal with lemmata every day being a mathematician. What you have presented simply is a question. See the .-suggestion as a serious note. Set up right, you can definitely store env-states in files and load them using this tool. But apart from that, I don't know an answer to your question. Cheers FRIGN -- FRIGN d...@frign.de
Re: [dev] Why do you use tmux/screen?
On Tue, Jul 01, 2014 at 03:51:00PM +0200, FRIGN wrote: On Tue, 01 Jul 2014 08:42:03 +0530 Weldon Goree wel...@langurwallah.org wrote: Lemma: does anybody know of a good environment-managing program[0]? This is not a lemma. I know a good program. It's called .. Check it out! Please see bs[0] and envdir[1]. [0]: https://github.com/educabilia/bs [1]: http://cr.yp.to/daemontools/envdir.html
Re: [dev] Why do you use tmux/screen?
On 07/01/2014 07:34 PM, FRIGN wrote: I'm sure it's not, given I deal with lemmata every day being a mathematician. What you have presented simply is a question. In a rare event on mailing lists, I concede: it wasn't a lemma, but an invitation to make one. See the .-suggestion as a serious note. Set up right, you can definitely store env-states in files and load them using this tool. But apart from that, I don't know an answer to your question. Will do. I'm a tcsh refugee and I've probably overlooked the shell's internal capabilities here. Thanks! Weldon
Re: [dev] Why do you use tmux/screen?
On Tue, 01 Jul 2014 19:35:06 +0530 Weldon Goree wel...@langurwallah.org wrote: In a rare event on mailing lists, I concede: it wasn't a lemma, but an invitation to make one. Yes, I totally agree on that. Hopefully somebody comes up with a lemma, but I won't be the one to prove it ;). Will do. I'm a tcsh refugee and I've probably overlooked the shell's internal capabilities here. Thanks! You're welcome. I'm sure there's a way to work with that ;). Cheers FRIGN -- FRIGN d...@frign.de
Re: [dev] Why do you use tmux/screen?
On Tue, Jul 1, 2014 at 4:04 PM, FRIGN d...@frign.de wrote: On Tue, 01 Jul 2014 19:24:09 +0530 Weldon Goree wel...@langurwallah.org wrote: Pretty sure it's a lemma. I'm sure it's not, given I deal with lemmata every day being a mathematician. What you have presented simply is a question. There is a term called 'lemma' in linguistics as well so don't forget to check whether another meaning of the word was actually intended (it was not a lemma in the linguistic sense either though).
Re: [dev] Why do you use tmux/screen?
On 06/30, Charlie Kester wrote: On Mon 30 Jun 2014 at 17:48:48 PDT Dimitris Zervas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). I don't use either of them. I use dvtm, built with musl libc. Because it sucks less. For a complex full-screen working environment I'd agree, but in my opinion it isn't really suited for something simple like monitoring or checking in on an ssh session in a small terminal window. Though on that note, if you want something simple to maintain detached sessions for one or two applications, abduco[1] is pretty sweet. [1]: http://www.brain-dump.org/projects/abduco/ -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams
Re: [dev] Why do you use tmux/screen?
Dimitris Zervas writes: Hello, After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). Why is that? I use tmux with ii for IRC. I was tired of always confusing the irssi and tmux keybindings, so I removed irssi from the equation. One window per channel, with one pane running tail -f and the other redirecting text to stdin. Now I only have one set of keybindings to memorize. -- Anthony J. Bentley
Re: [dev] Why do you use tmux/screen?
On 07/01, Dimitris Zervas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). Why is that? For the tabs? Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? Because tmux is awesome. One reason among several: Session detachment. Apart from that, if it is really useful, how does it work? I searched a bit the web and I only found some keybindings, but not how the thing works. There's no way you've spent time looking for information on tmux and not come across how it works or why people use it, since half the blog posts/wiki entries/whatever about tmux cover precisely those two things. In any case, if you have some keybindings you have enough knowledge to try it and see for yourself. -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams
Re: [dev] Why do you use tmux/screen?
-BEGIN RSA SIGNED MESSAGE- On Mon, Jun 30, 2014 at 5:48 PM, Dimitris Zervas dzer...@dzervas.gr wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). Why is that? For the tabs? Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? Apart from that, if it is really useful, how does it work? I searched a bit the web and I only found some keybindings, but not how the thing works. -BEGIN PGP SIGNATURE- Version: APG v1.1.1 iQJCBAEBCgAsBQJTsgVvJRxEaW1pdHJpcyBaZXJ2YXMgPGR6ZXJ2YXNAZHplcnZh cy5ncj4ACgkQ+77hPkfJypYmsQ//b4bpI0DsfF6zXWHJzV737733N8AtbBQE50/A bfu0WVXfGNT3NEFCI7rJeH5B7byNqQDOl2dI26OYaHqev5UQ5LfvYtLdZ0Ig+W/c qjwhxiUx55+m9vPXv+RmKbQP44zMUMUkEDRRAygwWPqV+Re9LnM+EQAEdXhBhYeq 9a8atZPXHw6FVn5hZnieV7Q4eyvWCjuUKZSlp9IqYwQ2Rn1cUOYazenG4mVmQ7mW 2BZSluUt47Wo+deSfxuUewWtjVIfbRliE3LErq3Eg/DuykVq1u8lFFkxXDS3NXU7 9m/MgewgUKZVRvF8SWYj8JbtgcG7J/qRj3qBGyRyYlpt+b+e77L4TmfOSsBkJcLy H0MleTEiJezTmIEoWhHU9JzuBPzh2VDH/HQ6ydR/lj8cR8trFRNiAb2nqfzI0xfx Vdqtogy5fTj9B+G7fHuhqsHAgujUz045WNwKx7R3iJ0IJRbUBOOOtrmE8miagA9f nB2CE0MuPTek7oDlH+E5PsrqT5RqH868+8p3vqJn77cqgEET3BQ6iE0qwBewaw4i zYuG8RjA0t2cwnWpesraxlHhcaW6ejECFms+L/CJPYBEmW6Sfr9M5QgQlaKd+Wr8 C6xzLJiszYI8XYCh0/c27/Cee1hGncCMynuLL6oT6Em3TPnHqYYvmwl0kn5ZpOeR J7K0Cxs= =ajDv -END PGP SIGNATURE- tmux can detach, which is useful when you want to: - hide things you aren’t working on currently but may need to refer back to, without cluttering up your windows - persist sessions across restarts of your terminal emulator or window manager It also provides scrollback, and can even tell you the time! -BEGIN RSA SIGNATURE- qCUwqyviR0fNycjb1zDjMTRSf+US+0x+nfUOcsULsSYAWxA11fWzOLqViWRy00g4SrlcCJlnS9Xz CiXgQ1zgSQgKuX8Pm82FL80aH6ihMnA9WQaqQCIoo8N2/SVk+LhFW2QQ9J/30p7NGbZKStzbpYtN sCNdLS2B7t4la65YSHyPMICGtdkZOhA9mLAb9g6TmwFzusRFUf2POss7+SFF8WjrDehvBM8fWj69 rQ95p0CwIVMA2pL17LT1lmbpsVb9pNqXYvJQaEgy7IPhWdExejPpBrBH90KMguqOugMQOyjg4qMb R30CksCIaFSR01cgRF7oHcAGypZaRy+wpg0e/2eVVRk+KC++4blrep7lSTX9XKg+0pcydmv/1M8J Zvu+v3wovrqT9/4OJG4xJPW44hLApfXuc6kKue8N1+e7b7IDTj2ZoLTIdp5EfwhdFFeePzQODFSI T4/t1wMfYeCr95nl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cP25QWtWnFFh/MfnySYRjT7eipNbN9H47MHcoKzACHQaW7k4 x8VSydj/3jthkGhjUmmSMKbKv1IeGBw9i6+zvNx6oEtNvIjm+XmDA8f0SkHO0u4XKsnnHj4= -END RSA SIGNATURE-
Re: [dev] Why do you use tmux/screen?
I uses tmux for remote development. My main dev machine is on datacenter, and all my development environment is set on the machine. With tmux I can persist my dev session across various terminals, like my laptops, desktops, even on phone when there is an urgent issue. It also works well with remove session with unstable network, like tethering with cellular network or wibro. Even when SSH connection is disconnected, I can persist the session and don't need to deal with .swp files.
Re: [dev] Why do you use tmux/screen?
On 07/01/2014 06:18 AM, Dimitris Zervas wrote: After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). Why is that? For the tabs? Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? Side question: are you intentionally requesting read receipts in emails to a mailing list? To your question: I mostly use it to store sessions with different environments, very useful for doing a lot of cross-compiling (which seems to take up most of my time lately). Tip: if you do that, also change PS1 so you can remember which environment you're in. Also, the ability to detach and reattach a tty is very nice, particularly on a remote server. You can even run daemons verbosely in a tty and watch them kvetch in realtime, which is occasionally useful. Lemma: does anybody know of a good environment-managing program[0]? Something like what shells do with pushd and popd, but with environment variables? (And hopefully offering more random access than just push and pop.) I'd like to be able to save a given environment with a handle and return to it later by calling that handle; maybe saveenv foo and loadenv foo like some firmware systems do. I know on bash set file and source file do that with shell variables (but not the full environment). Bonus points for making the saved environment available system-wide if requested (without saving something in every ~/.saveenv/), also for completely nuking the environment. It Doesn't Sound Too Hard (tm), so maybe I should make one if it doesn't exist. (It would at least be useful for its creator in that case, which is a necessary but not sufficient condition for software to suck less.) [0] http://tools.suckless.org/sbase contains env, which is of course a good environment managing program, but not what I'm talking about. Weldon
Re: [dev] Why do you use tmux/screen?
Dimitris Zervas wrote: Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? For local work on my laptop I use tabbed. Only sometimes for updates (to catch error messages from the beginning) I need a scrollback and therefore fire up an instance of tmux. Actually I don't know, why I'm not just using less for this. :/ For remote working, I would definitely recommend tmux, however I only use it if it's not a quick fix or something done within a few minutes with a reliable connection at hand. --Markus
Re: [dev] Why do you use tmux/screen?
On July 1, 2014 2:48:48 AM CEST, Dimitris Zervas dzer...@dzervas.gr wrote: Why not use tabbed? or DWM's mono-view (how is it called when you see only 1 window?)? What's DWM?
Re: [dev] Why do you use tmux/screen?
On Mon 30 Jun 2014 at 17:48:48 PDT Dimitris Zervas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). I don't use either of them. I use dvtm, built with musl libc. Because it sucks less.