Re: backspace shows ^? in serial communication

2013-02-28 Thread Giorgos Keramidas
On 2013-02-26 23:40, s m wrote: > hello all, > > i have problem with backspace in freebsd 8.2. when i run a serial > program to communicate via a serial port to the other system, > backspace shows ^? in opened terminal. i use termios and fcntl to > open, read, write and close

backspace shows ^? in serial communication

2013-02-26 Thread s m
hello all, i have problem with backspace in freebsd 8.2. when i run a serial program to communicate via a serial port to the other system, backspace shows ^? in opened terminal. i use termios and fcntl to open, read, write and close serial port. i set erase and erase2 for ttyu2(my serial port

Re: backspace shows ^? in serial communications

2013-02-11 Thread s m
thanks Robert, i try it before but nothing happened. do you know how i can set erase and erase2 for stty via termios structure? and what should be their value to backspace correct well? On Wed, Feb 6, 2013 at 3:13 PM, Robert Bonomi wrote: > > From owner-freebsd-questi...@freebsd.org Wed

backspace doesn't work correctly with termios

2013-02-11 Thread saeedeh motlagh
hi all i have problem with backspace in serial communication. this is my scenario: i have three box. box number 1 is windows system, number 2 is freeBSD8.2 and number 3 is cisco router. from box number 1 i connect to the box number 2 by putty and run a serial program on box number 2 that connects

Re: backspace shows ^? in serial communications

2013-02-06 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Wed Feb 6 00:19:04 2013 > Date: Wed, 6 Feb 2013 09:44:37 +0330 > Subject: backspace shows ^? in serial communications > From: s m > To: freebsd-questions > > hi all > > i have a problem with backspace in serial communicat

Re: backspace shows ^? in serial communications

2013-02-06 Thread s m
box, backspace shows ^?. now i don't know where is problem and for which system terminal settings should be checked. from you explanation i think that i should check serial settings in c program in the router box. am i right? please let me know what should i do to this program (c program in route

Re: backspace shows ^? in serial communications

2013-02-05 Thread Polytropon
On Wed, 6 Feb 2013 09:44:37 +0330, s m wrote: > hi all > > i have a problem with backspace in serial communications. i have a > freebsd8.2 box with a serial card on it. when i connect to other freebsd > box via serial port backspace does not act as i expected. backspace shows &g

backspace shows ^? in serial communications

2013-02-05 Thread s m
hi all i have a problem with backspace in serial communications. i have a freebsd8.2 box with a serial card on it. when i connect to other freebsd box via serial port backspace does not act as i expected. backspace shows ^? on screen. i searched alot and find out that stty has two parameters

Re: emacs backspace question

2011-03-25 Thread Frédéric Perrin
Nerius Landys writes: > "cons25" is the native FreeBSD console (like when you're physically at > the computer console) and xterm is of course xterm. (Side note: Why > in the heck on my 9.0-CURRENT system the system console says the TERM > is xterm?) http://svn.freebsd.org/viewvc/base?view=revisi

Re: emacs backspace question

2011-03-25 Thread Nerius Landys
pe Enter. 4. Type Ctrl+D. You'll see some codes before the "0a" (because "0a" is newline). I can't remember what I did to get the Backspace codes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/li

Re: emacs backspace question

2011-03-25 Thread Matthew Morgan
On 03/25/2011 08:47 AM, Matthew Morgan wrote: On 03/24/2011 05:55 PM, Nerius Landys wrote: I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and

Re: emacs backspace question

2011-03-25 Thread Matthew Morgan
On 03/24/2011 05:55 PM, Nerius Landys wrote: I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by means of the package

Re: emacs backspace question

2011-03-24 Thread Nerius Landys
> I've read a lot on the internet regarding the use of the backspace key in > emacs, but the proposed solutions don't seem to be working for me. > > I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by > means of the package installer.  Everything in

emacs backspace question

2011-03-24 Thread Matthew Morgan
I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by means of the package installer. Everything in emacs works great e

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-18 Thread Ronald F. Guilmette
>> ways described there to re-enable CNTL-ALT-BACKSPACE functionality >> for the X server, and sadly I must report that for me, at least >> _neither_ of those methods worked > > >Put the following to your xorg.conf: > > >Section "ServerFlags" > Opti

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-16 Thread Warren Block
On Mon, 16 Nov 2009, Philipp Lengemann wrote: Am Sun, 15 Nov 2009 15:19:29 -0800 schrieb "Ronald F. Guilmette" : I _did_ go and read the Handbook section that Manolis Kiagias kindly posted a link to, and I have now tried _both_ of the two ways described there to re-enable CNTL-ALT

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-16 Thread Manolis Kiagias
Polytropon wrote: > On Mon, 16 Nov 2009 19:35:54 +0200, Manolis Kiagias wrote: > >> If you stick with HAL however (using "AllowEmptyInput" bypasses the >> autodetection), you can just use the policy file in the Handbook and >> just add the "DontZap" option in "ServerFlags" or "ServerLayout" sec

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-16 Thread Polytropon
On Mon, 16 Nov 2009 19:35:54 +0200, Manolis Kiagias wrote: > If you stick with HAL however (using "AllowEmptyInput" bypasses the > autodetection), you can just use the policy file in the Handbook and > just add the "DontZap" option in "ServerFlags" or "ServerLayout" section.

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-16 Thread Manolis Kiagias
Philipp Lengemann wrote: > Am Sun, 15 Nov 2009 15:19:29 -0800 > schrieb "Ronald F. Guilmette" : > > >> I _did_ go and read the Handbook section that Manolis Kiagias >> kindly posted a link to, and I have now tried _both_ of the two >> ways describ

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-16 Thread Philipp Lengemann
Am Sun, 15 Nov 2009 15:19:29 -0800 schrieb "Ronald F. Guilmette" : > I _did_ go and read the Handbook section that Manolis Kiagias > kindly posted a link to, and I have now tried _both_ of the two > ways described there to re-enable CNTL-ALT-BACKSPACE functionality > for the

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-16 Thread Warren Block
On Mon, 16 Nov 2009, Jerry wrote: On Sun, 15 Nov 2009 21:18:36 -0700 (MST) Warren Block replied: It's also worth remembering that open source projects like xorg give the users the rare privilege of being able to make a difference. Test code, provide hardware, document bugs or fixes, do or fund

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-16 Thread Jerry
On Sun, 15 Nov 2009 21:18:36 -0700 (MST) Warren Block replied: >On Mon, 16 Nov 2009, Polytropon wrote: > >> On Mon, 16 Nov 2009 02:21:28 +0200, Manolis Kiagias >> wrote: >>> Just the fact that I now have to edit an xml file to simply add a >>> Greek keyboard layout is annoying enough. >> >> The

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-15 Thread Warren Block
On Mon, 16 Nov 2009, Polytropon wrote: On Mon, 16 Nov 2009 02:21:28 +0200, Manolis Kiagias wrote: Just the fact that I now have to edit an xml file to simply add a Greek keyboard layout is annoying enough. The fact that annoys me is that configuration seems to have disassembled into several

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-15 Thread Warren Block
On Mon, 16 Nov 2009, Polytropon wrote: On Mon, 16 Nov 2009 01:49:04 +0200, Manolis Kiagias wrote: By the way Xorg configuration becomes more and more elusive. Initially, DontZap was enough. Then it had no effect at all and the fdi file was needed. Now seems both are needed. What's next? If t

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-15 Thread Polytropon
On Mon, 16 Nov 2009 02:21:28 +0200, Manolis Kiagias wrote: > Just the fact that I now have to edit an xml file to simply add a Greek > keyboard layout is annoying enough. The fact that annoys me is that configuration seems to have disassembled into several parts that are not located in a central

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-15 Thread Manolis Kiagias
Polytropon wrote: > On Mon, 16 Nov 2009 01:49:04 +0200, Manolis Kiagias wrote: > >> By the way Xorg configuration becomes more and more elusive. Initially, >> DontZap was enough. Then it had no effect at all and the fdi file was >> needed. Now seems both are needed. What's next? >> > > If

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-15 Thread Polytropon
On Mon, 16 Nov 2009 01:49:04 +0200, Manolis Kiagias wrote: > By the way Xorg configuration becomes more and more elusive. Initially, > DontZap was enough. Then it had no effect at all and the fdi file was > needed. Now seems both are needed. What's next? If this continues, I'll run my 5.4-p8 work

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-15 Thread Manolis Kiagias
Ronald F. Guilmette wrote: > Many thanks to those who responded regarding my two questions. > > With regards to the CNTL-ALT-BACKSPACE sequence and its ability > (or lack thereof) to cause an immediate shutdown of the X server... > well... I _did_ go and read the Handbook secti

Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-15 Thread Ronald F. Guilmette
Many thanks to those who responded regarding my two questions. With regards to the CNTL-ALT-BACKSPACE sequence and its ability (or lack thereof) to cause an immediate shutdown of the X server... well... I _did_ go and read the Handbook section that Manolis Kiagias kindly posted a link to, and I

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-09 Thread Manolis Kiagias
that? > Add: hw.syscons.kbd_reboot=0 to /etc/sysctl.conf. Activate immediately by executing sysctl hw.syscons.kbd_reboot=0 > 2) Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause an > immediate shutdown of the X server, but now, that doesn't see to work > anymo

Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-09 Thread Tim Judd
tionality. How do I do that? # sysctl -d hw.syscons.kbd_reboot hw.syscons.kbd_reboot: enable keyboard reboot > > 2) Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause an > immediate shutdown of the X server, but now, that doesn't see to work > anymore. How can I (re-)en

Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-09 Thread Ronald F. Guilmette
ALT-DEL now causes a shutdown/reboot. (I don't know what release this new feature started in... I only just noticed it now.) Anyway, I'd like to know how I can disable this particular bit of functionality. How do I do that? 2) Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar
;linux way" and "kde/gnome way" i.e. - adding hald as a "requirement" by default - disabling CTRL-ALT-backspace by default - of course user should not leave X session, it's forbidden ;) it's not funny, because while i don't use all these KDE/gnome things, i

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
Wojciech Puchar wrote: > can older Xorg server be used with just updated drivers? > drivers are separate modules. > Never tried, but the way Xorg is going this looks kind of frightening ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freeb

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Samuel Martín Moro
;>> This is an answer to a question I started to post, but then decided to >>>> research instead. I know many readers of this list use the feature I'm >>>> describing. >>>> >>>> When Xorg was upgraded to version 7.4, the historic ability to sh

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Luke Dean
toric ability to shut down X with Control+Alt+Backspace became a non-default option. The solution to re-enabling this behavior was to add Option "DontZap" "off" to the ServerLayout or ServerFlags section of xorg.conf as documented in a note in the Handbook http://www.freebs

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar
list use the feature I'm describing. When Xorg was upgraded to version 7.4, the historic ability to shut down X with Control+Alt+Backspace became a non-default option. The solution to re-enabling this behavior was to add Option "DontZap" "off" to the ServerLayout

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
4, the historic ability to shut >> down X >> with Control+Alt+Backspace became a non-default option. The solution to >> re-enabling this behavior was to add >> Option "DontZap" "off" >> to the ServerLayout or ServerFlags section of xorg.conf as

Re: Shutting down X with control+alt+backspace

2009-06-06 Thread Manolis Kiagias
Luke Dean wrote: > > This is an answer to a question I started to post, but then decided to > research instead. I know many readers of this list use the feature I'm > describing. > > When Xorg was upgraded to version 7.4, the historic ability to shut > down X > with C

Shutting down X with control+alt+backspace

2009-06-05 Thread Luke Dean
This is an answer to a question I started to post, but then decided to research instead. I know many readers of this list use the feature I'm describing. When Xorg was upgraded to version 7.4, the historic ability to shut down X with Control+Alt+Backspace became a non-default option.

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Gary Kline
"everyone" else uses ^H for backspace - all of the BSD's and all > > > of the vendor Unix's). > > > > As far as I know, ^? indicates the delete key... Maybe the > > delete key does ^H in this setting? > > By "uses ^H for backspace", I was r

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Thomas Dickey
On Sat, May 23, 2009 at 03:03:00PM +0200, Polytropon wrote: > On Sat, 23 May 2009 06:35:56 -0400, Thomas Dickey wrote: > > probably (outside of Linux and a few special cases such as Cygwin, > > "everyone" else uses ^H for backspace - all of the BSD's and all > >

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Polytropon
On Sat, 23 May 2009 06:35:56 -0400, Thomas Dickey wrote: > probably (outside of Linux and a few special cases such as Cygwin, > "everyone" else uses ^H for backspace - all of the BSD's and all > of the vendor Unix's). As far as I know, ^? indicates the delete key...

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Thomas Dickey
On Fri, May 22, 2009 at 11:04:05PM -0700, Gary Kline wrote: > guys, > > here's a bug with how the backspace key doesn't work across computers. > i'm not sure if there were troubles going from FBSD to FBSD, but there is > when i ssh from my ubuntu platform to my ma

backspace-key and ^H when ssh -X remote.

2009-05-22 Thread Gary Kline
guys, here's a bug with how the backspace key doesn't work across computers. i'm not sure if there were troubles going from FBSD to FBSD, but there is when i ssh from my ubuntu platform to my main desktop. i do this to edit files or for replying to mutt mail using vi. going fro

Re: Backspace Key Not Working

2008-08-02 Thread Michael P. Soulier
On 26/07/08 Schiz0 said: > Hey, > > I have an annoying problem that I'm not sure how to solve. Here's my setup: > > PuTTy => My FreeBSD 6.2 box => Production FreeBSD 7.0 box > > All via SSH, of course. Now, on my FreeBSD 6.2 box, the backspace key >

Re: Backspace Key Not Working

2008-07-26 Thread Schiz0
.vimrc on the 7.0 box: --- set autoindent set background=dark set backspace=indent,eol,start set cmdheight=2 set ignorecase set number set numberwidth=2 set report=0 set restorescreen=on set ruler set scrolloff=3 set showbreak=++ set showmatch set showmode set showtabline=3

Re: Backspace Key Not Working

2008-07-26 Thread Sahil Tandon
Schiz0 <[EMAIL PROTECTED]> wrote: > I have an annoying problem that I'm not sure how to solve. Here's my setup: > > PuTTy => My FreeBSD 6.2 box => Production FreeBSD 7.0 box > > All via SSH, of course. Now, on my FreeBSD 6.2 box, the backspace key >

Backspace Key Not Working

2008-07-26 Thread Schiz0
Hey, I have an annoying problem that I'm not sure how to solve. Here's my setup: PuTTy => My FreeBSD 6.2 box => Production FreeBSD 7.0 box All via SSH, of course. Now, on my FreeBSD 6.2 box, the backspace key works fine all the time. However, when I connect from my 6.2 box int

vim undo (was Re: remote [ssh] Backspace] key gives me "^?")

