uweseimet / scsi2pi

Advanced performant SCSI/SASI emulation and tools for the PiSCSI/RaSCSI board
https://www.scsi2pi.net
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

s2pctl: Add interactive mode #27

Closed uweseimet closed 9 months ago

uweseimet commented 9 months ago

s2pctl shall support an interactive mode. This mode is entered when s2pctl is launched without parameters. In interactive mode commands can be entered on the command line. Ctrl-D exits this mode.

>s2pctl
SCSI Target Emulator and SCSI Tools SCSI2Pi (Server Controller Tool)
Version 1.2-devel
Copyright (C) 2016-2020 GIMONS
Copyright (C) 2020-2023 Contributors to the PiSCSI project
Copyright (C) 2021-2024 Uwe Seimet
Entering interactive mode, quit with Ctrl-D
s2pctl>-r 5
s2pctl>-I
Reserved device IDs: 5
s2pctl>-v
s2pctl version: 1.2-devel