On 4/21/06, ray hammond <[EMAIL PROTECTED]> wrote:
[...]
> fg %1
>
> I then received the following:
>
> Send job 1, 'fg %1' to foreground
> fish: Could not send job 1 ('fg %1') to foreground
> tcsetpgrp: Operation not permitted
>
> The prompt then froze and I had to terminate my shell. I attempted the same
> sequence of events in a bash shell. Vi resumed operation without any
> problems.
There are two separate issues. The error message occurs because Fish
currently indexes jobs from 0, and there is no job 1. So you should
type "fg" or "fg %0". You can list the jobs using the "jobs" command.
I would think that Fish should index jobs from 1 -- to be more
consistent with array indexing in Fish and job indexing in POSIX
shell, and for the same arguments as indexing arrays from 1.
The second issue is apparently a bug in Fish that prevents sending
some terminal programs to the foreground, for example "man" or "vi"
but not "xterm", "links", "w3m", "yes" or "tail".
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users