2007-09-17 Thread N.J. Thomas
* Gary Kline <[EMAIL PROTECTED]> [2007-09-16 19:29:08 -0700]: > There are Lots of thing I like about vim, but after having fouled up > with the undo's and lost some critical writing or code, I went back to > what I've usedsince Bill Joy pointed me at vi. Presumably, you are talking about vi's (and

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-17 Thread Jordan Gordeev
Gary Kline wrote: On Sat, Sep 15, 2007 at 02:31:40PM -0600, Chad Perrin wrote: On Sun, Sep 16, 2007 at 08:40:00PM +0300, Jordan Gordeev wrote: Gary Kline wrote: I find that if I use Settings -> Keyboard and then select "FreeBSD Console", I come fairly close. Then [Backspac

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-16 Thread Gary Kline
On Sat, Sep 15, 2007 at 02:31:40PM -0600, Chad Perrin wrote: > On Sun, Sep 16, 2007 at 08:40:00PM +0300, Jordan Gordeev wrote: > > Gary Kline wrote: > > > > > I find that if I use Settings -> Keyboard and then select > > > "FreeBSD Consol

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-16 Thread Gary Kline
as just until we moved into offices!) Nutshell, I will either buy a fancyy clicky keyboard or write a CLICK Driver.Meanehile, unless I set Konsole to ring the WAV belll, no *ding*. > > > I find that if I use Settings -> Keyboard and then s

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-16 Thread Chad Perrin
On Sun, Sep 16, 2007 at 08:40:00PM +0300, Jordan Gordeev wrote: > Gary Kline wrote: > > > I find that if I use Settings -> Keyboard and then select > > "FreeBSD Console", I come fairly close. Then [Backspace] > > backs up, but the

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-16 Thread Jordan Gordeev
en select "FreeBSD Console", I come fairly close. Then [Backspace] backs up, but the characters are not erased as I space backways. UsingTerminal, it defaults to this. Characters are not erased for me when I hit backspace in vi. In vim, they are. Anther indicator that

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Gary Kline
4, 2007 at 06:01:03PM -0700, Gary Kline wrote: > > > > > > > >>Sometimes when I ssh from a remote server and edit a file with > > > >>vi, my [Backspace keys] are not interpretered correctly. > > > >>Instead of eras

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Gary Kline
xterms; on my "new tao" runnning Gnome as a manager, I use Konsole. Entrely to get the BEL in vi/nvi. I find that if I use Settings -> Keyboard and then select "FreeBSD Console", I come fairly close. Then [Backspace] backs up, but the characte

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Chad Perrin
On Sat, Sep 15, 2007 at 01:28:22PM -0700, Gary Kline wrote: > > Trying to use stty failed... . What terminal emulator are you using? It may be that, as was the case with me when I was using aterm, I needed to use stty *and* needed to change a configuration in the aterm makefile. It's poss

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Chris Keladis
ssh from a remote server and edit a file with > > >>vi, my [Backspace keys] are not interpretered correctly. > > >>Instead of erasing characters and backing up one byte and > > >>clearing that character my cursor moves forward. > > >> &

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Mel
wrote: > > > > >On Fri, Sep 14, 2007 at 06:01:03PM -0700, Gary Kline wrote: > > > > >> Sometimes when I ssh from a remote server and edit a file with > > > > >> vi, my [Backspace keys] are not interpretered correctly. > > > > &g

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Gary Kline
ote: > > > >>Sometimes when I ssh from a remote server and edit a file with > > > >>vi, my [Backspace keys] are not interpretered correctly. > > > >>Instead of erasing characters and backing up one byte and > > > >>

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Mel
dit a file with > > >> vi, my [Backspace keys] are not interpretered correctly. > > >> Instead of erasing characters and backing up one byte and > > >> clearing that character my cursor moves forward. > > >> > > >> Example: typing &quo

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Gary Kline
On Sat, Sep 15, 2007 at 10:58:52AM -0700, Garrett Cooper wrote: > Chad Perrin wrote: > >On Fri, Sep 14, 2007 at 06:01:03PM -0700, Gary Kline wrote: > > > >>Sometimes when I ssh from a remote server and edit a file with > >>vi, my [Backspace keys

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Garrett Cooper
Chad Perrin wrote: On Fri, Sep 14, 2007 at 06:01:03PM -0700, Gary Kline wrote: Sometimes when I ssh from a remote server and edit a file with vi, my [Backspace keys] are not interpretered correctly. Instead of erasing characters and backing up one byte and clearing that

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Chad Perrin
On Fri, Sep 14, 2007 at 06:01:03PM -0700, Gary Kline wrote: > > Sometimes when I ssh from a remote server and edit a file with > vi, my [Backspace keys] are not interpretered correctly. > Instead of erasing characters and backing up one byte and > clearing

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-15 Thread Gary Kline
On Sat, Sep 15, 2007 at 01:17:58AM +, Pollywog wrote: > On Saturday 15 September 2007 01:01:03 Gary Kline wrote: > > Sometimes when I ssh from a remote server and edit a file with > > vi, my [Backspace keys] are not interpretered correctly. > > Instead of e

Re: remote [ssh] Backspace] key gives me "^?"

