Andrewski Posted January 26, 2004 Report Share Posted January 26, 2004 Scenario: I'm running checkinstall to make an RPM of the latest software. I mess up when adding the obligatory ABC to the end of every file, so I hit backspace. However, instead of removing the characters, I get ABGC^H^H^H^H^H^H, for every time I hit backspace. Scenario: I'm trying to get files in ftp, and I mess up the command. Rather, I get "get On ^H", instead of deleting the space.... What's going on? Backspace works in bash, just not in these programs.... ??? Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted January 27, 2004 Report Share Posted January 27, 2004 You can try here.. http://www.linuxvoodoo.com/resources/howto...ete/system.html This problem has been around forever for various reasons.. Do some googling on mandrake linux backspace term Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 27, 2004 Report Share Posted January 27, 2004 Try stty erase <ctrl>+ <bkspc> This should set it correctly. If that works then you can put it into your .bashrc so its run for every session. Quote Link to comment Share on other sites More sharing options...
Andrewski Posted January 28, 2004 Author Report Share Posted January 28, 2004 OK, cannonfodder, that article made little sense to me. Gowator, I'm confused about what it is you're suggesting I type. Not exactly as you have it there.... stty erase ctrl+ bkspc? stty erase bkspc? I wasn't able to glean much from the man page, either. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 28, 2004 Report Share Posted January 28, 2004 i could be wrong, but I think it should be stty erase ^H Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 28, 2004 Report Share Posted January 28, 2004 Which ever its the conventions are possibly confusing you ^ = CTRL Therefore try stty erase ^H (as steve suggests) or stty erase ^<THE BACKSPACE KEY> i.e you hold down control and H or control and bkspc at the same time. Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted January 28, 2004 Report Share Posted January 28, 2004 weird that i just type those things in my .bashrc as they are and they take effect as expected. :roll: well i only did this in mdk8.0 and i cant remember doing it for the subsequent releases. but then again, i just copy over my /home files, hidden files included, whenever i erase the partitions. :D ciao! Quote Link to comment Share on other sites More sharing options...
Andrewski Posted January 28, 2004 Author Report Share Posted January 28, 2004 OK, yeah, I get that. And it works in the CLI. Problem is, it doesn't work when I run programs. (Wait, wasn't that the original problem?) I can hit the backspace key--or even Ctrl+H just fine--but if I try either from, say, ftp, I just get a string of ^H's. Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted January 28, 2004 Report Share Posted January 28, 2004 OK, yeah, I get that. And it works in the CLI. Problem is, it doesn't work when I run programs. (Wait, wasn't that the original problem?) I can hit the backspace key--or even Ctrl+H just fine--but if I try either from, say, ftp, I just get a string of ^H's. most programs respect the terminal settings but there are some that dont. ciao! Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted January 28, 2004 Report Share Posted January 28, 2004 Might not be something you can fix (per some of the google articles) Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 28, 2004 Report Share Posted January 28, 2004 ftp: Well that depends what/where your ftp'd into...... Quote Link to comment Share on other sites More sharing options...
Andrewski Posted January 29, 2004 Author Report Share Posted January 29, 2004 No, even if I just open the program and don't connect yet... Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 29, 2004 Report Share Posted January 29, 2004 Did you set the stty erase (which ever works from the CLI) in your .bashrc The lcient probably reads your profile from it when you connect.... or perhaps you can set an envvar it will read. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.