TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

tintin doesn't understand ~?

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
dandenison84



Joined: 30 Dec 2011
Posts: 39

PostPosted: Mon Jan 23, 2012 11:32 am    Post subject: tintin doesn't understand ~? Reply with quote

cd ~
tt++
#read ~/somedir/some.tt

Gives me file not found.

#read somedir/some.tt works.
Back to top
View user's profile Send private message Send e-mail
Slysven



Joined: 10 Apr 2011
Posts: 254
Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK

PostPosted: Mon Jan 23, 2012 12:34 pm    Post subject: Reply with quote

I think that '~' is expanded to your home directory by the (bash?) shell and that expansion does not happen within the file handling operations of TinTin++. Given that you've started Tintin++ from your home directory (~) you CAN refer to that as "." as a starting point for file operations; so, for the example you gave, you can use:
Code:
#read ./somedir/some.tt
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group