2007-09-14 Thread Pollywog
On Saturday 15 September 2007 01:01:03 Gary Kline wrote: > Sometimes when I ssh from a remote server and edit a file with > vi, my [Backspace keys] are not interpretered correctly. > Instead of erasing characters and backing up one byte and > clearing that

remote [ssh] Backspace] key gives me "^?"

2007-09-14 Thread Gary Kline
Sometimes when I ssh from a remote server and edit a file with vi, my [Backspace keys] are not interpretered correctly. Instead of erasing characters and backing up one byte and clearing that character my cursor moves forward. Example: typing "Thi

Re: Backspace

2007-08-17 Thread Christopher Hilton
: after I login -> [press backspace] -> ^H appears -> [press DEL] -> ^? appears in emacs -> [press backspace] -> oops, help appears stty can translate a small set of keystrokes into functions and gets used by the shell. In stty you can set the erase character to Ctrl-H. The she

Re: Backspace

2007-08-13 Thread Derek Ragona
thought it should be is: after I login -> [press backspace] -> ^H appears -> [press DEL] -> ^? appears in emacs -> [press backspace] -> oops, help appears I think Solaris was just like the above. But in my FreeBSD, things go like: after I login -> [press backspace will erase la

Re: Backspace

2007-08-12 Thread d . Z .
-> [press backspace] -> ^H appears -> [press DEL] -> ^? appears in emacs -> [press backspace] -> oops, help appears I think Solaris was just like the above. But in my FreeBSD, things go like: after I login -> [press backspace will erase last char] -> [press DEL does the

Re: Backspace

2007-08-12 Thread Jerry McAllister
On Sun, Aug 12, 2007 at 01:31:36PM -0500, Derek Ragona wrote: > At 10:54 PM 8/11/2007, d.Z. wrote: > >Hello, > > > >I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in > >lab, and found there is a difference between them. > > > >When Sol

Re: Backspace

2007-08-12 Thread Dick Hoogendijk
Derek Ragona <[EMAIL PROTECTED]> writes: > Solaris by default uses csh for user accounts. What kind of information is this? Solaris does _not_ use csh. Not for root and not for user accounts. Both use 'sh' This is for solaris 10 The developers and community editions use bash for their user logins

Re: Backspace

2007-08-12 Thread Derek Ragona
At 10:54 PM 8/11/2007, d.Z. wrote: Hello, I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in lab, and found there is a difference between them. When Solaris is installed, press backspace will give you ^H, you'll have to "stty erase ^H" to solve this probl

Backspace

2007-08-11 Thread d . Z .
Hello, I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in lab, and found there is a difference between them. When Solaris is installed, press backspace will give you ^H, you'll have to "stty erase ^H" to solve this problem. But with FreeBSD 6.1, when first ins

Re: Backspace problems

2007-06-12 Thread Lars Kristiansen
o that it does not run in vi compatibility mode. I did this and now my backspace and delete work like I want them to. :) I appreciate the replies. For vim, my favorite is this: cp /usr/local/share/vim/vim70/vimrc_example.vim ~/.vimrc Regards, Lars _

Re: Backspace problems

2007-06-12 Thread Scott Mayo
doug wrote: On Mon, 11 Jun 2007, Scott Mayo wrote: I am not on any VI list, but thought I would post this here to see if anyone had any ideas. This is my first FreeBSD server, so I am still learning. I got my backspace and delete working the shell after a few adjustments, but they still

Re: Backspace problems

2007-06-12 Thread Jerry McAllister
> > Scott Mayo wrote: > > If I hit backspace it just backs up on the line until > were input-mode > was started during this input-mode session. If I hit > delete then it > capitalizes the charcter behind the cursor and throws > me into > command-mode. You

RE: Backspace problems

2007-06-11 Thread Neil Short
Scott Mayo wrote: If I hit backspace it just backs up on the line until were input-mode was started during this input-mode session. If I hit delete then it capitalizes the charcter behind the cursor and throws me into command-mode. === This way to get things to delete in vi seems

Backspace problems

2007-06-11 Thread Scott Mayo
I am not on any VI list, but thought I would post this here to see if anyone had any ideas. This is my first FreeBSD server, so I am still learning. I got my backspace and delete working the shell after a few adjustments, but they still act odd in VI. I have checked setting with my linux

Re: Backspace key "<-" not mapping to ^H

2007-02-28 Thread Gary Kline
the preferences accessible from the > >>menu. > >> > >>That's what I meant. Just relaying my experience because I had a similar > >>problem recently with Suse. > >> > >>-Garrett > >> > > > > > > Too bad there isn&#x

Re: Backspace key "<-" not mapping to ^H

2007-02-28 Thread youshi10
re isn't some sort of web database for these sorts of miscellany with tags like (vi backspace-failure term) that would aide the search and solution for these type questions. This may be one of Google's aims, but there are miles to go gary Someone (Chuck

Re: Backspace key "<-" not mapping to ^H

2007-02-28 Thread Gary Kline
Too bad there isn't some sort of web database for these sorts of miscellany with tags like (vi backspace-failure term) that would aide the search and solution for these type questions. This may be one of Google's aims, but there are miles to go gary

Re: Backspace key "<-" not mapping to ^H

2007-02-28 Thread youshi10
signment of BS/DEL to the "backspace" key (unlike gnome-terminal, it has a manpage describing these details ;-). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net You can set the default terminal in gnome to be xterm instead of Gnome Terminal. Gnome then

Re: Backspace key "<-" not mapping to ^H

2007-02-28 Thread Gary Kline
rminal shell using the Terminal command under the menu) has > > gnome-terminal isn't xterm (OP isn't making that distinction either). > > xterm has menu settings which can change the assignment of BS/DEL to the > "backspace" key (unlike gnome-terminal, it has

Re: Backspace key "<-" not mapping to ^H

2007-02-28 Thread Thomas Dickey
, which makes it use DEL, FreeBSD uses BS for erase, etc). > The terminal settings available from gnome (if you open up an xterm / > Gnome terminal shell using the Terminal command under the menu) has gnome-terminal isn't xterm (OP isn't making that distinction either). xterm

