Modify

Opened 6 years ago

Closed 2 years ago

#10658 closed defect (invalid)

VI doesn't allow backspace over newlines

Reported by: steve1515 Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: vi backapce busybox Cc:

Description

When editing any text file, such as /etc/config/network, with vi (that is busybox's vi) you can not backspace a new line. This makes it impossible to delete a line of text. Backspacing regular characters works fine though.

Attachments (0)

Change History (6)

comment:1 Changed 6 years ago by duvi

Press 'esc' then 'dd' to delete the actual line.

comment:2 Changed 6 years ago by Nilfred <nilfred@…>

Learn "uci" to edit /etc/config/network, not vi.

uci show network
uci add network alias
uci set network.@alias[-1].interface=wan
uci set network.@alias[-1].layer=1
uci set network.@alias[-1].proto=static
uci set network.@alias[-1].ipaddr=192.168.0.130
uci set network.@alias[-1].netmask=255.255.255.0
uci delete network.eth1
uci commit network
/etc/init.d/network restart

comment:3 Changed 5 years ago by florian

  • Resolution set to worksforme
  • Status changed from new to closed

comment:4 Changed 5 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

comment:5 Changed 2 years ago by anonymous

Here is where you need one of the tags "RTFM" or "lusererror". Then we have some twirp who removed the closed status. Ugh.

comment:6 Changed 2 years ago by jow

  • Resolution set to invalid
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.