Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | general warning cleanupold | Nguyễn Thái Ngọc Duy | 2009-05-10 | 16 | -114/+83 |
| | |||||
* | cygwin_tc?etattr(): dont do anything if failed to detect Cygwin tty | Nguyễn Thái Ngọc Duy | 2009-05-10 | 1 | -4/+4 |
| | |||||
* | get_wincon_width_height(): do not return uninitialized value if ↵ | Nguyễn Thái Ngọc Duy | 2009-05-10 | 1 | -3/+1 |
| | | | | GetConsoleScreenBufferInfo() fails | ||||
* | editors/vi: reimplement mysleep() because select() won't work on stdin on ↵ | Nguyễn Thái Ngọc Duy | 2009-05-10 | 1 | -0/+25 |
| | | | | | | | Windows This makes vi work on rxvt for Windows. There is work to do in winansi.c in order to make vim work on Windows console. | ||||
* | Introduce FEATURE_CYGWIN_TTY | Nguyễn Thái Ngọc Duy | 2009-05-10 | 5 | -3/+233 |
| | | | | | | | | | | | | | This feature allows terminal-aware applications to access Cygwin-based terminal emulator, like rxvt, by allowing access to termios structure managed by Cygwin. The way this works is really intrusive. It examines Cygwin's (unofficial) shared information to find out termios data and manipulate directly on that (without locking, for now). Different Cygwin versions may change share info layout. This patch only supports cygwin-1.7.0-46. Support for other versions can be added later. | ||||
* | introduce libbb/termios.c for terminal-related functions | Nguyễn Thái Ngọc Duy | 2009-05-09 | 5 | -83/+189 |
| | |||||
* | defconfig.mingw32: add more features that work recently | Nguyễn Thái Ngọc Duy | 2009-05-06 | 1 | -13/+17 |
| | |||||
* | libbb/lineedit: simple adaptation to support tab-completion in ash | Nguyễn Thái Ngọc Duy | 2009-05-06 | 1 | -0/+70 |
| | | | | | this is far from perfect as a vt100 emulation, but enough to make ash's tab completion work. | ||||
* | libb/mingw_stat(): turn S_IEXEC on for .exe files | Nguyễn Thái Ngọc Duy | 2009-04-28 | 1 | -0/+4 |
| | |||||
* | libbb/xfuncs.c: reimplement get_terminal_width_height to understand Windows ↵ | Nguyễn Thái Ngọc Duy | 2009-04-28 | 1 | -3/+13 |
| | | | | console | ||||
* | Config.in: comment out programs/features that will not get supported anytime ↵ | Nguyễn Thái Ngọc Duy | 2009-04-28 | 5 | -3/+44 |
| | | | | soon | ||||
* | networking/wget: unmask, with very basic functionality | Nguyễn Thái Ngọc Duy | 2009-04-28 | 2 | -1/+40 |
| | |||||
* | libbb/xconnect: initialize winsock before using it | Nguyễn Thái Ngọc Duy | 2009-04-28 | 3 | -7/+23 |
| | |||||
* | libbb/strbuf_file: stdio emulation layer for handling with Winsock handles | Nguyễn Thái Ngọc Duy | 2009-04-28 | 3 | -0/+189 |
| | | | | not really robust, but enough to make wget works | ||||
* | libbb/xfuncs.c: fix get_terminal_width_height() to 80x25 | Nguyễn Thái Ngọc Duy | 2009-04-28 | 1 | -1/+10 |
| | |||||
* | shell/ash: redo execcmd() and get rid of shellexec() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+11 |
| | |||||
* | shell/ash: pass env vars over when forking shell | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+3 |
| | |||||
* | run-command: rework interface to pass program path directly | Nguyễn Thái Ngọc Duy | 2009-04-23 | 4 | -17/+15 |
| | |||||
* | applets/applets.c: recognize subcommand in .exe form | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+6 |
| | |||||
* | add README.MinGW for starting point and notes | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+34 |
| | |||||
* | add "default" config (at least it compiles) | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+664 |
| | |||||
* | shell/ash: comment out kill.c for now as ash needs it | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+2 |
| | |||||
* | shell/ash: reimplement openhere() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+43 |
| | |||||
* | shell/ash: reimplement evalpipe() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+62 |
| | |||||
* | shell/ash: reimplement evalsubshell() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 2 | -3/+23 |
| | |||||
* | shell/ash: reimplement evalbackcmd() and backquote | Nguyễn Thái Ngọc Duy | 2009-04-23 | 2 | -0/+40 |
| | |||||
* | shell/ash: replace updatepwd() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+89 |
| | |||||
* | shell/ash: replace shellexec() with shellspawn() | Nguyễn Thái Ngọc Duy | 2009-04-23 | 3 | -0/+156 |
| | |||||
* | shell/ash: link forkshell to main program | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+21 |
| | |||||
* | shell/ash: use dup2() where possible, due to copyfd's inefficencies | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -1/+13 |
| | |||||
* | shell/ash: reimplement copy_fd as Windows does not have F_DUPFD | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+17 |
| | | | | | This implementation is quite inefficient. Looking forward to an improvement when we manage file handle table ourselves | ||||
* | shell/ash: search for .exe automatically if .exe is not given | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -1/+21 |
| | |||||
* | shell/ash: stop looking at \r (for CRLF ending) | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+4 |
| | |||||
* | shell/ash: suport /dev/null in redirection | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+24 |
| | |||||
* | shell/ash: teach it to understand semicolon as path separator | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+12 |
| | |||||
* | shell/ash: massive ifdefs to unrelevant remove code | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -3/+104 |
| | | | | | This does not mean that it compiles. But at least it makes later patches easier to see. | ||||
* | shell/ash: add forkshell_* to transfer data via pipe | Nguyễn Thái Ngọc Duy | 2009-04-23 | 2 | -0/+129 |
| | |||||
* | shell/ash: add basic code for transferring internal data | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+783 |
| | | | | | | | Because there is no such thing like fork() on Windows, we somehow need a way to "clone" a shell process. This code streamlines important information that a subshell will need, make it ready for sending to the subshell. | ||||
* | archival/cpio: leave device number field unknown, as Windows does not have it | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+2 |
| | |||||
* | coreutils/split: define NAME_MAX as Windows does not have one | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+4 |
| | |||||
* | Config.in: remove menus that apparently will not work on Windows (except ↵ | Nguyễn Thái Ngọc Duy | 2009-04-23 | 12 | -0/+12 |
| | | | | maybe misc utils) | ||||
* | coreutils/ls: ignore st_blocks as it does not exist on Windows | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+4 |
| | |||||
* | findutils/xargs: do not subtract orig_arg_max to negative value | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -1/+2 |
| | |||||
* | editors/sed: save the last regex for use later with s/// | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -2/+9 |
| | |||||
* | editors/patch: cannot open files because of trailing \n | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -3/+3 |
| | |||||
* | editors/patch: strip all dirs if patch level is -1 | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+7 |
| | |||||
* | editors/patch: support /dev/null | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+4 |
| | |||||
* | coreutils/test: fix wrong "test -rwx" | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+4 |
| | |||||
* | coreutils/test: "test -x foo.exe" should return true | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -0/+18 |
| | |||||
* | coreutils/diff: support /dev/null | Nguyễn Thái Ngọc Duy | 2009-04-23 | 1 | -1/+12 |
| |