Axel Liljencrantz wrote:
On Jan 13, 2008 11:59 PM, maor shmoaly <[EMAIL PROTECTED]> wrote:
Axel Liljencrantz wrote:
On Jan 13, 2008 10:46 PM, maor shmoaly <[EMAIL PROTECTED]> wrote:
Axel Liljencrantz wrote:
On Jan 13, 2008 6:47 PM, maor shmoaly <[EMAIL PROTECTED]> wrote:
Axel Liljencrantz wrote:
On Jan 13, 2008 8:44 AM, maor shmoaly <[EMAIL PROTECTED]> wrote:
the echo $TERM command returns xterm
either way if other people with Ubuntu gutsy also suffer from this issue please
let me know so i would open a bug in the Ubuntu bug tracker
I'm using Gutsy too, and I'm not seeing the problems you see either.
This is a bit strange. Can you think of any weird package you've
installed that might conflict with fish. Have you tried to uninstall
and reinstall fish?
Axel
Maor
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users
well the only thing that has any relation to fish was tweaking inputrc
for bash but i tryed deleting it and even deleting the relevant line
from fish_inputrc.
well i guess if the original author of the code dont know whats wrong im
screwed.
thanks anyway i will try again when i will upgrade to hardy
Actually, that may help a lot. The fish version you're using uses
inputrc. Reinstall whatever package provides the inputrc file (or just
copy the file over from another system) and things should work again.
Hopefully.
Axel
i already tryed undoing the small changes i did to inputrc and i even
tryed deleting include inputrc from inputrc_fish and all those things
didnt help so i dont think inputrc was the problem. so i compiled the
latest fish release (that is not suppose to use inputrc) and the
situation is worst.
any key that is not character doesnt work instead it shows the key code,
for example pressing the up arrow writes [A to the command line (i start
fishd before i start fish)
Ok. This sounds like you might have tried running fish without doing a
full 'make install' first. Fish needs various bits and pieces
installed in order to function properly.
What is the output of running the following command:
functions fish_default_keybindings
(im running on a laptop maybe thats somehow related)
Probably not. So am I...
btw: its nice to see the friendly interactive shell have such a friendly
interactive community (oh.. the irony)
Don't see any irony there. A friendly shell will bring a smile to your face. ;-)
Axel
Maor
well i ran sudo make install again and for some reason it worked this
time ( you know that rule when you wanna show someone something is
screwed up and then it works,i love it when that happens) any way now
fish behaves just like the old version (ofcourse i removed the old
version and used fish --version to make shore i was running 1.23)
pasting the command
functions fish_default_keybindings
returns nothing
Then we are on the track to something. Fish consists of more than just
on program binary, it also consists of lots and lots of snippets of
shellscript. Without them, fish is nothing but an empty shell.
Run the command 'echo $fish_function_path' and check its output. It
should be something like:
/home/axel/.config/fish/functions /usr/local/etc/fish/functions
/usr/local/share/fish/functions
Next, locate the file fish_default_keybindings.fish, e.g. using
find / -name fish_default_keybindings.fish
The directory where this file is located should be in the
fish_function_path, and there is a line in the fish configuration
script that is supposed to make sure that it always is, but something
must be going wrong somewhere.
Axel
Maor
well i found fish_default_keybindings.fish and it is in fish function
path and even played with a couple of key binding to see that it gets
executed so i assume its not the problem (i attached a copy of the
file). it makes sense because i can use the arrow keys to scroll threw
history
whats next?
Maor
function fish_default_key_bindings -d "Default (Emacs-like) key bindings for
fish"
# Clear earlier bindings, if any
bind --erase --all
# This is the default binding, i.e. the one used if no other binding
matches
bind "" self-insert
bind \n execute
bind \ck kill-line
bind \cy yank
bind \t complete
bind \e\n "commandline -i \n"
bind \e\[A up-or-search
bind \e\[B down-or-search
bind -k down down-or-search
bind -k up up-or-search
bind \e\[C forward-char
bind \e\[D backward-char
bind -k right forward-char
bind -k left backward-char
bind -k dc delete-char
bind -k backspace backward-delete-char
bind \x7f backward-delete-char
bind \e\[H beginning-of-line
bind \e\[F end-of-line
bind -k home beginning-of-line
bind -k end end-of-line
bind \e\eOC nextd-or-forward-word
bind \e\eOD prevd-or-backward-word
bind \e\e\[C nextd-or-forward-word
bind \e\e\[D prevd-or-backward-word
bind \eO3C nextd-or-forward-word
bind \eO3D prevd-or-backward-word
bind \e\[3C nextd-or-forward-word
bind \e\[3D prevd-or-backward-word
bind \e\[1\;3C nextd-or-forward-word
bind \e\[1\;3D prevd-or-backward-word
bind \e\eOA history-token-search-backward
bind \e\eOB history-token-search-forward
bind \e\e\[A history-token-search-backward
bind \e\e\[B history-token-search-forward
bind \eO3A history-token-search-backward
bind \eO3B history-token-search-forward
bind \e\[3A history-token-search-backward
bind \e\[3B history-token-search-forward
bind \e\[1\;3A history-token-search-backward
bind \e\[1\;3B history-token-search-forward
bind \ca beginning-of-line
bind \ce end-of-line
bind \ey yank-pop
bind \ch backward-delete-char
bind \cw backward-kill-word
bind \cp history-search-backward
bind \cn history-search-forward
bind \cf forward-char
bind \cb backward-char
bind \e\x7f backward-kill-word
bind \eb backward-word
bind \ef forward-word
bind \ed forward-kill-word
bind -k ppage beginning-of-history
bind -k npage end-of-history
bind \e\< beginning-of-buffer
bind \e\> end-of-buffer
bind \el __fish_list_current_token
bind \ew 'set tok (commandline -pt); if test $tok[1]; whatis $tok[1];
commandline -f repaint; end'
bind \cl 'clear; commandline -f repaint'
bind \cc 'commandline ""'
bind \cu backward-kill-line
bind \ed kill-word
bind \cw backward-kill-word
bind \ed 'if test -z (commandline); dirh; commandline -f repaint; else;
commandline -f kill-word; end'
bind \cd delete-or-exit
# This will make sure the output of the current command is paged using
the less pager when you press Meta-p
bind \ep '__fish_paginate'
end
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users