On 5/1/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
On 4/28/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
> Does anyone actually use %+ and %- in bash, i.e. the last and next to
> last job to be used? 'fg' and 'bg' don't have to use %+, since running
> 'fg' or 'bg' with no arguments will do the same thing, and I find it
> easier to remember the job id of the current jobs than to remember
> what job was second last to be used. Therefore, I've seen very little
> reason to implement them, but I suppose different people might have
> different tastes.
I'll take that as a no. Excellent. One less feature! :-D
Wait, I do ;-).
I don't care whether it will be called %- or $job_order[1] or (jobs -o
1) but I do want a way to access the order in which jobs were last
activated (launched or fg'd).
In bash I have "alias gf 'fg %-'" which is very handy for alternating
between 2 jobs; given the ordering of all jobs, it will be easy to
implement more sophisticated switching...
Actually that's not what I really need. Job control is a poor
solution in today's windowed environments. What would be really nice
is for every suspended or backgrounded job to go to a new tab of the
terminal.
I'll check whether I can cook something up using 'dtach' and report back...
--
Beni Cherniavsky <[EMAIL PROTECTED]>, who can only read email on weekends.
Governments are like kernels - everything possible should be done in user space.
Rȧ�:&q�[���y�hv����^y�h��i��py����z�r���!���n}�h�ꮉ�%����ފ{^���y�^r薈2����쨺��m欉�ã
塧HŞm*az����bq�b�t�����]5m�v����!xg��x��m���zV���ږF�����\