| bio | website | stackoverflow.com/users/… |
|---|---|---|
| location | Lisbon, Portugal | |
| age | ||
| visits | member for | 2 years, 3 months |
| seen | Mar 20 at 16:59 | |
| stats | profile views | 11 |
Biologist by training, working in evolutionary computational biology. Mostly genomics and proteomics.
Linux administration. Python programmer. Web developer, Django, JQuery, MySQL and (slowly) PostgreSQL (use and administration).
Linux + vim = comfy workspace.
|
Jan 7 |
awarded | Popular Question |
|
Dec 3 |
comment |
How to create a screen lock timer for Awesome WM? Are you sure mplayer works nicely? I'm currently using mplayer-1.1(svn) and xautolock still triggers the locker while playing a video. |
|
May 22 |
comment |
Cannot access a website from Firefox What are the DNS settings on your router? |
|
May 21 |
answered | Mount NTFS image file created using partimage |
|
May 21 |
comment |
Cannot access a website from Firefox Just out of curiosity, that address wouldn't happen to be the place where you work? I'm wondering if you have something on your /etc/hosts file or in the network that makes the address resolve locally instead of via the external address... |
|
May 21 |
awarded | Teacher |
|
May 21 |
answered | I changed my hostname, rebooted and lost internet connection |
|
May 21 |
answered | Cannot access a website from Firefox |
|
Feb 20 |
comment |
Displaying stdout of a background process in specific location of the terminal Can I upvote again? :) It's perfect now! Thanks a bunch. |
|
Feb 17 |
awarded | Commentator |
|
Feb 17 |
comment |
Displaying stdout of a background process in specific location of the terminal Zsh-4.3.10 , after disabling pretty much every customization, I now no longer get the prompt (i.e. it's properly removed) but I still get the PIDs of the processes in background, like [1] 27911 27912 in a single line and as the first line on the terminal. |
|
Feb 17 |
comment |
Displaying stdout of a background process in specific location of the terminal I'm using xterm and I have the VCS module enabled and some other customizations to the prompt. I haven't tried but I'm quite sure it's related with that. Some time ago I tried using the vi mode notifier similar to this one (stackoverflow.com/a/3791786/125801) and when active I lost some of my custom prompt behavior. It's not a big deal, at the moment I'm happy with the solution. I'll try to cleanup my prompt one of these days and check if the PIDs still show up. |
|
Feb 16 |
comment |
Prevent a USB external hard drive from sleeping Not letting the drive spin down can reduce its lifetime. I would consider addressing the timeout issue instead. I had a similar problem before with a backup NAS and using an automounter (such as autofs) ensured that the system would not timeout and only spin up the disks if the mountpoint is accessed (and auto-mounted). |
|
Feb 16 |
accepted | Displaying stdout of a background process in specific location of the terminal |
|
Feb 16 |
comment |
Displaying stdout of a background process in specific location of the terminal I think I might have some other prompt rewrite config that is colliding with the deletion of the initial prompt. Mine doesn't go away once the command finishes. I also still get the PIDs of the processes when sent to background but the "done" line is gone. In any case I'm accepting your answer as it's pretty close to what I had in mind. Thanks. |
|
Feb 16 |
comment |
Displaying stdout of a background process in specific location of the terminal This works. But how hard would it be to prevent the shell from printing the process pid when sent to background and the "done" message upon completion? (I mean temporarily deactivate that feature). Also, before putting the output on the terminal, how hard would it be to clear the existing prompt line or lines? |
|
Jun 1 |
comment |
Displaying stdout of a background process in specific location of the terminal @Gilles Could you elaborate on the usage of zpty ? I am aware that you can't have two programs writing to the same terminal without some kind of competition over the cursor. My question comes from the fact that zsh already rewrites the prompt in some configurations. Obviously this program would have to write to some temporary in-memory buffer that would then be "printed" to the specific location once the command finishes. All of the latter under control of zsh. |
|
May 27 |
asked | Displaying stdout of a background process in specific location of the terminal |
|
May 23 |
awarded | Scholar |
|
May 23 |
accepted | How to find files in subdirs and sort them by filename in a single command? |