X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Fguestfish.pod;h=8fc720e106a9be1a38b7e8ce432a99d30d1f3d40;hb=5222be29f81fb98f0448d6e289c2c486fbc56883;hp=c647b57414b65322419f4bb7ba51a2b462c7a950;hpb=4b0a04f90e88d2d1a10bab4504674734f61c3184;p=libguestfs.git diff --git a/fish/guestfish.pod b/fish/guestfish.pod index c647b57..8fc720e 100644 --- a/fish/guestfish.pod +++ b/fish/guestfish.pod @@ -570,9 +570,6 @@ The editor is C<$EDITOR>. However if you use the alternate commands C or C you will get those corresponding editors. -NOTE: This will not work reliably for large files -(> 2 MB) or binary files containing \0 bytes. - =head2 glob glob command args... @@ -610,9 +607,6 @@ This is used to view a file. The default viewer is C<$PAGER>. However if you use the alternate command C you will get the C command specifically. -NOTE: This will not work reliably for large files -(> 2 MB) or binary files containing \0 bytes. - =head2 quit | exit This exits guestfish. You can also use C<^D> key. @@ -685,6 +679,11 @@ can be useful for benchmarking operations. @ACTIONS@ +=head1 EXIT CODE + +guestfish returns 0 if the commands completed without error, or +1 if there was an error. + =head1 ENVIRONMENT VARIABLES =over 4 @@ -702,8 +701,8 @@ L. =item HOME -If compiled with GNU readline support, then the command history -is saved in C<$HOME/.guestfish> +If compiled with GNU readline support, various files in the +home directory can be used. See L. =item LIBGUESTFS_APPEND @@ -753,10 +752,46 @@ enough. =back -=head1 EXIT CODE +=head1 FILES -guestfish returns 0 if the commands completed without error, or -1 if there was an error. +=over 4 + +=item $HOME/.guestfish + +If compiled with GNU readline support, then the command history +is saved in this file. + +=item $HOME/.inputrc + +=item /etc/inputrc + +If compiled with GNU readline support, then these files can be used to +configure readline. For further information, please see +L. + +To write rules which only apply to guestfish, use: + + $if guestfish + ... + $endif + +Variables that you can set in inputrc that change the behaviour +of guestfish in useful ways include: + +=over 4 + +=item completion-ignore-case (default: on) + +By default, guestfish will ignore case when tab-completing +paths on the disk. Use: + + set completion-ignore-case off + +to make guestfish case sensitive. + +=back + +=back =head1 SEE ALSO