Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#9960) Server does not interpret ~
Home

[Freeciv-Dev] (PR#9960) Server does not interpret ~

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: badamson@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#9960) Server does not interpret ~
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 5 Sep 2004 18:16:19 -0700
Reply-to: rt@xxxxxxxxxxx

<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



[Prev in Thread] Current Thread [Next in Thread]