I hacked a little wrapper in Python providing readline functionality for
interactive steamcmd sessions. You can find it over here:
https://github.com/dirkd/steamsh/blob/master/steamsh

At the moment it provides some simple tab-completion (based on the start of
your input, double-tab for a list of matches; no context-aware completion
yet), a command history (saved to ~/.history_steamsh), exit via sending EOF
and also has some quirks:
- Output is being extensively buffered, so you don't get immediate feedback
for long running operations (e.g. app_update)
- Input buffer is sometimes not correctly cleared when stepping through the
history leaving behind artifacts of an entry that was stepped over (doesn't
effect the actual input that is sent to steamcmd though)
- There's a short delay on startup b/c it reads all possible
convars/commands from steamcmd

Should run on any Unix-like system that has Python >=2.6 installed. If it
doesn't please file a bug report on Github so I can fix that :)

hth


On Sun, Mar 31, 2013 at 10:28 PM, ics <[email protected]> wrote:

> No it's not just you. The new tool does not behave like a shell prompt on
> linux which is a shame.
>
> -ics
>
> Joe Davison kirjoitti:
>
>  Further to this I've now found myself trying to use the up arrow key to
>> cycle through previous commands. Is it just me?
>>
>> On 2013-03-31 21:17, Joe Davison wrote:
>>
>>> I don't know about everyone else but I instinctively try to tab
>>> complete commands in the steamcmd prompt only to be met with
>>> disappointment. Would it be possible at all to implement tab
>>> completion in the prompt at some point?
>>>
>>> ______________________________**_________________
>>> To unsubscribe, edit your list preferences, or view the list
>>> archives, please visit:
>>> https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>
>>>
>>
>> ______________________________**_________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>
>>
>
>
> ______________________________**_________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds_linux<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to