{"action":"created","issue":{"url":"https://api.github.com/repos/stsp/dosemu2/issues/227","repository_url":"https://api.github.com/repos/stsp/dosemu2","labels_url":"https://api.github.com/repos/stsp/dosemu2/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/stsp/dosemu2/issues/227/comments","events_url":"https://api.github.com/repos/stsp/dosemu2/issues/227/events","html_url":"https://github.com/stsp/dosemu2/issues/227","id":172308279,"number":227,"title":"dosemu -dumb to receive output of command not working","user":{"login":"briceburg","id":490144,"avatar_url":"https://avatars.githubusercontent.com/u/490144?v=3","gravatar_id":"","url":"https://api.github.com/users/briceburg","html_url":"https://github.com/briceburg","followers_url":"https://api.github.com/users/briceburg/followers","following_url":"https://api.github.com/users/briceburg/following{/other_user}","gists_url":"https://api.github.com/users/briceburg/gists{/gist_id}","starred_url":"https://api.github.com/users/briceburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briceburg/subscriptions","organizations_url":"https://api.github.com/users/briceburg/orgs","repos_url":"https://api.github.com/users/briceburg/repos","events_url":"https://api.github.com/users/briceburg/events{/privacy}","received_events_url":"https://api.github.com/users/briceburg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-21T07:00:07Z","updated_at":"2016-08-22T02:40:59Z","closed_at":null,"body":"It appears that the `-dumb` flags longer works, such as:\r\n\r\n```\r\ndosemu -dumb dir > listing\r\n# from http://www.dosemu.org/docs/README/1.4/x724.html\r\n```\r\n\r\nI am getting `No such file: dir`\r\n\r\nThe command returns the following output\r\n\r\n```\r\nroot@567c4a78f17d:/# dosemu -dumb dir\r\nALSA lib confmisc.c:767:(parse_card) cannot find card '0'\r\nALSA lib conf.c:4371:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory\r\nALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings\r\nALSA lib conf.c:4371:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory\r\nALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name\r\nALSA lib conf.c:4371:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory\r\nALSA lib conf.c:4850:(snd_config_expand) Evaluate error: No such file or directory\r\nALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM default\r\nERROR: SDL sound init failed: ALSA: Couldn't open audio device: No such file or directory\r\nALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory\r\nDOSEMU2 2.0pre6-dev-20160820-6-ge78a7ab\r\nConfigured: 2016-08-21 05:50:27 +0000\r\nPlease test against a recent version before reporting bugs and problems.\r\nGet the latest code at http://stsp.github.io/dosemu2\r\nSubmit Bugs via https://github.com/stsp/dosemu2/issues\r\nAsk for help in mail list: linux-msdos@vger.kernel.org\r\n\r\nFreeDOS kernel build 2036 cvs [version Aug 18 2006 compiled Aug 18 2006]\r\nKernel compatibility 7.10 - WATCOMC - 80386 CPU required - FAT32 support\r\n\r\n(C) Copyright 1995-2006 Pasquale J. Villani and The FreeDOS Project.\r\nAll Rights Reserved. This is free software and comes with ABSOLUTELY NO\r\nWARRANTY; you can redistribute it and/or modify it under the terms of the\r\nGNU General Public License as published by the Free Software Foundation;\r\neither version 2, or (at your option) any later version.\r\nC: HD1, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=  2000 MB\r\nD: HD2, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=  2000 MB\r\nUMB's unavailable!                                                             \r\ndosemu XMS 3.0 driver installed.\r\ndosemu EMS driver rev 0.7 installed.\r\n[dosemu cdrom driver installed (V0.2)]\r\n\r\n\r\nAccess to cdrom denied.\r\nInstallation aborted.\r\n\r\nKernel: allocated 41 Diskbuffers = 21812 Bytes in HMA\r\n\r\nFreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]\r\nBLASTER=A220 I5 D1 H5 P330 T6\r\nMIDI=SYNTH:2 MAP:E MODE:0\r\nWelcome to dosemu2!\r\n    Build 2.0pre6-dev-20160820-6-ge78a7ab\r\nNo such file: dir\r\n```\r\n\r\nMy **dosemu.conf**\r\n\r\n```\r\n$_hdimage = \"/etc/dosemu/drives/c /etc/dosemu/drives/d\"\r\n```\r\n\r\n/etc/dosemu/drives/d is the freedos drive, and the c drive config.sys and autoexec.bat follow:\r\n\r\n```\r\nroot@567c4a78f17d:/# cat /etc/dosemu/drives/c/autoexec.bat\r\n@echo off\r\nrem autoexec.bat for DOSEMU + FreeDOS\r\npath d:\\dosemu;d:\\bin;d:\\gnu\r\nset HELPPATH=d:\\help\r\nset TEMP=c:\\tmp\r\nsound /e\r\nprompt $P$G\r\nsystem -s CDROM_PATH\r\nif \"%CDROM_PATH%\" == \"\" goto nocdrom\r\nlredir2 -nC linux\\fs%CDROM_PATH%\r\n:nocdrom\r\nsystem -s DOSDRIVE_EXTRA\r\nif \"%DOSDRIVE_EXTRA%\" == \"\" goto nodrived\r\nlredir2 -n linux\\fs%DOSDRIVE_EXTRA%\r\n:nodrived\r\nrem uncomment to load another bitmap font\r\nrem lh display con=(vga,437,2)\r\nrem mode con codepage prepare=((850) d:\\cpi\\ega.cpx)\r\nrem mode con codepage select 850\r\nrem chcp 850\r\necho Welcome to dosemu2!\r\nsystem -s DOSEMU_VERSION\r\necho     Build %DOSEMU_VERSION%\r\nsystem -e\r\n```\r\n\r\n\r\n```\r\nroot@567c4a78f17d:/# cat /etc/dosemu/drives/c/config.sys   \r\nrem generic config.sys for DOSEMU + any DOS\r\nSWITCHES=/F\r\nDOS=UMB,HIGH\r\nlastdrive=Z\r\nfiles=40\r\nstacks=0,0\r\nbuffers=10\r\ndevicehigh=d:\\dosemu\\ems.sys\r\ndevicehigh=d:\\dosemu\\cdrom.sys\r\nrem uncomment to load another bitmap font (see also autoemu.bat)\r\nrem devicehigh=c:\\dos\\display.sys con=(ega,,1)\r\nshell=d:\\command.com /e:1024 /p\r\n```\r\n\r\nIs this supposed to be supported still? Thanks!\r\n"},"comment":{"url":"https://api.github.com/repos/stsp/dosemu2/issues/comments/241303396","html_url":"https://github.com/stsp/dosemu2/issues/227#issuecomment-241303396","issue_url":"https://api.github.com/repos/stsp/dosemu2/issues/227","id":241303396,"user":{"login":"briceburg","id":490144,"avatar_url":"https://avatars.githubusercontent.com/u/490144?v=3","gravatar_id":"","url":"https://api.github.com/users/briceburg","html_url":"https://github.com/briceburg","followers_url":"https://api.github.com/users/briceburg/followers","following_url":"https://api.github.com/users/briceburg/following{/other_user}","gists_url":"https://api.github.com/users/briceburg/gists{/gist_id}","starred_url":"https://api.github.com/users/briceburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briceburg/subscriptions","organizations_url":"https://api.github.com/users/briceburg/orgs","repos_url":"https://api.github.com/users/briceburg/repos","events_url":"https://api.github.com/users/briceburg/events{/privacy}","received_events_url":"https://api.github.com/users/briceburg/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T02:40:59Z","updated_at":"2016-08-22T02:40:59Z","body":"If I could vote, it would be to move these to the boot.log. I imagine most people would check there if their sound wasn't working -- but would expect it to output in the -h flag as well. \r\n\r\nRe: migration guide, maybe a general FAQ.md would do. I personally am accustomed to projects w/ useful README.md in repo root as it makes them accessible to casual viewers on github. Their markdown supports relative linking, so could link to a docs/MIGRATION_GUIDE or docs/FAQ from there as well?\r\n\r\nI did manage to release w/ `-dumb -q -E <cmd>`, and have `deltree` working nicely -- as if it were a regular linux command!\r\n\r\n```\r\n[nesta@hartford dex]$ export DEX_BIN_DIR=~/bin\r\n[nesta@hartford dex]$ ./dex.sh install --global deltree\r\nbuilding dex/v1-install/deltree:latest ...\r\nSending build context to Docker daemon 4.096 kB\r\nStep 1 : FROM briceburg/dosemu2:dex\r\n ---> 907704eac116\r\nStep 2 : ENV DOSEMU_CMD \"deltree\" DOSEMU_FLAGS \"-dumb -q -E\"\r\n ---> Using cache\r\n ---> 5f542257a59b\r\nStep 3 : LABEL \"org.dockerland.dex.build-api\" \"v1\" \"org.dockerland.dex.build-imgstr\" \"deltree\" \"org.dockerland.dex.build-tag\" \"latest\" \"org.dockerland.dex.image\" \"deltree\" \"org.dockerland.dex.namespace\" \"dex/v1-install\" \"org.dockerland.dex.source\" \"extra\"\r\n ---> Running in f8754e236ded\r\n ---> 8e338a650f5a\r\nRemoving intermediate container f8754e236ded\r\nSuccessfully built 8e338a650f5a\r\nbuilt */deltree\r\ninstalled /home/nesta/bin/ddeltree\r\ninstalled /home/nesta/bin/deltree\r\n[nesta@hartford dex]$ mkdir -p a/b/c\r\n[nesta@hartford dex]$ deltree a\r\nDelete directory \"r:\\home\\nesta\\git\\dex\\a\" and all its subdirectories? [ynq] y\r\nDeleting r:\\home\\nesta\\git\\dex\\a...\r\n[nesta@hartford dex]$ echo \"yay\"\r\nyay\r\n```\r\n\r\nIf you're interested, the dex project can be found here:\r\n  https://github.com/dockerland/dex\r\n\r\nMy dosemu2 images:\r\n  https://github.com/briceburg/docker-dosemu2\r\n\r\nand of deltree is simply \r\n  https://github.com/dockerland/dex-dockerfiles-extra/blob/master/images/deltree/Dockerfile\r\n\r\nDex is still a WIP, but dosemu was important and I'd like to work on fun things like getting it running in alpine (compiling on musl, which I had some issues with and still trying to resolve) and playing w/ SDL2. \r\n"}}
{"actor":{"display_login":"briceburg"}}