Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!xlink.net!news.ppp.de!hcshh.hcs.de!hcswork.hcs.de!hm From: hm@hcswork.hcs.de (Hellmuth Michaelis) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Inappropriate ioctl for device & pcvt driver Date: 22 Aug 95 08:22:39 GMT Organization: HCS Hanseatischer Computerservice GmbH Lines: 79 Distribution: inet Message-ID: <hm.809079759@hcswork.hcs.de> References: <412onl$d7s@hermes.acs.unt.edu> NNTP-Posting-Host: hcswork.hcs.de X-Newsreader: NN version 6.5.0 #5 In <412onl$d7s@hermes.acs.unt.edu> mikye@jove.acs.unt.edu (Myong In Kye) writes: >I have 2.0.5R and built a new kernel to use pcvt, disabling syscons but enabling >pcvt driver, which gives a problem at bootup time. >Next to [keybd, keyrate] (spelling???), the error message says 'Inappropriate >ioctl for device.' The rc script still thinks it runs on a syscons driver and tries to execute the syscons configuration commands instead of the pcvt configuration commands. Have a look at /usr/src/usr.sbin/pcvt/Misc/Etc/rc.local for an example of howto setup the pcvt boottime configuration. >My questions: >1) Hardware probing messages are in red background color. (a feature?) Personal preference. You can change it by looking at pcvt_conf.c, changing the appropriate (commented) constants and recompliling the kernel. >2) Shell prompt goes color (blue). (another feature?) I think, its a feature of your shell issuing some escape sequences to enhance the prompt, its not a feature of pcvt. >3) Are there any other nice features in pcvt? or any limitations or > glitches? Many. Some. :-) Browse the files in /usr/src/usr.sbin/pcvt/Misc/Doc for features, examples, documentation, hints, limitations and bugs. >My problems: >1) Key repeat rate is not set to "fast" as I specified in /etc/sysconfig. See /usr/src/usr.sbin/pcvt/Misc/Etc/rc.local and/or 'man kcon'. >2) Vi screen is not displayed appropriately, sometimes and parts of the screen, > though. See /usr/src/usr.sbin/pcvt/Misc/Doc/NotesAndHints, its a configuration problem. >3) File name completion key, i.e., <tab> key, in tcshell, displays file name > choices on the same command line that I was typing in. Sorry, i have never used tcshell, bash and sh are running as usual. >Help needed: >0) How can I eliminate the error message mentioned above? Use the configuration commands that come with pcvt (i.e. scon, kcon, cursor, loadfont). >1) What steps should I take to set up pcvt properly? > (proper screen display, update/refresh etc.) See the above mentioned rc.local example, it contains a complete setup. >2) How can I set key repeat rate to "fast" with pcvt? 'kcon -r 0 -d 0' sets fastest rate with shortest delay. >3) Which terminal type is the default with pcvt, if I do not specify > the term type at login? No idea, this depends on your setup (see: /etc/ttys, 'man ttys') > Which term type is recommended? vt220 should be fine, if you run pcvt with function key labels turned on, you might want to try the appropriate pcvtXXXX entries in the termcap file, have a look at /usr/share/misc/termcap. Hope this helps! hellmuth -- Hellmuth Michaelis GFKT HCS Computertechnik GmbH Hamburg, Europe "There are lies, damn lies, and open systems." (unknown)