Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 20:58
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
No /dev/pty in Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Thu 29 Sep 2005, 12:57    Post subject:  No /dev/pty in Puppy?  

No /dev/pty/* in Puppy,but /dev/pty*

Can I do something to tell some applications that /dev/pty* is /dev/pty/*?

How?

Some applications want a pty,Such as Cxterm, and return error "can find no available ptys?"

Thanks.
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Sat 01 Oct 2005, 09:30    Post subject:  

You could try creating symbolic links to /dev/pty* using /dev/pty/*.
Back to top
View user's profile Send private message 
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Sun 02 Oct 2005, 12:31    Post subject:  

Thanks,but what to do?

In bash:
mkdir /dev/pty
ln /dev/ptyp1 /dev/pty/pty1 ?
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Sun 02 Oct 2005, 16:54    Post subject:  

You create a symbolic link by using the ln -s command. T

To link /dev/pty/* to /dev/pty* you need to open a terminal in /dev, you can do that by using rox to open the /dev directory and then right click in the directory and select 'Xterm here'.

Type in

ln -s /dev/pty* /dev/pty/*

to suit whatever you are trying to show to your program.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0343s ][ Queries: 12 (0.0034s) ][ GZIP on ]