Error: could not open /dev/kbd to get keyboard


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Error: could not open /dev/kbd to get keyboard
# 1  
Old 04-28-2006
Error: could not open /dev/kbd to get keyboard

hi,
Why do i get an error

"could not open /dev/kbd to get keyboard type US keyboard assumed"

wehn i execute the script on my AIX machine.

Just curious to know.
# 2  
Old 05-01-2006
Without knowing what the script looks like, one can only guess.

Are you using dos2unix or similar command in your script?


On non-i386 systems, dos2unix will attempt to obtain the
keyboard type to determine which code page to use. Other-
wise, the default is US. The user may override the code page
with one of the following options:

-437 Use US code page

-850 Use multilingual code page

-860 Use Portuguese code page
# 3  
Old 05-01-2006
Yup.. -437 will work.. I had the same problem sometime back.. and I used -437 to override that message..
# 4  
Old 12-17-2008
jouuu

Thanks, after days of trying to work around the problem I have an answer.
Do any of you notice that as a non-root user, when running unix2dos dos2unix file file vs file > fileA, the ownership is changed to root on "file" but not on fileA.
I thought it odd that the command would change the ownership on the modified file "file". The work around was to redirect to anther file all together hence file $0 file > fileA.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

Pvcreate can't open /dev/xvda2 exclusively mounted filesystem

I downloaded the RH Linux 6.7 from RHEL, I wanted to extend the storage for "/" from default 16GB to say 200GB. Here’s the steps I tried is : 1. Init 1 2. Using “fdisk /dev/xvda” , delete the swap /dev/xvda3 as well as /dev/xvda2 3. Re-create /dev/xvda2 with linux LVM using new end... (7 Replies)
Discussion started by: alnhk
7 Replies

2. UNIX for Advanced & Expert Users

Pvcreate can't open /dev/xvda2 exclusively mounted filesystem

I downloaded the oracle linux 6.7 from RHEL, I wanted to extend the storage for "/" from default 16GB to say 200GB. Here's the steps I tried is : 1. Init 1 2. Using “fdisk /dev/xvda” , delete the swap /dev/xvda3 as well as /dev/xvda2 3. Re-create /dev/xvda2 with linux LVM using new end blocks ... (1 Reply)
Discussion started by: alnhk
1 Replies

3. Solaris

Can´t open /dev/dsk/c1t0d0s0 Clone/mirror

Hello friends, I Working with Solaris 8 on a SunFireV890, 150 GB SCSI HD's in Raid 1 (mirroring), my problem is that the master disk failed and going to put the slave (mirror) as a Master in the slot 0 (SCSI) will not start. The original mounting this, mirror in Raid 0: c1t0d0s0 (master)... (10 Replies)
Discussion started by: grymorum
10 Replies

4. UNIX for Dummies Questions & Answers

read from terminal/keyboard > /dev/tty

Hi, I need to provide more than one character to "> /dev/tty" through terminal/keyboard input, I have this: ok=false while do echo " Enter r1 to reformat " > /dev/tty read choice case $choice in ) echo " bla bla bla " ;; done However, in this way,... (3 Replies)
Discussion started by: Gery
3 Replies

5. SuSE

can't open /dev/sda3 exclusively

Hi, please help!!! I'm installing an openSUSE 10.3 into a computer, after creating the following partitions: Primay Partition swap / LVM(volume manager) - /dev/sda3 /opt, /var, /tmp, /usr, /local when i tried to continue installing, after creating the partitions i am prompted with the... (2 Replies)
Discussion started by: etcpasswd
2 Replies

6. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

7. UNIX for Advanced & Expert Users

/dev/NULL can't open this file ??

when i write the following two statements : cp /dev/NULL /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp cat /dev/NULL > /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp its gives me errors like : cp: /dev/NULL: A file or directory in the path name does not exist. cat : /dev/NULL can't open... (2 Replies)
Discussion started by: varungupta
2 Replies
Login or Register to Ask a Question