summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-23We don't have a config file on the ramdisks; prevents a warning.Florian Obser
2021-08-23Since we have a config file now we should Xr its manpage.Florian Obser
From Scott Bennett, thanks!
2021-08-23I missed that wskbd_rawinput() is hidden behind WSDISPLAY_COMPAT_RAWKBDanton
as discovered by deraadt@; should hopefully make ucc(4) work on alpha.
2021-08-23args_make_commands_now needs to take an extra reference to the returnedNicholas Marriott
command list since it will be freed already.
2021-08-23Move command argument parsing common functions and don't bother to parseNicholas Marriott
again if given a command rather than a string.
2021-08-23Key bindings steal a reference to the command instead of adding theirNicholas Marriott
own, it was correct not to add a reference when parsing, but the bind-key then needs to add one.
2021-08-23Revert one of previous, for some reason it is being freed.Nicholas Marriott
2021-08-23Fix a few memory leaks.Nicholas Marriott
2021-08-23Fix the initial length check in iwx_fill_probe_req() to match iwm(4).Stefan Sperling
Patch by zxystd from OpenIntelWireless.
2021-08-23Limit width and height to tty correctly, GitHub issue 2843.Nicholas Marriott
2021-08-22Fix handling of leading #s when working out width.Nicholas Marriott
2021-08-22Do not double free expanded path in source-file, also remove someNicholas Marriott
unnecessary assignments.
2021-08-22Insert alias in the right place, GitHub issue 2842.Nicholas Marriott
2021-08-22Since the raw keymap already has a capacity of holding all present keys,anton
use it as a lookup table using the bit as the index. Removes the need to linearly scan the same keymap during handling of a key press, not that performance matters here since the length of the keymap is small but the code gets a bit simpler and one struct becomes redundant. While here, fix two incorrect conditionals in ucc_parse_hid() which compared two different quantities.
2021-08-22ucc also fails to work here, because there is no wskbd_rawinputTheo de Raadt
2021-08-21Free value properly.Nicholas Marriott
2021-08-21Preserve argument type in command and convert to string on demand.Nicholas Marriott
2021-08-21Pass typed arguments out of the parser into the arguments list and letNicholas Marriott
it convert them into strings.
2021-08-21ioc(4) disappeared with sgi removal...Jason McIntyre
2021-08-21escape two instances of the word "An" in Rs/Re blocks: although mandocJason McIntyre
can handle it, groff does not like it;
2021-08-21Use new syntax for default key bindings.Nicholas Marriott
2021-08-21Stop caring about empty commands, just treat as a null command.Nicholas Marriott
2021-08-21octeon has no wskbd, so ucc cannot link. the files.usb parts should haveTheo de Raadt
handled this, but they don't. disable until this is revisited.
2021-08-21Remove some members of struct cmd which are no longer used.Nicholas Marriott
2021-08-21Preserve command group when moving temporary list to current list beingNicholas Marriott
buit.
2021-08-21Rename a member to match what it will be in future.Nicholas Marriott
2021-08-21make the description for ucc match exactly;Jason McIntyre
2021-08-21Add args parsing callback for some future work, currently unused.Nicholas Marriott
2021-08-21Wrap command argument definitions in their own struct.Nicholas Marriott
2021-08-21fix indent in previousanton
2021-08-21Switch macppc to ld.lldgkoehler
Add powerpc to LLD_ARCH. Remove -Wl,-relax flag; ld.bfd needed it, but ld.lld can't take this flag. To avoid linker errors on macppc, you need a snapshot where /usr/bin/ld is LLD. ok kettenis@ deraadt@
2021-08-21refactor to resolve unused variable on non-WSDISPLAY_COMPAT_RAWKBD archTheo de Raadt
2021-08-20A couple more spacing fixes.Nicholas Marriott
2021-08-20Spacing tweaks.Nicholas Marriott
2021-08-20Hide struct args behind a couple of accessor functions.Nicholas Marriott
2021-08-20Add a couple of const and fix some warnings.Nicholas Marriott
2021-08-20Remove some unnecessary blank lines.Nicholas Marriott
2021-08-20Expose args_value struct (will be needed soon) and add some missing frees.Nicholas Marriott
2021-08-20Add a way to create an empty arguments set.Nicholas Marriott
2021-08-20Remove stray spaces after function names.Nicholas Marriott
2021-08-20Fill colour palette correctly from option for new panes, GitHub issueNicholas Marriott
2831.
2021-08-20Actually parse contents of {} as a command and then convert to a stringNicholas Marriott
instead of just copying arguments around as strings.
2021-08-20Add a helper function for actually parsing the command.Nicholas Marriott
2021-08-20syncanton
2021-08-20add ucc(4) manual, looks good to jmc@anton
2021-08-20Add ucc(4), a driver for USB HID Consumer Control keyboards. Suchanton
keyboard is a pseudo device which is used to expose audio and application launch keys. My prime motivation is to get the volume mute, increment and decrement keys to just work on my keyboard without the need to use usbhidaction(1). Looks reasonable to kettenis@ mpi@ and ok jcs@
2021-08-20add consumer control hid usages, will be used by ucc(4)anton
2021-08-20Back out last commit.Kevin Lo
deraadt@ pointed out that the operation is correct. It attaches, but by then it is being pulled. The dying flag is set to avoid half the kinds of failure conditions. The other half of the failure conditions are detect on-the-spot. And it seems when compiled for debug, this on-the-spot check which notices the device isn't there, has a printf.
2021-08-20openssh-8.7Damien Miller
2021-08-20When plugging and unplugging an adapter continuously, it waits for a timeoutKevin Lo
over and over again. The problem is that the device has been unplugged, but the attach handler still issues USB requests via ure_ctl(). The easiest solution is to deactivate the device proactively in ure_ctl() when we see that error there. From Christian Ludwig