Sebastian Thörn | 2 Nov 2011 16:38
Picon

hostname

i get this when i start fish:


fish: Unknown command “hostname”
/usr/share/fish/functions/fish_prompt.fish (line 6): hostname|cut -d . -f 1
                                                     ^
in command substitution
called on line 9 of file “/usr/share/fish/functions/fish_prompt.fish”,

in function “fish_prompt”,
called on standard input,

in command substitution
called on standard input,

im running on archlinux

Br
Sebastian
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
SanskritFritz | 2 Nov 2011 17:14
Picon

Re: hostname


On Wed, Nov 2, 2011 at 4:38 PM, Sebastian Thörn <elefantungen-WBbaBzRbdALLoDKTGw+V6w@public.gmane.org> wrote:
i get this when i start fish:

fish: Unknown command “hostname”
/usr/share/fish/functions/fish_prompt.fish (line 6): hostname|cut -d . -f 1
im running on archlinux
 
------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
gmaxfl | 6 Nov 2011 00:03
Picon

Editing long function

Hi,

when I want to edit a long function, for example 'funced help' part of 
the function, the function does not fit the screen and I can not find 
any way to scroll to the beginning of the function. Do anybody know how 
to do it?
Or can it be fixed?

regards,
Maxim

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
SanskritFritz | 6 Nov 2011 22:34
Picon

Re: Editing long function


On Sun, Nov 6, 2011 at 12:03 AM, gmaxfl <gmaxfl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
when I want to edit a long function, for example 'funced help' part of
the function, the function does not fit the screen and I can not find
any way to scroll to the beginning of the function. Do anybody know how
to do it?
Or can it be fixed?

In such case just edit the file /usr/share/fish/functions/help.fish (or better copy it first to ~/.config/fish/functions/ and edit there), there is no need to use funced.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
SanskritFritz | 6 Nov 2011 22:49
Picon

Re: Editing long function


On Sun, Nov 6, 2011 at 10:35 PM, gmaxfl <gmaxfl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On 07.11.2011 05:34, SanskritFritz wrote:

In such case just edit the file /usr/share/fish/functions/help.fish (or better copy it first to ~/.config/fish/functions/ and edit there), there is no need to use funced.

that's what I usually do. I just though that probably I'm missing something.

A bigger terminal? :)

(PS. Reply to all please.)
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
gmaxfl | 6 Nov 2011 22:52
Picon

Re: Editing long function

On 07.11.2011 05:49, SanskritFritz wrote:
>
> On Sun, Nov 6, 2011 at 10:35 PM, gmaxfl <gmaxfl@... 
> <mailto:gmaxfl@...>> wrote:
>
>     On 07.11.2011 05:34, SanskritFritz wrote:
>
>         In such case just edit the file
>         /usr/share/fish/functions/help.fish (or better copy it first
>         to ~/.config/fish/functions/ and edit there), there is no need
>         to use funced.
>
>     that's what I usually do. I just though that probably I'm missing
>     something.
>
>
> A bigger terminal? :)
(:
Currently I have the height of 72 symbols and can not go more, because 
it becomes hard to read symbols.

>
> (PS. Reply to all please.)
sorry, I always forget to press this "reply all" button.

Maxim

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Philip Ganchev | 7 Nov 2011 20:03
Picon

Re: Editing long function

On Sun, Nov 6, 2011 at 1:03 AM, gmaxfl <gmaxfl@...> wrote:
> Hi,
>
> when I want to edit a long function, for example 'funced help' part of
> the function, the function does not fit the screen and I can not find
> any way to scroll to the beginning of the function. Do anybody know how
> to do it?
> Or can it be fixed?
>
> regards,
> Maxim

That's something that was decided Axel, the legendary developer of
Fish, because he did not want to write ugly code that wraps lines. But
that would be better UI, so anyone who knows how can make it wrap
around.

Regards,
Philip

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
gmaxfl | 8 Nov 2011 05:03
Picon

binding

Hi,

is it possible to bind special keys with ctrl and shift modifiers? Like 
CtrlEnter, ShiftEnter and so on.
\c\n doesn't help.

best regards,
Maxim

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
DeathGorePain | 21 Nov 2011 14:59
Picon

[Bug]Cannot read STDIN when calling from function with paramaters

Hello everybody,

I have a slight problem, that this simple function can illustrate:

function writeIt
  set out /tmp/out.txt
  cat - > $out
end

If the function is called in the shell, one cannot see the input, however
>cat /tmp/out.txt
outputs whatever one has input.

If the function is added to ~/config/fish/config.fish and called with
>fish -c "writeIt"
one can see their input, while typing.

Could someone look into this please ?

Regards,
DeathGorePain

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users
Jan Kanis | 23 Nov 2011 13:26
Picon

Re: [Bug]Cannot read STDIN when calling from function with paramaters

Indeed. It appears that fish sets the terminal to something close to raw mode, it still obeys ctrl-\, but not ctrl-d. There are more problems like this when piping input or output to/from functions or block structures.

On Mon, Nov 21, 2011 at 14:59, DeathGorePain <deathgorepain-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
Hello everybody,

I have a slight problem, that this simple function can illustrate:

function writeIt
  set out /tmp/out.txt
  cat - > $out
end

If the function is called in the shell, one cannot see the input, however
>cat /tmp/out.txt
outputs whatever one has input.

If the function is added to ~/config/fish/config.fish and called with
>fish -c "writeIt"
one can see their input, while typing.

Could someone look into this please ?

Regards,
DeathGorePain

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fish-users mailing list
Fish-users-5NWGOfrQmncRDUWM+popnw@public.gmane.orgforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fish-users mailing list
Fish-users@...
https://lists.sourceforge.net/lists/listinfo/fish-users

Gmane