[Freeciv-Dev] (PR#9960) Server does not interpret ~
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#9960) Server does not interpret ~ |
From: |
"Benedict Adamson" <badamson@xxxxxxxxxxx> |
Date: |
Sun, 5 Sep 2004 14:04:47 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9960 >
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'"
- [Freeciv-Dev] (PR#9960) Server does not interpret ~,
Benedict Adamson <=
|
|