[Freeciv-Dev] (PR#9960) Server does not interpret ~
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9960 >
> [badamson@xxxxxxxxxxx - Sun Sep 05 21:04:46 2004]:
>
> The server uses readline, which can handily complete file names.
> However, readline understands ~ in as an abbreviation for your home
> directory, but the server itself (apparently) does not.
>
> For example, if I (user benedict, with home directory /home/benedict)
> have a file of settings /home/benedict/civ/comp, I can type the server
> command 'read /home/benedict/civ/c<TAB>' and readline will complete the
> file name. readline will also complete 'read ~/civ/c<TAB>' as 'read
> ~/civ/comp'. However, the server will then respond with the error
> message "Cannot read command line scriptfile '~/civ/comp'"
Patch wanted.
jason
|
|