Re: Backspace key "<-" not mapping to ^H

2007-02-28 Thread Garrett Cooper
Jordan Gordeev wrote: Gary Kline wrote: I'm not sure whether this just in Ubuntu or in the Gnome desktop or what, but for days, when I type mail in vi in mutt, sometimes I get a "^?" when I hit the backspace. ^H still works to back up and correct my typos, but t

Re: Backspace key "<-" not mapping to ^H

2007-02-27 Thread Jordan Gordeev
Gary Kline wrote: I'm not sure whether this just in Ubuntu or in the Gnome desktop or what, but for days, when I type mail in vi in mutt, sometimes I get a "^?" when I hit the backspace. ^H still works to back up and correct my typos, but that&#

Backspace key "<-" not mapping to ^H

2007-02-27 Thread Gary Kline
I'm not sure whether this just in Ubuntu or in the Gnome desktop or what, but for days, when I type mail in vi in mutt, sometimes I get a "^?" when I hit the backspace. ^H still works to back up and correct my typos, but that's lots mo

Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm?

2005-12-07 Thread James Bailie
Constantine A. Murenin wrote: > They map it perfectly fine as 127, it's only FreeBSD's ee(1) that has > this problem, tcsh and others work fine. ee does not do this on the console on my 5.4 machine, nor does it do this in an XTerm over an ssh connection to my 4.11 machine, therefore I would susp

Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm?

