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 26 Nov 2014, 10:11
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 Posts_count  
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0407s ][ Queries: 11 (0.0062s) ][ GZIP on ]