NetBSD has the original BSD single argument shorthand for width. The portable variant would be "fmt -g 0 -w 1" - have updated the version in the repo to use thissl1pkn07 wrote:Hello, i have problem when try to port the scrip `dc-burn-netbsd` to linux
in the script have a command witch i have no F idea what do
the command is the `fmt 1`Code: Select all
dist_details="$(ls -l $kernel $(echo $opt_sets | fmt 1 | sed "s:^:$distdir/sets/:"); echo extra_opts=$opt_live)"
in linux, https://linuxcommand.org/lc3_man_pages/fmt1.html, the command is different than netbsd counterpart, runing as-sis, get a error like:
Code: Select all
fmt: cannot open '1' for reading: No such file or directory

Ah yes, the base ftp in NetBSD is happy with http/https a a bunch of other stuff. Happy to take a patch to use curl (though I may conditionalise it to use ftp where it knows it will work, as its nice to not have to force people to install curl on a minimal NetBSD installsl1pkn07 wrote: so i have no idea what is the real output of the `dist_details` variable
@abs can you post the contents of the file `.dist` created from `dist_details' variable?
also the `ftp -o` command also have problems in linux (`-o` is not valid). change to tnftp, wich comes from netbsd, refule the connection to all urls, so i've change to `curl -# -o` command
Very happy to take fixup patches. Also happy to have here and/or on github. Its intended to be a "burn a NetBSD/dreamcast" CD, it doesn't have to be a "Burn a NetBSD/dreamcast CD on a NetBSD system" :-psl1pkn07 wrote: also have a little changes (quoted variables for fix paths with spaces) and other little things
can you help me? i see you stored the code in github and have the issue tracker , but i prefeer posted here because in the issue tracker is for netbsd things/issues/foo and not for general support
greetings
Thanks for looking at using it on Linux
David