2005-12-07 Thread Constantine A. Murenin
On 07 Dec 2005 09:27:48 -0500, Lowell Gilbert <[EMAIL PROTECTED]> wrote: > "Constantine A. Murenin" <[EMAIL PROTECTED]> writes: > > > Hello, > > > > When I ssh my FreeBSD 4.8 machine and try to use ee(1), I always > > notice that Backspace eras

Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm?

2005-12-07 Thread Lowell Gilbert
"Constantine A. Murenin" <[EMAIL PROTECTED]> writes: > Hello, > > When I ssh my FreeBSD 4.8 machine and try to use ee(1), I always > notice that Backspace erases the following character, not the previous > one. On the contrary, I've noticed that it does no

ee(1): why Backspace doesn't work as expected if $TERM=xterm?

2005-12-06 Thread Constantine A. Murenin
Hello, When I ssh my FreeBSD 4.8 machine and try to use ee(1), I always notice that Backspace erases the following character, not the previous one. On the contrary, I've noticed that it does not do that when I login via console. So I decided to play with the value of $TERM. By default, w

Emacs and backspace - again

2005-07-22 Thread Gordon Farquharson
Hi Roger Try M-x normal-erase-is-backspace-mode. If that works for you, then add (normal-erase-is-backspace-mode 0) to your .emacs file. More information is available in the Emacs manual, section: "If Fails to Delete". Gordon -- Gordon Farquharson NCAR/EOL/RTF PO Box 3000 Boulder

Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 11:57:51AM -0700, Ben Jencks wrote: > Did you start the screen session from within the local/telnet/ssh/serial > connection you're attempting to use it from? I've found that if you > start a screen session with one keyboard/OS/keymap/method of connection, > and attempt to us

Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Ben Jencks
e problems have > plagued me through several versions though). On one system, arrows > and backspace work as expected, but on the other, left/right arrows in > vi cause havock (extra characters and a switch from command to insert > mode), and backspace in Lynx, Mutt, etc., backs up but leaves

Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 07:57:05AM -0700, Gary W. Swearingen wrote: > You didn't mention these (albeit unlikely) things: > -- Different "console driver" (sc vs. vt) in kernel. Both are the same; not using pcvt. > -- Different "keymap" (see /etc/default/rc.conf). Not setting key maps. >

Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Gary W. Swearingen
Doug Lee <[EMAIL PROTECTED]> writes: > characters intact instead of clearing them. I have verified that the > following are identical on both systems: You didn't mention these (albeit unlikely) things: -- Different "console driver" (sc vs. vt) in kernel. -- Different "keymap" (see /etc/d

Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 04:43:32AM -0700, Glenn Dawson wrote: > Check TERM in the environment of a shell that's inside screen. It should > be 'screen'. If it's not, or there's no entry for screen in termcap you'll > have exactly the problem you are seeing. "screen" it is, and here's the /etc/t

Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 12:41:33PM +0100, Alex Zbyslaw wrote: Doug Lee wrote: > One thing to check is that both keyboards are actually producing the > same codes for your keys. They probably are, but... Yes they are. The truth table (or approximation thereof) also shows that it doesn't matter

  1   2   >