summaryrefslogtreecommitdiffstats
path: root/fish/fish.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't export STREQ and friends in <guestfs.h>Richard Jones2009-11-101-0/+10
| | | | | Move these to private header file(s) and other places as required since these aren't part of the public API.
* fish: New command 'sparse', like 'alloc' but to generate sparse files.Richard Jones2009-11-041-0/+1
| | | | | | | | | | | | | | | | | With sparse you can make sparse files, which is fun because you can experiment with really large devices: ><fs> sparse /tmp/test.img 100G ><fs> run ><fs> sfdiskM /dev/vda , ><fs> mkfs ext2 /dev/vda1 # very long pause here ... ><fs> mount /dev/vda1 / To see the real (ie. allocated) size of the sparse file, use the du command, eg: ><fs> !du -h /tmp/test.img 1.6G -rw-rw-r-- 1 rjones rjones 100G 2009-11-04 17:40 /tmp/test.img
* guestfish: Add win: prefix to use Windows paths.Richard Jones2009-10-261-0/+1
| | | | | | | Add a win: prefix for path arguments in guestfish: ><fs> file win:c:\windows\system32\config\system.log MS Windows registry file, NT/2000 or above
* fish.c: avoid "assignment discards qualifiers..." warningJim Meyering2009-08-211-0/+6
| | | | | * fish/fish.c (main): Cast-away-const. * fish/fish.h (bad_cast): Define. Safer than using an actual cast.
* fish.c: avoid warningsJim Meyering2009-08-211-1/+1
| | | | | * fish/rc.c (UNIX_PATH_MAX): Remove unused definition. * fish/fish.h (rc_listen): Declare with __attribute__((noreturn)).
* adjust const "**" pointers to avoid warningsJim Meyering2009-08-171-3/+3
| | | | | | Also, ... * src/generator.ml: Add DeviceList type, and propagate that change out to all calling/interface code.
* Convert all TABs-as-indentation to spaces.Jim Meyering2009-08-031-1/+1
| | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
* guestfish: Make more strings translatable.Richard Jones2009-07-291-1/+1
| | | | | However this doesn't yet attempt to translate the POD command documentation. We need a plan to do that.
* guestfish: Add tilde expansion for paths (RHBZ#511372).Richard Jones2009-07-151-0/+3
| | | | | | | | | | | | | | | | | | | This commit adds tilde expansion for local users in guestfish: ><fs> echo "~" ~ ><fs> echo ~ /home/rjones ><fs> echo ~foo ~foo ><fs> echo ~rjones/bar /home/rjones/bar ><fs> echo ~roo ~roo ><fs> echo ~root/foo /root/foo ><fs> echo ~root /root
* Guestfish feature: remote control of guestfish over a pipe.Richard Jones2009-07-141-1/+6
| | | | | | | | | | | | | | | | | The use case is to have a long-running guestfish process in a shell script, and thus to avoid the overhead of starting guestfish each time. Do: eval `guestfish --listen` guestfish --remote somecmd guestfish --remote someothercmd guestfish --remote exit This patch also supports having multiple guestfish processes at the same time. The protocol is simple XDR messages over a Unix domain socket.
* Guestfish: Add 'reopen' command to reopen the libguestfs handle.Richard W.M. Jones2009-07-111-0/+4
|
* Add the guestfish 'time' command.Richard W.M. Jones2009-07-021-8/+12
| | | | | ><fs> time sfdisk /dev/sda 0 0 0 , elapsed time: 6.12 seconds
* Implement "more" and "less" commands in guestfish.Richard W.M. Jones2009-06-291-1/+6
| | | | | | | | Use commands such as: more /etc/passwd less /etc/fstab These commands are specific to guestfish.
* Guestfish pipes.Richard W.M. Jones2009-06-281-1/+1
|
* Add 'glob' command for guestfish.Richard Jones2009-06-221-2/+7
|
* Add tab-completion of guest filenames (currently disabled).Richard Jones2009-06-181-0/+5
|
* Added 'lcd' command to guestfish.Richard Jones2009-06-081-1/+5
|
* Guestfish built-in commands auto-complete (RHBZ#501878).Richard Jones2009-05-271-0/+10
|
* Gettextize the source, make library strings translatable.Richard Jones2009-05-211-0/+9
|
* Implement -command (to ignore errors) in guestfish, and allow recovery from ↵Richard Jones2009-05-081-1/+0
| | | | qemu process failure.
* Added guestfish 'echo' command.1.0.16Richard Jones2009-04-301-0/+3
|
* 'guestfish edit' commands and several bugfixes.Richard Jones2009-04-151-1/+4
|
* Move guestfish 'alloc' command to a separate file.Richard Jones2009-04-151-0/+3
|
* Generated code for tune2fs-l command and RHashtable return type.Richard Jones2009-04-151-0/+1
|
* Added bindings for GNU readline.Richard Jones2009-04-141-0/+3
|
* Added test suite.Richard Jones2009-04-111-1/+2
|
* Many non-daemon functions are now auto-generated.Richard Jones2009-04-081-0/+2
|
* Implement RString and RStringList return types.Richard Jones2009-04-041-0/+2
| | | | | - implement 'll' command. - outlines for 'ls' and 'cat' commands.
* Command line, help.Richard Jones2009-04-041-0/+4
|
* Command line and interactive shell parsing, prompts etc.Richard Jones2009-04-041-0/+5
|
* Added outline of shell command, added generator support.Richard Jones2009-04-031-0/+29