problem regarding to backspace..in getch() function..
5 views
Skip to first unread message
VIKAS RUHELA
unread,
Mar 26, 2008, 2:54:59 PM3/26/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to UIET Sun Open Source User Group
as m developing the code of text editor .....in solaris when i have
to get the character inputed by the user with the help of getch()
function(i use a similar function of getch() bcz it can not be used
inside the UNIX)
i trapped with the backspace the getch() do not recognise the
backspace.....
plz help me if u know another way of trapping the backspace....
Regards
Vikas Ruhela.
Souvik Das Gupta
unread,
Mar 26, 2008, 6:40:05 PM3/26/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uietsunu...@googlegroups.com
Hi Can you tell me a little bit about which function you are using? Does it return ASCII values? Maybe then I will be able to help you better.
Also just consider this point: vi editor does not use backspace :)
Regards Souvik
VIKAS RUHELA
unread,
Mar 27, 2008, 8:52:46 AM3/27/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to UIET Sun Open Source User Group
m using a function which is same as the getch() it returns the ASCII
code
and i also notice the same thing bout vi...
Regards:
Vikas Ruhela