Re: cursor keys not working on console
On Thu, 08 Aug 2013 21:18:15 -0400 Thomas Dickey dic...@his.com wrote: On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote: The cursor keys on the consoles in freebsd CURRENT (no X11 virtual consoles, the FreeBSD consoles!) do not work for me. I use tcsh as the main shell. As set by default in /etc/ttys, the console's terminal type is xterm. Switching to setenv TERM cons25 solves the problem, but the menus in ports via make config look ugly and more ugly, but they are unusable with the setting TERM=xterm. What is wrong here? Why are the cursor keys not working in the console/ports menu as expected when using tcsh/csh as default shell? from infocmp (cons25 vs xterm): kcub1: '\E[D', '\EOD'. kcud1: '\E[B', '\EOB'. kcuf1: '\E[C', '\EOC'. kcuu1: '\E[A', '\EOA'. It's probably http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode You would probably find TERM=xterm-noapp and improvement. Hello. Thanks, this works for me. I was wondering if others did not have the same problem, since I use only standard settings for the console (except that I use csh/tcsh instead of sh). Regards, Oliver signature.asc Description: PGP signature
cursor keys not working on console
The cursor keys on the consoles in freebsd CURRENT (no X11 virtual consoles, the FreeBSD consoles!) do not work for me. I use tcsh as the main shell. As set by default in /etc/ttys, the console's terminal type is xterm. Switching to setenv TERM cons25 solves the problem, but the menus in ports via make config look ugly and more ugly, but they are unusable with the setting TERM=xterm. What is wrong here? Why are the cursor keys not working in the console/ports menu as expected when using tcsh/csh as default shell? Plese CC me. Regards, Oliver signature.asc Description: PGP signature
Re: cursor keys not working on console
On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote: The cursor keys on the consoles in freebsd CURRENT (no X11 virtual consoles, the FreeBSD consoles!) do not work for me. I use tcsh as the main shell. As set by default in /etc/ttys, the console's terminal type is xterm. Switching to setenv TERM cons25 solves the problem, but the menus in ports via make config look ugly and more ugly, but they are unusable with the setting TERM=xterm. What is wrong here? Why are the cursor keys not working in the console/ports menu as expected when using tcsh/csh as default shell? from infocmp (cons25 vs xterm): kcub1: '\E[D', '\EOD'. kcud1: '\E[B', '\EOB'. kcuf1: '\E[C', '\EOC'. kcuu1: '\E[A', '\EOA'. It's probably http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode You would probably find TERM=xterm-noapp and improvement. -- Thomas E. Dickey dic...@invisible-island.net http://invisible-island.net ftp://invisible-island.net signature.asc Description: Digital signature
Root password not working on console
I recently *accidentally* removed myself from the wheel group, so I was no longer able to use su to root. To fix it, I hooked up a monitor and keyboard to my FreeBSD 8.2 box so I could login as root, but it kept rejecting my password. I restarted the machine in single-user mode, did the following: mount -u / mount -a passwd exit So it booted back in to multi-user mode. Once again, I tried to login as root, but got the same Login incorrect message. Puzzled, I repeated the previous steps using the password pass this time. However, I went ahead and added my user account to the wheel group while in single-user mode. Once in multi-user mode again, I still got Login incorrect (specifically, pam_acct_mgmt(): authentication error) when logging in as root. I SSH'd to the machine as my regular user, typed su, and entered pass which worked just fine. So, I have absolutely no clue why I am unable to login to my machine, on the console, as root with pass, but it works when using su from a regular user account. I tried searching around but almost all of the hits are about resetting the root password in single-user mode. Does any one know what I'm doing incorrectly? Thanks for any help in advance, -Walt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Root password not working on console
On 08/31/2012 03:37 PM, Walt Elam wrote: I recently *accidentally* removed myself from the wheel group, so I was no longer able to use su to root. To fix it, I hooked up a monitor and keyboard to my FreeBSD 8.2 box so I could login as root, but it kept rejecting my password. I restarted the machine in single-user mode, did the following: mount -u / mount -a passwd exit So it booted back in to multi-user mode. Once again, I tried to login as root, but got the same Login incorrect message. Puzzled, I repeated the previous steps using the password pass this time. However, I went ahead and added my user account to the wheel group while in single-user mode. Once in multi-user mode again, I still got Login incorrect (specifically, pam_acct_mgmt(): authentication error) when logging in as root. I SSH'd to the machine as my regular user, typed su, and entered pass which worked just fine. So, I have absolutely no clue why I am unable to login to my machine, on the console, as root with pass, but it works when using su from a regular user account. I tried searching around but almost all of the hits are about resetting the root password in single-user mode. Does any one know what I'm doing incorrectly? Thanks for any help in advance, -Walt The only thing that comes to mind would be to check /etc/ttys and see if the console ttys are set to insecure, which would prevent root login. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Root password not working on console
Jeremy, Nailed it on the head. I had forgotten that a few weeks ago I was messing around with that file. I changed this line: ttyv0 /usr/libexec/getty Pc cons25 on insecure to this: ttyv0 /usr/libexec/getty Pc cons25 on secure And now I am able to login to root from the console. Thanks for the quick help! I should've remembered that. -Walt On Fri, Aug 31, 2012 at 6:51 PM, Jeremy Johnston jer...@stormy.smart-serv.net wrote: On 08/31/2012 03:37 PM, Walt Elam wrote: I recently *accidentally* removed myself from the wheel group, so I was no longer able to use su to root. To fix it, I hooked up a monitor and keyboard to my FreeBSD 8.2 box so I could login as root, but it kept rejecting my password. I restarted the machine in single-user mode, did the following: mount -u / mount -a passwd exit So it booted back in to multi-user mode. Once again, I tried to login as root, but got the same Login incorrect message. Puzzled, I repeated the previous steps using the password pass this time. However, I went ahead and added my user account to the wheel group while in single-user mode. Once in multi-user mode again, I still got Login incorrect (specifically, pam_acct_mgmt(): authentication error) when logging in as root. I SSH'd to the machine as my regular user, typed su, and entered pass which worked just fine. So, I have absolutely no clue why I am unable to login to my machine, on the console, as root with pass, but it works when using su from a regular user account. I tried searching around but almost all of the hits are about resetting the root password in single-user mode. Does any one know what I'm doing incorrectly? Thanks for any help in advance, -Walt The only thing that comes to mind would be to check /etc/ttys and see if the console ttys are set to insecure, which would prevent root login. __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Working at Console
Graham Bentley wrote: Hi All, I am interested in setting up a text based / console system. So far I have learnt how to recompile the kernel and get 1024x768 console. I have 'mc' loaded because I am familiar with that. And of course sendmail is already sending mail. Then there is elinks for web ... What other apps are people using / recommend for other tasks on this type of system for ; Email (mutt, pine, other?) Word Processing Music CD MP3 CD Writing Screen ? and any other usefull programs that replace their X equivs ? Thanks ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] To play mp3's from commandline I usually just use mplayer, but you might also want to check out musicpd allthough that might be a little to drastic for what you want. For cd-writing I use the burncd command, it comes with the cdrecord port. If you allready had some (gui) progam to burn cd's you can count on it you allready have cdrecord installed :) For IM-programs ( don't know if you use them ) you might want to check out irssi + bitlbee -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Working at Console
On Fri, Nov 24, 2006 at 12:46:12PM -, Graham Bentley wrote: Hi All, I am interested in setting up a text based / console system. So far I have learnt how to recompile the kernel and get 1024x768 console. I have 'mc' loaded because I am familiar with that. And of course sendmail is already sending mail. Then there is elinks for web ... What other apps are people using / recommend for other tasks on this type of system for ; Email (mutt, pine, other?) I can recommend you mutt-ng (mutt next generation, ports/mail/mutt-ng). I use Mutt-ng devel-r804 (based on Mutt 1.5.11/2005-09-15) now. Elisej Babenko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Working at Console
Hi All, I am interested in setting up a text based / console system. So far I have learnt how to recompile the kernel and get 1024x768 console. I have 'mc' loaded because I am familiar with that. And of course sendmail is already sending mail. Then there is elinks for web ... What other apps are people using / recommend for other tasks on this type of system for ; Email (mutt, pine, other?) Word Processing Music CD MP3 CD Writing Screen ? and any other usefull programs that replace their X equivs ? Thanks ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Working at Console
Hi Graham you might want to check out audio/mp3blaster, very mature and powerful. http://www.freshports.org/audio/mp3blaster/ regards, Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Working at Console
Hi, I like cmus for playing mp3s on the console. It has an album view and an integrated library, so its feature set has many things in common with the big X11 music players. To play CDs from the command line, there is a tool named cdplay available. I prefer mutt for mail. For text processing, I like to use TeX, but you have to learn its syntax. There are extensions available for Emacs and vim (syntax highlighting). Regards, Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]